[PATCH 04/30] Convert CONFIG_ARMV7_PSCI et al to Kconfig

Tom Rini trini at konsulko.com
Wed Jun 10 22:16:08 CEST 2020


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 --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
-- 
2.17.1



More information about the U-Boot mailing list