diff mbox series

[04/30] Convert CONFIG_ARMV7_PSCI et al to Kconfig

Message ID 20200610201634.8457-5-trini@konsulko.com
State Superseded
Headers show
Series Finish some Kconfig migrations | expand

Commit Message

Tom Rini June 10, 2020, 8:16 p.m. UTC
This converts the following to Kconfig:
   CONFIG_ARMV7_PSCI
   CONFIG_ARMV7_PSCI_NR_CPUS

Cc: Tom Warren <twarren at nvidia.com>
Cc: Peter.Chubb at data61.csiro.au
Signed-off-by: Tom Rini <trini at konsulko.com>
---
 arch/arm/mach-tegra/tegra124/Kconfig | 1 +
 include/configs/cei-tk1-som.h        | 2 --
 2 files changed, 1 insertion(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/arch/arm/mach-tegra/tegra124/Kconfig b/arch/arm/mach-tegra/tegra124/Kconfig
index 6fa31ea0a16c..fb016aa46c90 100644
--- a/arch/arm/mach-tegra/tegra124/Kconfig
+++ b/arch/arm/mach-tegra/tegra124/Kconfig
@@ -19,6 +19,7 @@  config TARGET_JETSON_TK1
 
 config TARGET_CEI_TK1_SOM
 	bool "Colorado Engineering Inc Tegra124 TK1-som board"
+	select ARCH_SUPPORT_PSCI
 	select BOARD_LATE_INIT
 	select CPU_V7_HAS_NONSEC if !SPL_BUILD
 	select CPU_V7_HAS_VIRT if !SPL_BUILD
diff --git a/include/configs/cei-tk1-som.h b/include/configs/cei-tk1-som.h
index dbebef34e386..2541f2fc27c2 100644
--- a/include/configs/cei-tk1-som.h
+++ b/include/configs/cei-tk1-som.h
@@ -32,8 +32,6 @@ 
 #include "tegra-common-usb-gadget.h"
 #include "tegra-common-post.h"
 
-#define CONFIG_ARMV7_PSCI			1
-#define CONFIG_ARMV7_PSCI_NR_CPUS		4
 /* Reserve top 1M for secure RAM */
 #define CONFIG_ARMV7_SECURE_BASE		0xfff00000
 #define CONFIG_ARMV7_SECURE_RESERVE_SIZE	0x00100000