coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
sdram_configs.c File Reference
Include dependency graph for sdram_configs.c:

Go to the source code of this file.

Functions

 _Static_assert (ARRAY_SIZE(sdram_configs)==24, "Must have 24 sdram_configs!")
 
const struct rk3288_sdram_paramsget_sdram_config ()
 

Variables

static struct rk3288_sdram_params sdram_configs []
 

Function Documentation

◆ _Static_assert()

_Static_assert ( ARRAY_SIZE(sdram_configs = =24,
"Must have 24 sdram_configs!"   
)

◆ get_sdram_config()

const struct rk3288_sdram_params* get_sdram_config ( void  )

Definition at line 37 of file sdram_configs.c.

References ARRAY_SIZE, die(), rk3288_sdram_params::dramtype, ram_code(), sdram_configs, and UNUSED.

Here is the call graph for this function:

Variable Documentation

◆ sdram_configs

struct rk3288_sdram_params sdram_configs[]
static
Initial value:
= {
}

Definition at line 1 of file sdram_configs.c.

Referenced by get_sdram_config().