diff options
| author | York Sun <[email protected]> | 2016-12-28 08:43:31 -0800 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2017-01-04 19:40:19 -0500 |
| commit | 90b80386ffc60549f4529b766db182de06102b0e (patch) | |
| tree | 1b3d8a9761a2203726aa738a741c4c567c282356 /include | |
| parent | 2c2e2c9e14462a34bb99ba281c7445c3174a0fe6 (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 'include')
| -rw-r--r-- | include/configs/mx6_common.h | 1 | ||||
| -rw-r--r-- | include/configs/mx7_common.h | 1 | ||||
| -rw-r--r-- | include/fsl_sec.h | 2 |
3 files changed, 1 insertions, 3 deletions
diff --git a/include/configs/mx6_common.h b/include/configs/mx6_common.h index 7c949971dc3..0a1563c6f50 100644 --- a/include/configs/mx6_common.h +++ b/include/configs/mx6_common.h @@ -96,7 +96,6 @@ #define CONFIG_CSF_SIZE 0x2000 #define CONFIG_FSL_CAAM #define CONFIG_CMD_DEKBLOB -#define CONFIG_SYS_FSL_SEC_LE #ifdef CONFIG_SPL_BUILD #define CONFIG_SPL_DRIVERS_MISC_SUPPORT #endif diff --git a/include/configs/mx7_common.h b/include/configs/mx7_common.h index 4b62cedcd36..16fedfb20b8 100644 --- a/include/configs/mx7_common.h +++ b/include/configs/mx7_common.h @@ -76,7 +76,6 @@ #define CONFIG_CSF_SIZE 0x2000 #define CONFIG_FSL_CAAM #define CONFIG_CMD_DEKBLOB -#define CONFIG_SYS_FSL_SEC_LE #endif #endif diff --git a/include/fsl_sec.h b/include/fsl_sec.h index e6080d4ff07..61c671d6c73 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 |
