armv8: ls1046ardb: Enable IFC for SPL build
Commit a52ff334c5
("armv8: ls1046ardb: SPL size reduction") reduced
image size for SPL. IFC was disabled. If PPA is loaded in SPL, MMU is
enabled as a result. Removing IFC skips IFC region in the MMU table,
causing later failure in RAM version U-boot when accessing CPLD
through IFC. Only disable IFC if PPA is not enabled for SPL.
Signed-off-by: York Sun <york.sun@nxp.com>
This commit is contained in:
parent
1dc4dea75d
commit
80bec96ecf
@ -19,7 +19,9 @@
|
||||
#if (defined(CONFIG_SPL_BUILD) && defined(CONFIG_NAND_BOOT))
|
||||
#define SPL_NO_MMC
|
||||
#endif
|
||||
#if (defined(CONFIG_SPL_BUILD) && defined(CONFIG_SD_BOOT))
|
||||
#if defined(CONFIG_SPL_BUILD) && \
|
||||
defined(CONFIG_SD_BOOT) && \
|
||||
!defined(CONFIG_SPL_FSL_LS_PPA)
|
||||
#define SPL_NO_IFC
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user