Lines Matching +full:sram +full:- +full:section
1 // SPDX-License-Identifier: GPL-2.0+
33 writew(pad->val, base + pad->offset); in do_set_mux()
107 printf("%x-%s ES%x.%x", omap_variant, sec_s, major_rev, minor_rev); in omap_rev_string()
126 * do_board_detect() - Detect board description
136 * vcores_init() - Assign omap_vcores based on board
150 * init_package_revision() - Initialize package revision
160 * early_system_init - Does Early system initialization.
165 * 1. SPL running from SRAM
166 * 2. U-Boot running from FLASH
167 * 3. U-Boot loaded to SDRAM by SPL
168 * 4. U-Boot loaded to SDRAM by ROM code using the
172 * This function is called with SRAM stack.
234 /* For regular u-boot sdram_init() is called from dram_init() */ in board_init_f()
236 gd->ram_size = omap_sdram_size(); in board_init_f()
254 pending = readl(&wd_base->wwps); in wait_for_command_complete()
266 writel(WD_UNLOCK1, &wd2_base->wspr); in watchdog_init()
268 writel(WD_UNLOCK2, &wd2_base->wspr); in watchdog_init()
274 * based on DMM section configurations
280 u32 section, i, valid; in omap_sdram_size() local
285 section = __raw_readl(DMM_BASE + i*4); in omap_sdram_size()
286 valid = (section & EMIF_SDRC_ADDRSPC_MASK) >> in omap_sdram_size()
288 addr = section & EMIF_SYS_ADDR_MASK; in omap_sdram_size()
293 size = ((section & EMIF_SYS_SIZE_MASK) >> in omap_sdram_size()
311 total_size = (sdram_end - sdram_start) - (trap_size); in omap_sdram_size()
313 total_size = sdram_end - sdram_start; in omap_sdram_size()
326 gd->ram_size = omap_sdram_size(); in dram_init()