blob: aaa6aa3d78a882b23dcde6833578db3094cdf58d [file] [log] [blame]
Bruce Griffith5888d862014-08-15 12:15:33 -06001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2012 Advanced Micro Devices, Inc.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
Bruce Griffith5888d862014-08-15 12:15:33 -060014 */
15
Kyösti Mälkkie4c17ce2014-10-21 18:22:32 +030016#ifndef _DIMMSPD_H_
17#define _DIMMSPD_H_
Bruce Griffith5888d862014-08-15 12:15:33 -060018
Kyösti Mälkkie4c17ce2014-10-21 18:22:32 +030019AGESA_STATUS
Stefan Reinauer8d29dd12017-06-26 14:30:39 -070020AmdMemoryReadSPD (IN UINT32 Func, IN UINTN Data, IN OUT AGESA_READ_SPD_PARAMS *SpdData);
Kyösti Mälkkie4c17ce2014-10-21 18:22:32 +030021
22int hudson_readSpd(int spdAddress, char *buf, size_t len);
23
24int smbus_readSpd(int spdAddress, char *buf, size_t len);
25
26#endif