![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <soc/sdram_param.h>
Go to the source code of this file.
Functions | |
uint32_t | sdram_get_ram_code (void) |
void | sdram_init (const struct sdram_params *param) |
int | sdram_size_mb (void) |
uintptr_t | sdram_max_addressable_mb (void) |
void | sdram_lp0_save_params (const struct sdram_params *sdram) |
Definition at line 601 of file sdram.c.
References pmc, PMC_STRAPPING_OPT_A_RAM_CODE_MASK, PMC_STRAPPING_OPT_A_RAM_CODE_SHIFT, read32(), tegra_pmc_regs::strapping_opt_a, and TEGRA_PMC_BASE.
Referenced by get_sdram_config(), ram_code(), and romstage().
void sdram_init | ( | const struct sdram_params * | param | ) |
Definition at line 552 of file sdram.c.
References BIOS_DEBUG, clock_get_pll_input_khz(), die(), sdram_params::EmcBctSpare0, sdram_params::EmcBctSpare1, sdram_params::EmcBctSpare10, sdram_params::EmcBctSpare11, sdram_params::EmcBctSpare2, sdram_params::EmcBctSpare3, sdram_params::EmcBctSpare4, sdram_params::EmcBctSpare5, sdram_params::EmcBctSpare6, sdram_params::EmcBctSpare7, sdram_params::EmcBctSpare8, sdram_params::EmcBctSpare9, sdram_params::MemoryType, NvBootMemoryType_Ddr3, sdram_params::PllMFeedbackDivider, sdram_params::PllMInputDivider, sdram_params::PllMSelectDiv2, pmc, printk, sdram_configure_pmc(), sdram_deassert_clock_enable_signal(), sdram_deassert_sel_dpd(), sdram_enable_arbiter(), sdram_init_emc(), sdram_init_mc(), sdram_init_zq_calibration(), sdram_lock_carveouts(), sdram_lp0_save_params(), sdram_patch(), sdram_patch_bootrom(), sdram_set_clock_enable_signal(), sdram_set_dli_trims(), sdram_set_dpd3(), sdram_set_emc_timing(), sdram_set_pad_controls(), sdram_set_refresh(), sdram_set_swizzle(), sdram_set_zq_calibration(), sdram_start_clocks(), sdram_trigger_emc_timing_update(), TEGRA_EMC_BASE, TEGRA_MC_BASE, and TEGRA_PMC_BASE.
void sdram_lp0_save_params | ( | const struct sdram_params * | sdram | ) |
Definition at line 24 of file sdram_lp0.c.
References BIOS_CRIT, c, clk_rst, dmb, m, sdram_params::MemoryType, NvBootMemoryType_Ddr3, NvBootMemoryType_LpDdr2, clk_rst_ctlr::pllm_base, clk_rst_ctlr::pllm_misc1, clk_rst_ctlr::pllm_misc2, pmc, printk, s, TEGRA_CLK_RST_BASE, and TEGRA_PMC_BASE.
Referenced by sdram_init().
Definition at line 630 of file sdram.c.
References _dram, MiB, MIN, and sdram_size_mb().
Referenced by cbmem_top_chipset(), fb_base_mb(), romstage(), and soc_read_resources().