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 --- include/fsl_sec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/fsl_sec.h') diff --git a/include/fsl_sec.h b/include/fsl_sec.h index e6080d4..61c671d 100644 --- a/include/fsl_sec.h +++ b/include/fsl_sec.h @@ -24,7 +24,7 @@ #define sec_in16(a) in_be16(a) #define sec_clrbits32 clrbits_be32 #define sec_setbits32 setbits_be32 -#else +#elif defined(CONFIG_SYS_FSL_HAS_SEC) #error Neither CONFIG_SYS_FSL_SEC_LE nor CONFIG_SYS_FSL_SEC_BE is defined #endif -- cgit v1.1