]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
armv8: fsl-layerscape: Erratum A010315 needs PCIE support
authorAlban Bedel <alban.bedel@aerq.com>
Mon, 6 Sep 2021 14:32:56 +0000 (16:32 +0200)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 9 Nov 2021 09:13:24 +0000 (14:43 +0530)
Disabling PCIE support currently lead to a crash because the code for
erratum A010315 is still run. Add a conditional to only select
CONFIG_SYS_FSL_ERRATUM_A010315 when CONFIG_PCIE_LAYERSCAPE is enabled.

Signed-off-by: Alban Bedel <alban.bedel@aerq.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/Kconfig

index 1e166c73e40a02b216fbb65ac4114cf1f40f4ee0..c0223d2dbc1da5f6ef7dbf0a709a17e54ae0701a 100644 (file)
@@ -10,7 +10,7 @@ config ARCH_LS1012A
        select SYS_HAS_SERDES
        select SYS_FSL_DDR_BE
        select SYS_FSL_MMDC
-       select SYS_FSL_ERRATUM_A010315
+       select SYS_FSL_ERRATUM_A010315 if PCIE_LAYERSCAPE
        select SYS_FSL_ERRATUM_A009798
        select SYS_FSL_ERRATUM_A008997
        select SYS_FSL_ERRATUM_A009007
@@ -77,7 +77,7 @@ config ARCH_LS1043A
        select SYS_FSL_ERRATUM_A009663 if !TFABOOT
        select SYS_FSL_ERRATUM_A009798
        select SYS_FSL_ERRATUM_A009942 if !TFABOOT
-       select SYS_FSL_ERRATUM_A010315
+       select SYS_FSL_ERRATUM_A010315 if PCIE_LAYERSCAPE
        select SYS_FSL_ERRATUM_A010539
        select SYS_FSL_HAS_DDR3
        select SYS_FSL_HAS_DDR4