![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <amdblocks/acpimmio.h>
#include <console/console.h>
#include <device/pci_def.h>
#include <device/device.h>
#include <Porting.h>
#include <AGESA.h>
#include <amdlib.h>
#include <northbridge/amd/pi/dimmSpd.h>
Go to the source code of this file.
Functions | |
static int | readSmbusByteData (int iobase, int address, char *buffer, int offset) |
static int | readSmbusByte (int iobase, int address, char *buffer) |
static int | readspd (int iobase, int SmbusSlaveAddress, char *buffer, int count) |
static void | setupFch (int ioBase) |
int | hudson_readSpd (int spdAddress, char *buf, size_t len) |
int hudson_readSpd | ( | int | spdAddress, |
char * | buf, | ||
size_t | len | ||
) |
Definition at line 124 of file smbus_spd.c.
References buf, readspd(), and setupFch().
Referenced by AmdMemoryReadSPD().
|
static |
Definition at line 54 of file smbus_spd.c.
References buffer.
Referenced by readspd().
|
static |
|
static |
Definition at line 87 of file smbus_spd.c.
References BIOS_ERR, BIOS_SPEW, buffer, count, printk, readSmbusByte(), and readSmbusByteData().
Referenced by hudson_readSpd().
|
static |
Definition at line 118 of file smbus_spd.c.
References pm_write16().
Referenced by hudson_readSpd().