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