Lines Matching +full:sram +full:- +full:section
12 * SPDX-License-Identifier: GPL-2.0+
32 writew(pad->val, base + pad->offset); in do_set_mux()
92 printf("%x-%s ES%x.%x\n", omap_variant, sec_s, major_rev, minor_rev); in omap_rev_string()
107 * do_board_detect() - Detect board description
117 * vcores_init() - Assign omap_vcores based on board
131 * early_system_init - Does Early system initialization.
136 * 1. SPL running from SRAM
137 * 2. U-Boot running from FLASH
138 * 3. U-Boot loaded to SDRAM by SPL
139 * 4. U-Boot loaded to SDRAM by ROM code using the
143 * This function is called with SRAM stack.
185 /* For regular u-boot sdram_init() is called from dram_init() */ in board_init_f()
187 gd->ram_size = omap_sdram_size(); in board_init_f()
205 pending = readl(&wd_base->wwps); in wait_for_command_complete()
217 writel(WD_UNLOCK1, &wd2_base->wspr); in watchdog_init()
219 writel(WD_UNLOCK2, &wd2_base->wspr); in watchdog_init()
225 * based on DMM section configurations
231 u32 section, i, valid; in omap_sdram_size() local
236 section = __raw_readl(DMM_BASE + i*4); in omap_sdram_size()
237 valid = (section & EMIF_SDRC_ADDRSPC_MASK) >> in omap_sdram_size()
239 addr = section & EMIF_SYS_ADDR_MASK; in omap_sdram_size()
244 size = ((section & EMIF_SYS_SIZE_MASK) >> in omap_sdram_size()
262 total_size = (sdram_end - sdram_start) - (trap_size); in omap_sdram_size()
264 total_size = sdram_end - sdram_start; in omap_sdram_size()
277 gd->ram_size = omap_sdram_size(); in dram_init()