]> git.sur5r.net Git - u-boot/commitdiff
armv7: ls1021a: Move SECURE_BOOT option to Kconfig
authorYork Sun <york.sun@nxp.com>
Fri, 2 Dec 2016 17:31:43 +0000 (09:31 -0800)
committerYork Sun <york.sun@nxp.com>
Fri, 2 Dec 2016 20:38:41 +0000 (12:38 -0800)
Move from CONFIG_SYS_EXTRA_OPTIONS to Kconfig option.

Signed-off-by: York Sun <york.sun@nxp.com>
arch/arm/cpu/armv7/ls102xa/Kconfig
configs/ls1021aqds_nor_SECURE_BOOT_defconfig
configs/ls1021atwr_nor_SECURE_BOOT_defconfig
configs/ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig

index 28bf778d9ce491a3cadc9301aeb7321f158f7fe7..f94568a2e4f704800314d2edd4f47b0adf5482f2 100644 (file)
@@ -28,6 +28,12 @@ config NUM_DDR_CONTROLLERS
        int "Maximum DDR controllers"
        default 1
 
+config SECURE_BOOT
+       bool    "Secure Boot"
+       help
+               Enable Freescale Secure Boot feature. Normally selected
+               by defconfig. If unsure, do not change.
+
 config SYS_FSL_ERRATUM_A010315
        bool "Workaround for PCIe erratum A010315"
 
index 567c8525090b7ea9cfb38c0d83bc7fb7beb9a8f7..8b869fab503aeaf937d9f5f8bb954f990fb3ef65 100644 (file)
@@ -7,7 +7,7 @@ CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_OF_STDOUT_VIA_ALIAS=y
-CONFIG_SYS_EXTRA_OPTIONS="SECURE_BOOT"
+CONFIG_SECURE_BOOT=y
 CONFIG_BOOTDELAY=3
 CONFIG_SILENT_CONSOLE=y
 # CONFIG_CONSOLE_MUX is not set
index f218e8f94931f0be06308ddd09ca2b6f73dcad1a..946945f294e422e0d62e3419a1d3ca149bab6ea9 100644 (file)
@@ -6,7 +6,7 @@ CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_OF_STDOUT_VIA_ALIAS=y
-CONFIG_SYS_EXTRA_OPTIONS="SECURE_BOOT"
+CONFIG_SECURE_BOOT=y
 CONFIG_BOOTDELAY=3
 CONFIG_SILENT_CONSOLE=y
 # CONFIG_CONSOLE_MUX is not set
index ae0d8143d94873563c4c03084da32778ab8a30d0..5e74645ddc8e6d711499ba5bf452c3db53571aaf 100644 (file)
@@ -13,7 +13,8 @@ CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_OF_STDOUT_VIA_ALIAS=y
-CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SPL_FSL_PBL,SD_BOOT,SECURE_BOOT"
+CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SPL_FSL_PBL,SD_BOOT"
+CONFIG_SECURE_BOOT=y
 CONFIG_BOOTDELAY=0
 CONFIG_SILENT_CONSOLE=y
 # CONFIG_CONSOLE_MUX is not set