Bruce Griffith | 5888d86 | 2014-08-15 12:15:33 -0600 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
Bruce Griffith | 5888d86 | 2014-08-15 12:15:33 -0600 | [diff] [blame] | 4 | * |
| 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 Griffith | 5888d86 | 2014-08-15 12:15:33 -0600 | [diff] [blame] | 13 | */ |
| 14 | |
Kyösti Mälkki | e4c17ce | 2014-10-21 18:22:32 +0300 | [diff] [blame] | 15 | #ifndef _DIMMSPD_H_ |
| 16 | #define _DIMMSPD_H_ |
Bruce Griffith | 5888d86 | 2014-08-15 12:15:33 -0600 | [diff] [blame] | 17 | |
Kyösti Mälkki | e4c17ce | 2014-10-21 18:22:32 +0300 | [diff] [blame] | 18 | AGESA_STATUS |
Stefan Reinauer | 8d29dd1 | 2017-06-26 14:30:39 -0700 | [diff] [blame] | 19 | AmdMemoryReadSPD (IN UINT32 Func, IN UINTN Data, IN OUT AGESA_READ_SPD_PARAMS *SpdData); |
Kyösti Mälkki | e4c17ce | 2014-10-21 18:22:32 +0300 | [diff] [blame] | 20 | |
| 21 | int hudson_readSpd(int spdAddress, char *buf, size_t len); |
| 22 | |
| 23 | int smbus_readSpd(int spdAddress, char *buf, size_t len); |
| 24 | |
| 25 | #endif |