]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
armv8: ls1028a: move FSL_LAYERSCAPE to kconfig
authorMichael Walle <michael@walle.cc>
Sat, 9 May 2020 23:20:11 +0000 (01:20 +0200)
committerPriyanka Jain <priyanka.jain@nxp.com>
Mon, 27 Jul 2020 08:46:26 +0000 (14:16 +0530)
CONFIG_FSL_LAYERSCAPE is available in kconfig. There is no need to
define it per board; the ls1028a_common.h is really board dependent and
only fits to the NXP eval boards. Instead select CONFIG_FSL_LAYERSCAPE
when ARCH_LS1028A is selected.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/Kconfig
include/configs/ls1028a_common.h

index 2f75b2cdd3253a78845e3737882b08a70b4e7638..116b6b0617b090efbfdb62e9c4e7116fc7b9e833 100644 (file)
@@ -23,6 +23,7 @@ config ARCH_LS1012A
 config ARCH_LS1028A
        bool
        select ARMV8_SET_SMPEN
+       select FSL_LAYERSCAPE
        select FSL_LSCH3
        select NXP_LSCH3_2
        select SYS_FSL_HAS_CCI400
index d184673a71b52dd59051eda48737e3a74d851a00..fe4a87b6972b20597a90e2785a18405e2c6e83ee 100644 (file)
@@ -7,7 +7,6 @@
 #define __L1028A_COMMON_H
 
 #define CONFIG_REMAKE_ELF
-#define CONFIG_FSL_LAYERSCAPE
 #define CONFIG_MP
 
 #include <asm/arch/stream_id_lsch3.h>