]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: layerscape: Don't select FSL_IFC when booting from SD card
authorSean Anderson <sean.anderson@seco.com>
Mon, 17 Oct 2022 15:45:10 +0000 (11:45 -0400)
committerPeng Fan <peng.fan@nxp.com>
Tue, 18 Oct 2022 01:32:51 +0000 (09:32 +0800)
FSL_IFC should only be selected when booting from NAND flash (or when
NAND_FSL_IFC is enabled). The existing logic does this correctly when
QSPI is also enabled, but not when just booting from SD.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/Kconfig

index 8a7bbb4a655944d4bba6302a0ba69a3fd2e9ea50..ebca11d17419106d64b79ce02ee1d810b3308cc6 100644 (file)
@@ -63,7 +63,7 @@ config ARCH_LS1043A
        bool
        select ARMV8_SET_SMPEN
        select ARM_ERRATA_855873 if !TFABOOT
-       select FSL_IFC if TFABOOT || (!QSPI_BOOT && !SD_BOOT_QSPI)
+       select FSL_IFC if TFABOOT || (!QSPI_BOOT && !SD_BOOT_QSPI && !SD_BOOT)
        select FSL_LAYERSCAPE
        select FSL_LSCH2
        select GICV2
@@ -100,7 +100,7 @@ config ARCH_LS1043A
 config ARCH_LS1046A
        bool
        select ARMV8_SET_SMPEN
-       select FSL_IFC if TFABOOT || (!QSPI_BOOT && !SD_BOOT_QSPI)
+       select FSL_IFC if TFABOOT || (!QSPI_BOOT && !SD_BOOT_QSPI && !SD_BOOT)
        select FSL_LAYERSCAPE
        select FSL_LSCH2
        select GICV2