aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2020-05-10 01:20:11 +0200
committerPriyanka Jain <priyanka.jain@nxp.com>2020-07-27 14:16:26 +0530
commitf8c5815c1b5728b005c97145f5b39df1e59af53b (patch)
tree8a662bcb6d9d59f1a07fd1bfb0f1c9c8f1b6e15c
parente7005b3e80d396f45a3ba88448818eee5d592f27 (diff)
downloadu-boot-f8c5815c1b5728b005c97145f5b39df1e59af53b.zip
u-boot-f8c5815c1b5728b005c97145f5b39df1e59af53b.tar.gz
u-boot-f8c5815c1b5728b005c97145f5b39df1e59af53b.tar.bz2
armv8: ls1028a: move FSL_LAYERSCAPE to kconfig
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>
-rw-r--r--arch/arm/cpu/armv8/fsl-layerscape/Kconfig1
-rw-r--r--include/configs/ls1028a_common.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig b/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
index 2f75b2c..116b6b0 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
+++ b/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
@@ -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
diff --git a/include/configs/ls1028a_common.h b/include/configs/ls1028a_common.h
index d184673..fe4a87b 100644
--- a/include/configs/ls1028a_common.h
+++ b/include/configs/ls1028a_common.h
@@ -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>