]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: ls102xa: select USB PHY erratum's only if USB is enabled
authorAleksandar Gerasimovski <aleksandar.gerasimovski@hitachi-powergrids.com>
Thu, 26 Nov 2020 10:52:41 +0000 (10:52 +0000)
committerPriyanka Jain <priyanka.jain@nxp.com>
Thu, 10 Dec 2020 08:26:39 +0000 (13:56 +0530)
The USB support is not by default enabled on all designs, so it does not
make seance to have USB specific erratum's enabled on such a designs.

On our internal Hitachi-Powergrids design not using the USB controller
there is a crash when accessing those specific memory locations selected
by the erratum flags.

Signed-off-by: Aleksandar Gerasimovski <aleksandar.gerasimovski@hitachi-powergrids.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/arm/cpu/armv7/ls102xa/Kconfig

index 937989b278686235ce1c39a93c75d56b02f75384..747059b56a52965ccd2d49e7e22ee5ad43f9cb1b 100644 (file)
@@ -5,11 +5,11 @@ config ARCH_LS1021A
        select SYS_FSL_ERRATUM_A008378
        select SYS_FSL_ERRATUM_A008407
        select SYS_FSL_ERRATUM_A008850
-       select SYS_FSL_ERRATUM_A008997
-       select SYS_FSL_ERRATUM_A009007
-       select SYS_FSL_ERRATUM_A009008
+       select SYS_FSL_ERRATUM_A008997 if USB
+       select SYS_FSL_ERRATUM_A009007 if USB
+       select SYS_FSL_ERRATUM_A009008 if USB
        select SYS_FSL_ERRATUM_A009663
-       select SYS_FSL_ERRATUM_A009798
+       select SYS_FSL_ERRATUM_A009798 if USB
        select SYS_FSL_ERRATUM_A009942
        select SYS_FSL_ERRATUM_A010315
        select SYS_FSL_HAS_CCI400