coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
raminit_native.h File Reference
#include "sandybridge.h"
#include <device/dram/ddr3.h>
#include <stdbool.h>
#include <stdint.h>
Include dependency graph for raminit_native.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void read_spd (spd_raw_data *spd, u8 addr, bool id_only)
 
void mainboard_get_spd (spd_raw_data *spd, bool id_only)
 

Function Documentation

◆ mainboard_get_spd()

void mainboard_get_spd ( spd_raw_data spd,
bool  id_only 
)

Definition at line 25 of file early_init.c.

References ARRAY_SIZE, BIOS_INFO, cbfs_map(), die(), get_gpios(), get_spd_data(), locate_spd(), mainboard_spd_names, memcpy(), memory, printk, read_spd(), spd_index, and SPD_LEN.

Referenced by init_dram_ddr3().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ read_spd()

void read_spd ( spd_raw_data spd,
u8  addr,
bool  id_only 
)

Definition at line 138 of file raminit.c.

References addr, and smbus_read_byte().

Referenced by mainboard_get_spd().

Here is the call graph for this function:
Here is the caller graph for this function: