Home
last modified time | relevance | path

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

/external/u-boot/arch/arm/mach-tegra/
Dboard.c73 u32 emem_cfg; in query_sdram_size() local
76 emem_cfg = readl(&mc->mc_emem_cfg); in query_sdram_size()
78 debug("mc->mc_emem_cfg (MEM_SIZE_KB) = 0x%08x\n", emem_cfg); in query_sdram_size()
79 size_bytes = get_ram_size((void *)PHYS_SDRAM_1, emem_cfg * 1024); in query_sdram_size()
81 debug("mc->mc_emem_cfg (MEM_SIZE_MB) = 0x%08x\n", emem_cfg); in query_sdram_size()
88 if (emem_cfg >= 4096) { in query_sdram_size()
94 size_bytes = (phys_size_t)emem_cfg * 1024 * 1024; in query_sdram_size()
103 if (emem_cfg <= (0 - PHYS_SDRAM_1) / (1024 * 1024)) in query_sdram_size()