All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2] ARMv7: LS102xA: Move two macros from header files to Kconfig
@ 2016-09-21 10:31 macro.wave.z at gmail.com
  2016-10-08 17:18 ` york sun
  0 siblings, 1 reply; 2+ messages in thread
From: macro.wave.z at gmail.com @ 2016-09-21 10:31 UTC (permalink / raw)
  To: u-boot

From: Hongbo Zhang <hongbo.zhang@nxp.com>

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>
---
 arch/arm/Kconfig             | 4 ++++
 include/configs/ls1021aqds.h | 2 --
 include/configs/ls1021atwr.h | 2 --
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 1560bcc..7fcb1cb 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -818,12 +818,16 @@ config TARGET_LS1021AQDS
 	select CPU_V7
 	select SUPPORT_SPL
 	select ARCH_SUPPORT_PSCI
+	select CPU_V7_HAS_NONSEC
+	select CPU_V7_HAS_VIRT
 
 config TARGET_LS1021ATWR
 	bool "Support ls1021atwr"
 	select CPU_V7
 	select SUPPORT_SPL
 	select ARCH_SUPPORT_PSCI
+	select CPU_V7_HAS_NONSEC
+	select CPU_V7_HAS_VIRT
 
 config TARGET_LS1043AQDS
 	bool "Support ls1043aqds"
diff --git a/include/configs/ls1021aqds.h b/include/configs/ls1021aqds.h
index 5aaecc7..7b608c1 100644
--- a/include/configs/ls1021aqds.h
+++ b/include/configs/ls1021aqds.h
@@ -563,8 +563,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
diff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h
index ef238a4..d946224 100644
--- a/include/configs/ls1021atwr.h
+++ b/include/configs/ls1021atwr.h
@@ -425,8 +425,6 @@
 #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
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH v2] ARMv7: LS102xA: Move two macros from header files to Kconfig
  2016-09-21 10:31 [U-Boot] [PATCH v2] ARMv7: LS102xA: Move two macros from header files to Kconfig macro.wave.z at gmail.com
@ 2016-10-08 17:18 ` york sun
  0 siblings, 0 replies; 2+ messages in thread
From: york sun @ 2016-10-08 17:18 UTC (permalink / raw)
  To: u-boot

On 09/21/2016 03:31 AM, macro.wave.z at gmail.com wrote:
> From: Hongbo Zhang <hongbo.zhang@nxp.com>
>
> 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>
> ---


Applied to fsl-qoriq master, awaiting upstream. Thanks.

York

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-10-08 17:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-21 10:31 [U-Boot] [PATCH v2] ARMv7: LS102xA: Move two macros from header files to Kconfig macro.wave.z at gmail.com
2016-10-08 17:18 ` york sun

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.