coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
dimmSpd.c File Reference
#include <device/pci_def.h>
#include <device/device.h>
#include <Porting.h>
#include <AGESA.h>
#include "chip.h"
#include <northbridge/amd/agesa/dimmSpd.h>
Include dependency graph for dimmSpd.c:

Go to the source code of this file.

Functions

AGESA_STATUS AmdMemoryReadSPD (UINT32 unused1, UINTN unused2, AGESA_READ_SPD_PARAMS *info)
 Gets the SMBus address for an SPD from the array in devicetree.cb then read the SPD into the supplied buffer. More...
 

Function Documentation

◆ AmdMemoryReadSPD()

AGESA_STATUS AmdMemoryReadSPD ( UINT32  unused1,
UINTN  unused2,
AGESA_READ_SPD_PARAMS *  info 
)

Gets the SMBus address for an SPD from the array in devicetree.cb then read the SPD into the supplied buffer.

Definition at line 17 of file dimmSpd.c.

References AGESA_ERROR, AGESA_SUCCESS, ARRAY_SIZE, device::chip_info, config, DEVTREE_CONST, hudson_readSpd(), info, NULL, and pcidev_on_root().

Here is the call graph for this function: