summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorYork Sun <[email protected]>2016-12-28 08:43:31 -0800
committerTom Rini <[email protected]>2017-01-04 19:40:19 -0500
commit90b80386ffc60549f4529b766db182de06102b0e (patch)
tree1b3d8a9761a2203726aa738a741c4c567c282356 /drivers
parent2c2e2c9e14462a34bb99ba281c7445c3174a0fe6 (diff)
crypto: Move CONFIG_SYS_FSL_SEC_LE and _BE to Kconfig
Use Kconfig option to set little- or big-endian access to secure boot and trust architecture. Signed-off-by: York Sun <[email protected]>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/crypto/fsl/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/crypto/fsl/Kconfig b/drivers/crypto/fsl/Kconfig
index 510a108052d..31889598e8e 100644
--- a/drivers/crypto/fsl/Kconfig
+++ b/drivers/crypto/fsl/Kconfig
@@ -30,6 +30,9 @@ config SYS_FSL_SEC_COMPAT_6
help
Secure boot and trust architecture compatible version 6
+config SYS_FSL_SEC_BE
+ bool "Big-endian access to Freescale Secure Boot"
+
config SYS_FSL_SEC_COMPAT
int "Freescale Secure Boot compatibility"
depends on SYS_FSL_HAS_SEC
@@ -37,3 +40,6 @@ config SYS_FSL_SEC_COMPAT
default 4 if SYS_FSL_SEC_COMPAT_4
default 5 if SYS_FSL_SEC_COMPAT_5
default 6 if SYS_FSL_SEC_COMPAT_6
+
+config SYS_FSL_SEC_LE
+ bool "Little-endian access to Freescale Secure Boot"