Home
last modified time | relevance | path

Searched refs:emem_cfg (Results 1 – 1 of 1) sorted by relevance

/u-boot/arch/arm/mach-tegra/
A Dboard.c102 u32 emem_cfg; in query_sdram_size() local
105 emem_cfg = readl(&mc->mc_emem_cfg); in query_sdram_size()
107 debug("mc->mc_emem_cfg (MEM_SIZE_KB) = 0x%08x\n", emem_cfg); in query_sdram_size()
108 size_bytes = get_ram_size((void *)PHYS_SDRAM_1, emem_cfg * 1024); in query_sdram_size()
110 debug("mc->mc_emem_cfg (MEM_SIZE_MB) = 0x%08x\n", emem_cfg); in query_sdram_size()
117 if (emem_cfg >= 4096) { in query_sdram_size()
123 size_bytes = (phys_size_t)emem_cfg * 1024 * 1024; in query_sdram_size()
132 if (emem_cfg <= (0 - PHYS_SDRAM_1) / (1024 * 1024)) in query_sdram_size()

Completed in 3 milliseconds