blob: 05b6ee3aa5950a5a8bcac45d6b2c37156e6c51e8 [file] [log] [blame]
Bruce Griffith27ed80b2014-08-15 11:46:25 -06001/*
2 * This file is part of the coreboot project.
3 *
Bruce Griffith27ed80b2014-08-15 11:46:25 -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 Griffith27ed80b2014-08-15 11:46:25 -060013 */
14
15#ifndef _DIMMSPD_H_
16#define _DIMMSPD_H_
17
18AGESA_STATUS
Stefan Reinauer8d29dd12017-06-26 14:30:39 -070019AmdMemoryReadSPD (IN UINT32 Func, IN UINTN Data, IN OUT AGESA_READ_SPD_PARAMS *SpdData);
Bruce Griffith27ed80b2014-08-15 11:46:25 -060020
Kyösti Mälkkic5cc9f22014-10-17 22:33:22 +030021int hudson_readSpd(int spdAddress, char *buf, size_t len);
22
23int smbus_readSpd(int spdAddress, char *buf, size_t len);
24
Bruce Griffith27ed80b2014-08-15 11:46:25 -060025#endif