aboutsummaryrefslogtreecommitdiff
path: root/drivers/misc/Kconfig
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-06-16 14:04:39 -0400
committerTom Rini <trini@konsulko.com>2022-07-05 17:04:00 -0400
commitc9f85187e21ef64f65c1cd7202ef9199501a6f4d (patch)
tree7138ab77b579a8d6ca6fb9c7720c5552a20a99b2 /drivers/misc/Kconfig
parent7e7d04aecb99cfcec2c25581dcf307f2c7a82c6c (diff)
downloadu-boot-c9f85187e21ef64f65c1cd7202ef9199501a6f4d.zip
u-boot-c9f85187e21ef64f65c1cd7202ef9199501a6f4d.tar.gz
u-boot-c9f85187e21ef64f65c1cd7202ef9199501a6f4d.tar.bz2
Convert CONFIG_SYS_FSL_SEC_MON et al to Kconfig
This converts the following to Kconfig: CONFIG_SYS_FSL_SEC_MON CONFIG_SYS_FSL_SEC_MON_BE CONFIG_SYS_FSL_SEC_MON_LE Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/misc/Kconfig')
-rw-r--r--drivers/misc/Kconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index 28d5da4..92264e5 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -275,6 +275,20 @@ config FSL_SEC_MON
Security Monitor can be transitioned on any security failures,
like software violations or hardware security violations.
+choice
+ prompt "Security monitor interaction endianess"
+ depends on FSL_SEC_MON
+ default SYS_FSL_SEC_MON_BE if PPC
+ default SYS_FSL_SEC_MON_LE
+
+config SYS_FSL_SEC_MON_LE
+ bool "Security monitor interactions are little endian"
+
+config SYS_FSL_SEC_MON_BE
+ bool "Security monitor interactions are big endian"
+
+endchoice
+
config IRQ
bool "Interrupt controller"
help