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 <OEM.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 18 of file dimmSpd.c.

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

Here is the call graph for this function: