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

Go to the source code of this file.

Data Structures

struct  mem_controller
 

Macros

#define MAX_DIMM_SOCKETS_PER_CHANNEL   4
 
#define MAX_NUM_CHANNELS   2
 
#define MAX_DIMM_SOCKETS   (MAX_NUM_CHANNELS * MAX_DIMM_SOCKETS_PER_CHANNEL)
 

Functions

void sdram_initialize (void)
 

Macro Definition Documentation

◆ MAX_DIMM_SOCKETS

#define MAX_DIMM_SOCKETS   (MAX_NUM_CHANNELS * MAX_DIMM_SOCKETS_PER_CHANNEL)

Definition at line 10 of file raminit.h.

◆ MAX_DIMM_SOCKETS_PER_CHANNEL

#define MAX_DIMM_SOCKETS_PER_CHANNEL   4

Definition at line 8 of file raminit.h.

◆ MAX_NUM_CHANNELS

#define MAX_NUM_CHANNELS   2

Definition at line 9 of file raminit.h.

Function Documentation

◆ sdram_initialize()

void sdram_initialize ( void  )

Definition at line 1692 of file raminit.c.

References BIOS_DEBUG, mem_controller::d0, e7505_mch_is_ready(), PCI_DEV, printk, sdram_enable(), sdram_post_ecc(), sdram_set_registers(), sdram_set_spd_registers(), timestamp_add_now(), TS_INITRAM_END, and TS_INITRAM_START.

Referenced by mainboard_romstage_entry(), and perform_raminit().

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