]> git.sur5r.net Git - u-boot/commitdiff
armv8: fsl-layerscape: Move SECURE_BOOT to Kconfig
authorYork Sun <york.sun@nxp.com>
Fri, 2 Dec 2016 17:32:35 +0000 (09:32 -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/armv8/fsl-layerscape/Kconfig
configs/ls1043ardb_SECURE_BOOT_defconfig
configs/ls2080aqds_SECURE_BOOT_defconfig
configs/ls2080ardb_SECURE_BOOT_defconfig

index 94ec8d502b942f82ea3481b73824e56e243bf541..ed1c4eeb03c07d249b0c358f40163c407401cfd1 100644 (file)
@@ -71,6 +71,11 @@ config NUM_DDR_CONTROLLERS
        default 3 if ARCH_LS2080A
        default 1
 
+config SECURE_BOOT
+       bool
+       help
+               Enable Freescale Secure Boot feature
+
 config SYS_FSL_IFC_BANK_COUNT
        int "Maximum banks of Integrated flash controller"
        depends on ARCH_LS1043A || ARCH_LS1046A || ARCH_LS2080A
index 6ee0ad05a91ddf4839912a63459f61649ac5dd7e..4f8c6d450322628f216e2669d2d9385339142863 100644 (file)
@@ -5,7 +5,7 @@ CONFIG_DEFAULT_DEVICE_TREE="fsl-ls1043a-rdb"
 CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
-CONFIG_SYS_EXTRA_OPTIONS="SECURE_BOOT"
+CONFIG_SECURE_BOOT=y
 CONFIG_BOOTDELAY=10
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_MMC=y
index e5ad80ddc47ec4724f39e92e8f3a45edc15cf86f..e18af5fb43c26e627df35512752bfa945be61067 100644 (file)
@@ -6,7 +6,8 @@ CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_OF_STDOUT_VIA_ALIAS=y
-CONFIG_SYS_EXTRA_OPTIONS="SYS_FSL_DDR4, LS2080A, SECURE_BOOT"
+CONFIG_SYS_EXTRA_OPTIONS="SYS_FSL_DDR4, LS2080A"
+CONFIG_SECURE_BOOT=y
 CONFIG_BOOTDELAY=10
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_GREPENV=y
index c2e613e5b4dac976e1a5eaf5418d297d7991fb54..c465e80513398b5ef939b5722a3b10475949e68d 100644 (file)
@@ -6,7 +6,8 @@ CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_OF_STDOUT_VIA_ALIAS=y
-CONFIG_SYS_EXTRA_OPTIONS="SYS_FSL_DDR4, LS2080A, SECURE_BOOT"
+CONFIG_SYS_EXTRA_OPTIONS="SYS_FSL_DDR4, LS2080A"
+CONFIG_SECURE_BOOT=y
 CONFIG_BOOTDELAY=10
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_GREPENV=y