mirror of
https://xff.cz/git/u-boot/
synced 2025-08-31 16:22:36 +02:00
Convert CONFIG_ARMV7_PSCI_1_0 and CONFIG_ARMV7_PSCI_0_2 to Kconfig
This converts the following to Kconfig: CONFIG_ARMV7_PSCI_1_0 CONFIG_ARMV7_PSCI_0_2 Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
This commit is contained in:
committed by
Tom Rini
parent
ea5003ad66
commit
b4d14bc81a
@@ -41,6 +41,20 @@ config ARMV7_PSCI
|
|||||||
help
|
help
|
||||||
Say Y here to enable PSCI support.
|
Say Y here to enable PSCI support.
|
||||||
|
|
||||||
|
choice
|
||||||
|
prompt "Supported PSCI version"
|
||||||
|
depends on ARMV7_PSCI
|
||||||
|
default ARMV7_PSCI_1_0
|
||||||
|
help
|
||||||
|
Select the supported PSCI version.
|
||||||
|
|
||||||
|
config ARMV7_PSCI_1_0
|
||||||
|
bool "PSCI V1.0"
|
||||||
|
|
||||||
|
config ARMV7_PSCI_0_2
|
||||||
|
bool "PSCI V0.2"
|
||||||
|
endchoice
|
||||||
|
|
||||||
config ARMV7_PSCI_NR_CPUS
|
config ARMV7_PSCI_NR_CPUS
|
||||||
int "Maximum supported CPUs for PSCI"
|
int "Maximum supported CPUs for PSCI"
|
||||||
depends on ARMV7_NONSEC
|
depends on ARMV7_NONSEC
|
||||||
|
@@ -7,8 +7,6 @@
|
|||||||
#ifndef __CONFIG_H
|
#ifndef __CONFIG_H
|
||||||
#define __CONFIG_H
|
#define __CONFIG_H
|
||||||
|
|
||||||
#define CONFIG_ARMV7_PSCI_1_0
|
|
||||||
|
|
||||||
#define CONFIG_ARMV7_SECURE_BASE OCRAM_BASE_S_ADDR
|
#define CONFIG_ARMV7_SECURE_BASE OCRAM_BASE_S_ADDR
|
||||||
|
|
||||||
#define CONFIG_SYS_FSL_CLK
|
#define CONFIG_SYS_FSL_CLK
|
||||||
|
@@ -7,8 +7,6 @@
|
|||||||
#ifndef __CONFIG_H
|
#ifndef __CONFIG_H
|
||||||
#define __CONFIG_H
|
#define __CONFIG_H
|
||||||
|
|
||||||
#define CONFIG_ARMV7_PSCI_1_0
|
|
||||||
|
|
||||||
#define CONFIG_ARMV7_SECURE_BASE OCRAM_BASE_S_ADDR
|
#define CONFIG_ARMV7_SECURE_BASE OCRAM_BASE_S_ADDR
|
||||||
|
|
||||||
#define CONFIG_SYS_FSL_CLK
|
#define CONFIG_SYS_FSL_CLK
|
||||||
|
@@ -43,8 +43,6 @@
|
|||||||
|
|
||||||
#define CONFIG_ARMV7_SECURE_BASE 0x00900000
|
#define CONFIG_ARMV7_SECURE_BASE 0x00900000
|
||||||
|
|
||||||
#define CONFIG_ARMV7_PSCI_1_0
|
|
||||||
|
|
||||||
#ifdef CONFIG_SPL_BUILD
|
#ifdef CONFIG_SPL_BUILD
|
||||||
#define CONFIG_SPL_DRIVERS_MISC_SUPPORT
|
#define CONFIG_SPL_DRIVERS_MISC_SUPPORT
|
||||||
#endif
|
#endif
|
||||||
|
@@ -12,7 +12,6 @@
|
|||||||
|
|
||||||
#ifndef CONFIG_TFABOOT
|
#ifndef CONFIG_TFABOOT
|
||||||
/* PSCI support */
|
/* PSCI support */
|
||||||
#define CONFIG_ARMV7_PSCI_1_0
|
|
||||||
#define CONFIG_ARMV7_SECURE_BASE STM32_SYSRAM_BASE
|
#define CONFIG_ARMV7_SECURE_BASE STM32_SYSRAM_BASE
|
||||||
#define CONFIG_ARMV7_SECURE_MAX_SIZE STM32_SYSRAM_SIZE
|
#define CONFIG_ARMV7_SECURE_MAX_SIZE STM32_SYSRAM_SIZE
|
||||||
#endif
|
#endif
|
||||||
|
@@ -39,8 +39,6 @@
|
|||||||
#define BOOTENV
|
#define BOOTENV
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define CONFIG_ARMV7_PSCI_1_0
|
|
||||||
|
|
||||||
#define CONFIG_SYS_MALLOC_LEN (4 * 1024 * 1024)
|
#define CONFIG_SYS_MALLOC_LEN (4 * 1024 * 1024)
|
||||||
|
|
||||||
#define CONFIG_TIMESTAMP
|
#define CONFIG_TIMESTAMP
|
||||||
|
@@ -44,7 +44,6 @@ CONFIG_ARMADA100
|
|||||||
CONFIG_ARMADA100_FEC
|
CONFIG_ARMADA100_FEC
|
||||||
CONFIG_ARMADA168
|
CONFIG_ARMADA168
|
||||||
CONFIG_ARMADA_39X
|
CONFIG_ARMADA_39X
|
||||||
CONFIG_ARMV7_PSCI_1_0
|
|
||||||
CONFIG_ARMV7_SECURE_BASE
|
CONFIG_ARMV7_SECURE_BASE
|
||||||
CONFIG_ARMV7_SECURE_MAX_SIZE
|
CONFIG_ARMV7_SECURE_MAX_SIZE
|
||||||
CONFIG_ARMV7_SECURE_RESERVE_SIZE
|
CONFIG_ARMV7_SECURE_RESERVE_SIZE
|
||||||
|
Reference in New Issue
Block a user