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

Go to the source code of this file.

Macros

#define SPD_LEN   512
 
#define SPD_DRAM_TYPE   2
 
#define SPD_DRAM_DDR3   0x0b
 
#define SPD_DRAM_LPDDR3   0xf1
 
#define SPD_DENSITY_BANKS   4
 
#define SPD_ADDRESSING   5
 
#define SPD_ORGANIZATION   7
 
#define SPD_BUS_DEV_WIDTH   8
 
#define SPD_PART_OFF   128
 
#define SPD_PART_LEN   18
 

Functions

uint8_tmainboard_find_spd_data (void)
 

Macro Definition Documentation

◆ SPD_ADDRESSING

#define SPD_ADDRESSING   5

Definition at line 14 of file spd.h.

◆ SPD_BUS_DEV_WIDTH

#define SPD_BUS_DEV_WIDTH   8

Definition at line 16 of file spd.h.

◆ SPD_DENSITY_BANKS

#define SPD_DENSITY_BANKS   4

Definition at line 13 of file spd.h.

◆ SPD_DRAM_DDR3

#define SPD_DRAM_DDR3   0x0b

Definition at line 11 of file spd.h.

◆ SPD_DRAM_LPDDR3

#define SPD_DRAM_LPDDR3   0xf1

Definition at line 12 of file spd.h.

◆ SPD_DRAM_TYPE

#define SPD_DRAM_TYPE   2

Definition at line 10 of file spd.h.

◆ SPD_LEN

#define SPD_LEN   512

Definition at line 8 of file spd.h.

◆ SPD_ORGANIZATION

#define SPD_ORGANIZATION   7

Definition at line 15 of file spd.h.

◆ SPD_PART_LEN

#define SPD_PART_LEN   18

Definition at line 18 of file spd.h.

◆ SPD_PART_OFF

#define SPD_PART_OFF   128

Definition at line 17 of file spd.h.

Function Documentation

◆ mainboard_find_spd_data()

uint8_t* mainboard_find_spd_data ( void  )

Definition at line 9 of file spd.c.

References BIOS_ERR, cbfs_map(), die(), printk, spd_data, spd_index, and SPD_LEN.

Referenced by mainboard_memory_init_params().

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