Angel Pons | 4b42983 | 2020-04-02 23:48:50 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Bruce Griffith | 5888d86 | 2014-08-15 12:15:33 -0600 | [diff] [blame] | 2 | |
Kyösti Mälkki | e4c17ce | 2014-10-21 18:22:32 +0300 | [diff] [blame] | 3 | #ifndef _DIMMSPD_H_ |
| 4 | #define _DIMMSPD_H_ |
Bruce Griffith | 5888d86 | 2014-08-15 12:15:33 -0600 | [diff] [blame] | 5 | |
Kyösti Mälkki | e4c17ce | 2014-10-21 18:22:32 +0300 | [diff] [blame] | 6 | AGESA_STATUS |
Elyes Haouas | f9b535e | 2022-07-16 09:47:42 +0200 | [diff] [blame] | 7 | 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] | 8 | |
| 9 | int hudson_readSpd(int spdAddress, char *buf, size_t len); |
| 10 | |
| 11 | int smbus_readSpd(int spdAddress, char *buf, size_t len); |
| 12 | |
| 13 | #endif |