]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARMv7: LS102xA: Move two macros from header files to Kconfig
authorHongbo Zhang <hongbo.zhang@nxp.com>
Wed, 21 Sep 2016 10:31:04 +0000 (18:31 +0800)
committerYork Sun <york.sun@nxp.com>
Thu, 6 Oct 2016 16:56:59 +0000 (09:56 -0700)
Following commits 217f92b and 1544698, these two config
CPU_V7_HAS_NONSEC and CPU_V7_HAS_VIRT are moved to Kconfig,
for correctly select ARMV7_PSCI.

Signed-off-by: Hongbo Zhang <hongbo.zhang@nxp.com>
[York Sun: Reformatted commit message]
Reviewed-by: York Sun <york.sun@nxp.com>
arch/arm/Kconfig
include/configs/ls1021aqds.h
include/configs/ls1021atwr.h

index f55d5b2cd743841ec7d291b29880d4c6c63c10fa..ddc7d7b0330cdf91be59940ff84df2d16bf6fe0e 100644 (file)
@@ -736,6 +736,8 @@ config TARGET_LS1012AFRDM
 config TARGET_LS1021AQDS
        bool "Support ls1021aqds"
        select CPU_V7
+       select CPU_V7_HAS_NONSEC
+       select CPU_V7_HAS_VIRT
        select SUPPORT_SPL
        select ARCH_LS1021A
        select ARCH_SUPPORT_PSCI
@@ -744,6 +746,8 @@ config TARGET_LS1021AQDS
 config TARGET_LS1021ATWR
        bool "Support ls1021atwr"
        select CPU_V7
+       select CPU_V7_HAS_NONSEC
+       select CPU_V7_HAS_VIRT
        select SUPPORT_SPL
        select ARCH_LS1021A
        select ARCH_SUPPORT_PSCI
index 58d927cc1c4951df15a8d31c2f9a61bc09c19eb9..7cf8253e06ffff8e6c95dbb91b515b895524e456 100644 (file)
@@ -543,8 +543,6 @@ unsigned long get_board_ddr_clk(void);
 #define CONFIG_CMDLINE_TAG
 #define CONFIG_CMDLINE_EDITING
 
-#define CONFIG_ARMV7_NONSEC
-#define CONFIG_ARMV7_VIRT
 #define CONFIG_PEN_ADDR_BIG_ENDIAN
 #define CONFIG_LAYERSCAPE_NS_ACCESS
 #define CONFIG_SMP_PEN_ADDR            0x01ee0200
index c6294e0e7a749b8bdce8b1f8c9616e5d9ec2f66f..023143c92122526cfeb6b1c0e9aa4ab409c4ba3f 100644 (file)
 #define CONFIG_CMDLINE_TAG
 #define CONFIG_CMDLINE_EDITING
 
-#define CONFIG_ARMV7_NONSEC
-#define CONFIG_ARMV7_VIRT
 #define CONFIG_PEN_ADDR_BIG_ENDIAN
 #define CONFIG_LAYERSCAPE_NS_ACCESS
 #define CONFIG_SMP_PEN_ADDR            0x01ee0200