summaryrefslogtreecommitdiff
path: root/arch/Kconfig.nxp
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-06-16 21:04:40 +0300
committerTom Rini <trini@konsulko.com>2022-07-06 00:04:00 +0300
commit601483ffd544f98023062949670e2aa048d31cc7 (patch)
tree380d2693cc284df9a4ce0b572a8e93d3e05b9426 /arch/Kconfig.nxp
parentc9f85187e21ef64f65c1cd7202ef9199501a6f4d (diff)
downloadu-boot-601483ffd544f98023062949670e2aa048d31cc7.tar.xz
Convert CONFIG_SYS_FSL_SFP_BE et al to Kconfig
This converts the following to Kconfig: CONFIG_KEY_REVOCATION CONFIG_SYS_FSL_SFP_BE CONFIG_SYS_FSL_SFP_LE CONFIG_SYS_FSL_SFP_VER_3_0 CONFIG_SYS_FSL_SFP_VER_3_2 CONFIG_SYS_FSL_SFP_VER_3_4 CONFIG_SYS_FSL_SRK_LE This partly means making sure to enable SYS_FSL_ERRATUM_A007186 only for when CHAIN_OF_TRUST is enabled. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/Kconfig.nxp')
-rw-r--r--arch/Kconfig.nxp33
1 files changed, 33 insertions, 0 deletions
diff --git a/arch/Kconfig.nxp b/arch/Kconfig.nxp
index 72cac0fb99..22ae186b35 100644
--- a/arch/Kconfig.nxp
+++ b/arch/Kconfig.nxp
@@ -34,6 +34,39 @@ config ESBC_ADDR_64BIT
help
For Layerscape based platforms, ESBC image Address in Header is 64bit.
+config SYS_FSL_SFP_BE
+ def_bool y
+ depends on CHAIN_OF_TRUST && (PPC || FSL_LSCH2 || ARCH_LS1021A)
+
+config SYS_FSL_SFP_LE
+ def_bool y
+ depends on CHAIN_OF_TRUST && !SYS_FSL_SFP_BE
+
+choice
+ prompt "SFP IP revision"
+ depends on CHAIN_OF_TRUST
+ default SYS_FSL_SFP_VER_3_0 if PPC
+ default SYS_FSL_SFP_VER_3_4
+
+config SYS_FSL_SFP_VER_3_0
+ bool "SFP version 3.0"
+
+config SYS_FSL_SFP_VER_3_2
+ bool "SFP version 3.2"
+
+config SYS_FSL_SFP_VER_3_4
+ bool "SFP version 3.4"
+
+endchoice
+
+config SYS_FSL_SRK_LE
+ def_bool y
+ depends on CHAIN_OF_TRUST && ARM
+
+config KEY_REVOCATION
+ def_bool y
+ depends on CHAIN_OF_TRUST
+
config DEEP_SLEEP
bool "Enable SoC deep sleep feature"
depends on ARCH_T1024 || ARCH_T1040 || ARCH_T1042 || ARCH_LS1021A