From 90b80386ffc60549f4529b766db182de06102b0e Mon Sep 17 00:00:00 2001 From: York Sun Date: Wed, 28 Dec 2016 08:43:31 -0800 Subject: 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 --- drivers/crypto/fsl/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'drivers/crypto/fsl') diff --git a/drivers/crypto/fsl/Kconfig b/drivers/crypto/fsl/Kconfig index 510a108..3188959 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" -- cgit v1.1