coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
dimmSpd.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef _DIMMSPD_H_
4 #define _DIMMSPD_H_
5 
7 AmdMemoryReadSPD (IN UINT32 Func, IN UINTN Data, IN OUT AGESA_READ_SPD_PARAMS *SpdData);
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
unsigned int AGESA_STATUS
Definition: Amd.h:36
#define IN
Definition: Amd.h:24
#define OUT
Definition: Amd.h:25
int hudson_readSpd(int spdAddress, char *buf, size_t len)
Definition: smbus_spd.c:124
int smbus_readSpd(int spdAddress, char *buf, size_t len)
Definition: smbus_spd.c:101
AGESA_STATUS AmdMemoryReadSPD(IN UINT32 Func, IN UINTN Data, IN OUT AGESA_READ_SPD_PARAMS *SpdData)
static uint8_t * buf
Definition: uart.c:7