coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
sdram.h File Reference
#include <types.h>
Include dependency graph for sdram.h:

Go to the source code of this file.

Data Structures

struct  rk3288_sdram_channel
 
struct  rk3288_sdram_pctl_timing
 
struct  rk3288_sdram_phy_timing
 
struct  rk3288_sdram_params
 

Enumerations

enum  { DDR3 = 3 , LPDDR3 = 6 , UNUSED = 0xFF }
 

Functions

 check_member (rk3288_sdram_pctl_timing, tdpd, 0x144 - 0xc0)
 
void sdram_init (const struct rk3288_sdram_params *sdram_params)
 
u32 sdram_get_ram_code (void)
 
size_t sdram_size_mb (void)
 
const struct rk3288_sdram_paramsget_sdram_config (void)
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
DDR3 
LPDDR3 
UNUSED 

Definition at line 8 of file sdram.h.

Function Documentation

◆ check_member()

check_member ( rk3288_sdram_pctl_timing  ,
tdpd  ,
0x144 -  0xc0 
)

◆ get_sdram_config()

const struct rk3288_sdram_params* get_sdram_config ( void  )

Definition at line 85 of file sdram_configs.c.

◆ sdram_get_ram_code()

u32 sdram_get_ram_code ( void  )

Definition at line 601 of file sdram.c.

◆ sdram_init()

◆ sdram_size_mb()

size_t sdram_size_mb ( void  )

Definition at line 24 of file sdram.c.