diff options
author | York Sun <york.sun@nxp.com> | 2018-06-08 16:37:27 -0700 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2018-07-26 10:59:35 -0700 |
commit | 80bec96ecf3b99fa96c7e658af208eeaf3fe593f (patch) | |
tree | d122de88180fd119e77e9750fb6697afa2b4cb06 /include | |
parent | 1dc4dea75d3f53fb346f639ce2f2cf300a3ac3b5 (diff) | |
download | u-boot-80bec96ecf3b99fa96c7e658af208eeaf3fe593f.tar.gz |
armv8: ls1046ardb: Enable IFC for SPL build
Commit a52ff334c5b1 ("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>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/ls1046a_common.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/configs/ls1046a_common.h b/include/configs/ls1046a_common.h index 9d4422ad79..3abcd7bcf4 100644 --- a/include/configs/ls1046a_common.h +++ b/include/configs/ls1046a_common.h @@ -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 |