![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
Go to the source code of this file.
Data Structures | |
struct | mt8173_calib_params |
struct | mt8173_timing_params |
struct | mt8173_emi_params |
struct | mt8173_mrs_params |
struct | mt8173_sdram_params |
Enumerations | |
enum | ram_type { TYPE_INVALID , TYPE_DDR1 , TYPE_LPDDR2 , TYPE_LPDDR3 , TYPE_PCDDR3 } |
enum | { Vmem_HV_LPDDR3 = 0x50 , Vmem_NV_LPDDR3 = 0x44 , Vmem_LV_LPDDR3 = 0x36 } |
enum | { Vcore_HHV_LPPDR3 = 0x60 , Vcore_HV_LPPDR3 = 0x48 , Vcore_NV_LPPDR3 = 0x44 , Vcore_LV_LPPDR3 = 0x34 , Vcore_LLV_LPPDR3 = 0x25 } |
enum | { CONA_DUAL_CH_EN = BIT(0) , CONA_32BIT_EN = BIT(1) , CONA_DUAL_RANK_EN = BIT(17) , COL_ADDR_BITS_SHIFT = 4 , COL_ADDR_BITS_MASK = 3 << COL_ADDR_BITS_SHIFT , ROW_ADDR_BITS_SHIFT = 12 , ROW_ADDR_BITS_MASK = 3 << ROW_ADDR_BITS_SHIFT } |
Functions | |
int | complex_mem_test (u8 *start, unsigned int len) |
void | mt_set_emi (const struct mt8173_sdram_params *sdram_params) |
void | mt_mem_init (const struct mt8173_sdram_params *sdram_params) |
const struct mt8173_sdram_params * | get_sdram_config (void) |
size_t | sdram_size (void) |
anonymous enum |
anonymous enum |
anonymous enum |
enum ram_type |
Definition at line 25 of file memory_test.c.
const struct mt8173_sdram_params* get_sdram_config | ( | void | ) |
Definition at line 85 of file sdram_configs.c.
void mt_mem_init | ( | const struct mt8173_sdram_params * | sdram_params | ) |
Definition at line 12 of file memory.c.
References _dram, ASSERT, BIOS_DEBUG, complex_mem_test(), CONFIG, mem_pll_init(), mt_set_emi(), and printk.
void mt_set_emi | ( | const struct mt8173_sdram_params * | sdram_params | ) |
Definition at line 164 of file emi.c.
References die(), do_calib(), dram_vcore_adjust(), dram_vmem_adjust(), init_4GB_mode(), init_dram(), and TYPE_LPDDR3.