Convert CONFIG_SPL_HASH_SUPPORT to Kconfig
authorSimon Glass <sjg@chromium.org>
Tue, 13 Sep 2016 05:18:32 +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 b9aad049a7306ec6edb18a892632714ef4d060f9..ddc77a54da632becd9cb325a53255d457982a4dd 100644 (file)
@@ -27,7 +27,6 @@
 #endif
 
 #define CONFIG_SPL_BOARD_INIT
-#define CONFIG_SPL_HASH_SUPPORT
 #define CONFIG_SPL_DRIVERS_MISC_SUPPORT
 #ifdef CONFIG_SPL_BUILD
 /*
index 8fa19083a35531dc278405436e597eb416ede0e5..ae50b86fb298d162006d6a5ec4e81079fd36b24f 100644 (file)
@@ -80,7 +80,6 @@
 
 #ifdef CONFIG_CHAIN_OF_TRUST
 
-#define CONFIG_SPL_HASH_SUPPORT
 #define CONFIG_SPL_DRIVERS_MISC_SUPPORT
 
 #ifdef CONFIG_SPL_BUILD
index 5f6c84b7a4c317d00eb7c370ed9937263c83c49f..cbc708329c9bdfcaba62cad792d21d6a6a220022 100644 (file)
@@ -9,6 +9,7 @@ CONFIG_SYS_EXTRA_OPTIONS="PPC_T1042,T1042RDB_PI,RAMBOOT_PBL,SPL_FSL_PBL,NAND,SEC
 CONFIG_BOOTDELAY=0
 CONFIG_SPL=y
 CONFIG_SPL_CRYPTO_SUPPORT=y
+CONFIG_SPL_HASH_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_GREPENV=y
 CONFIG_CMD_MMC=y
index e6e4f827b8bbecc355ee7ab683cbb51d9e1a6beb..3316efa1b8a8b783084e8aaffeecd0eb6a1d37a2 100644 (file)
@@ -8,6 +8,7 @@ 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_SPL_HASH_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 CONFIG_CMD_GREPENV=y