coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
sdram_configs.c File Reference
#include <boardid.h>
#include <console/console.h>
#include <gpio.h>
#include <soc/sdram.h>
#include <types.h>
#include "sdram_inf/sdram-lpddr3-K4E8E304EE-1GB.inc"
#include "sdram_inf/sdram-lpddr3-K4E6E304EB-2GB-1CH.inc"
#include "sdram_inf/sdram-unused.inc"
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().