mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
armv8/fsl-lsch3: Update early MMU table
During booting, IFC is mapped to low region. After booting up, IFC is remapped to high region for larger space. The environmental variables are also stored at high region. In order to read the variables during booting, a virtual mapping is required. Cache was enabled for entire IFC space before. Actually the first two entries are big enough (4MB) to cover the boot code and environmental variables. Remove extra entries. Move OCRAM entry out of ifdef. Signed-off-by: York Sun <yorksun@freescale.com>
This commit is contained in:
@@ -702,6 +702,12 @@ init_fnc_t init_sequence_r[] = {
|
||||
/* TODO: could x86/PPC have this also perhaps? */
|
||||
#ifdef CONFIG_ARM
|
||||
initr_caches,
|
||||
/* Note: For Freescale LS2 SoCs, new MMU table is created in DDR.
|
||||
* A temporary mapping of IFC high region is since removed,
|
||||
* so environmental variables in NOR flash is not availble
|
||||
* until board_init() is called below to remap IFC to high
|
||||
* region.
|
||||
*/
|
||||
#endif
|
||||
initr_reloc_global_data,
|
||||
#if defined(CONFIG_SYS_INIT_RAM_LOCK) && defined(CONFIG_E500)
|
||||
|
Reference in New Issue
Block a user