Convert CONFIG_SPL_CRYPTO_SUPPORT to Kconfig
authorSimon Glass <sjg@chromium.org>
Tue, 13 Sep 2016 05:18:31 +0000 (23:18 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 16 Sep 2016 21:27:07 +0000 (17:27 -0400)
Move this option to Kconfig and tidy up existing uses.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/arm/include/asm/fsl_secure_boot.h
arch/powerpc/include/asm/fsl_secure_boot.h
configs/T1042RDB_PI_NAND_SECURE_BOOT_defconfig
configs/ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig

index b6ca7bbb1bbb8d84b7b17922fd2ebdd88d122daa..b9aad049a7306ec6edb18a892632714ef4d060f9 100644 (file)
@@ -27,7 +27,6 @@
 #endif
 
 #define CONFIG_SPL_BOARD_INIT
-#define CONFIG_SPL_CRYPTO_SUPPORT
 #define CONFIG_SPL_HASH_SUPPORT
 #define CONFIG_SPL_DRIVERS_MISC_SUPPORT
 #ifdef CONFIG_SPL_BUILD
index 5d93fdcdfa198f05d03e1f1b2998b1019b58942f..8fa19083a35531dc278405436e597eb416ede0e5 100644 (file)
@@ -80,7 +80,6 @@
 
 #ifdef CONFIG_CHAIN_OF_TRUST
 
-#define CONFIG_SPL_CRYPTO_SUPPORT
 #define CONFIG_SPL_HASH_SUPPORT
 #define CONFIG_SPL_DRIVERS_MISC_SUPPORT
 
index 519b4b1a92359e6c746f990c44a5e7b183e5aabf..5f6c84b7a4c317d00eb7c370ed9937263c83c49f 100644 (file)
@@ -8,6 +8,7 @@ CONFIG_OF_STDOUT_VIA_ALIAS=y
 CONFIG_SYS_EXTRA_OPTIONS="PPC_T1042,T1042RDB_PI,RAMBOOT_PBL,SPL_FSL_PBL,NAND,SECURE_BOOT"
 CONFIG_BOOTDELAY=0
 CONFIG_SPL=y
+CONFIG_SPL_CRYPTO_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_GREPENV=y
 CONFIG_CMD_MMC=y
index 9d9c2a0890a760b34b9b00a71221314711d29bcc..e6e4f827b8bbecc355ee7ab683cbb51d9e1a6beb 100644 (file)
@@ -7,6 +7,7 @@ CONFIG_OF_STDOUT_VIA_ALIAS=y
 CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SPL_FSL_PBL,SD_BOOT,SECURE_BOOT"
 CONFIG_BOOTDELAY=0
 CONFIG_SPL=y
+CONFIG_SPL_CRYPTO_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 CONFIG_CMD_GREPENV=y