@@ -283,6 +283,13 @@ config SYS_LDSCRIPT
endmenu # General setup
+config SECURE_BOOT
+ bool "Secure Boot"
+ imply SHA256
+ help
+ Enable Secure Boot feature. The actual behavior may vary
+ from architecture to architecture.
+
menu "Boot images"
config ANDROID_BOOT_IMAGE
@@ -50,8 +50,9 @@ config MAX_CPUS
cores, count the reserved ports. This will allocate enough memory
in spin table to properly handle all cores.
-config SECURE_BOOT
+config FSL_ARMV7_ENABLE_SECURE_BOOT
bool "Secure Boot"
+ depends on SECURE_BOOT
help
Enable Freescale Secure Boot feature. Normally selected
by defconfig. If unsure, do not change.
@@ -375,8 +375,9 @@ config EMC2305
Enable the EMC2305 fan controller for configuration of fan
speed.
-config SECURE_BOOT
+config FSI_ARMV8_ENABLE_SECURE_BOOT
bool "Secure Boot"
+ depends on SECURE_BOOT
help
Enable Freescale Secure Boot feature
@@ -1208,8 +1208,9 @@ config FSL_LAW
help
Use Freescale common code for Local Access Window
-config SECURE_BOOT
+config FSL_MPC_ENABLE_SECURE_BOOT
bool "Secure Boot"
+ depends on SECURE_BOOT
help
Enable Freescale Secure Boot feature. Normally selected
by defconfig. If unsure, do not change.
The configuration, CONFIG_SECURE_BOOT, is defined multiple times in different architecture directories for different implementation. If UEFI secure boot will be added later, it will make things more messy. So let's rename them, giving each implementation to different configuration option. CONFIG_SECURE_BOOT still remains in order not to break existing implicit dependency. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> --- Kconfig | 7 +++++++ arch/arm/cpu/armv7/ls102xa/Kconfig | 3 ++- arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 3 ++- arch/powerpc/cpu/mpc85xx/Kconfig | 3 ++- 4 files changed, 13 insertions(+), 3 deletions(-)