All of lore.kernel.org
 help / color / mirror / Atom feed
From: York Sun <york.sun@nxp.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 05/11] armv7: ls1021a: Move SECURE_BOOT option to Kconfig
Date: Fri, 2 Dec 2016 13:37:46 -0800	[thread overview]
Message-ID: <1480714672-21632-6-git-send-email-york.sun@nxp.com> (raw)
In-Reply-To: <1480714672-21632-1-git-send-email-york.sun@nxp.com>

Move from CONFIG_SYS_EXTRA_OPTIONS to Kconfig option.

Signed-off-by: York Sun <york.sun@nxp.com>
---

 arch/arm/cpu/armv7/ls102xa/Kconfig                  | 6 ++++++
 configs/ls1021aqds_nor_SECURE_BOOT_defconfig        | 2 +-
 configs/ls1021atwr_nor_SECURE_BOOT_defconfig        | 2 +-
 configs/ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig | 3 ++-
 4 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/arch/arm/cpu/armv7/ls102xa/Kconfig b/arch/arm/cpu/armv7/ls102xa/Kconfig
index 28bf778..f94568a 100644
--- a/arch/arm/cpu/armv7/ls102xa/Kconfig
+++ b/arch/arm/cpu/armv7/ls102xa/Kconfig
@@ -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"
 
diff --git a/configs/ls1021aqds_nor_SECURE_BOOT_defconfig b/configs/ls1021aqds_nor_SECURE_BOOT_defconfig
index 567c852..8b869fa 100644
--- a/configs/ls1021aqds_nor_SECURE_BOOT_defconfig
+++ b/configs/ls1021aqds_nor_SECURE_BOOT_defconfig
@@ -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
diff --git a/configs/ls1021atwr_nor_SECURE_BOOT_defconfig b/configs/ls1021atwr_nor_SECURE_BOOT_defconfig
index f218e8f..946945f 100644
--- a/configs/ls1021atwr_nor_SECURE_BOOT_defconfig
+++ b/configs/ls1021atwr_nor_SECURE_BOOT_defconfig
@@ -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
diff --git a/configs/ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig b/configs/ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig
index ae0d814..5e74645 100644
--- a/configs/ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig
+++ b/configs/ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig
@@ -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
-- 
2.7.4

  parent reply	other threads:[~2016-12-02 21:37 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-02 21:37 [U-Boot] [PATCH 00/11] Convert several macros to Kconfig York Sun
2016-12-02 21:37 ` [U-Boot] [PATCH 01/11] powerpc: cyrus: Separate P5020/P5040 config options York Sun
2016-12-02 21:37 ` [U-Boot] [PATCH 02/11] powerpc: mpc85xx: Convert CONFIG_SYS_CCSRBAR_DEFAULT to Kconfig option York Sun
2016-12-02 21:37 ` [U-Boot] [PATCH 03/11] powerpc: mpc86xx: " York Sun
2016-12-02 21:37 ` [U-Boot] [PATCH 04/11] script: remove CONFIG_SYS_CCSRBAR_DEFAULT from white list York Sun
2016-12-02 21:37 ` York Sun [this message]
2016-12-02 21:37 ` [U-Boot] [PATCH 06/11] armv8: fsl-layerscape: Move SECURE_BOOT to Kconfig York Sun
2016-12-02 21:37 ` [U-Boot] [PATCH 07/11] powerpc: mpc85xx: " York Sun
2016-12-02 21:37 ` [U-Boot] [PATCH 08/11] powerpc: mpc85xx: Move CONFIG_FSL_LAW " York Sun
2016-12-02 21:37 ` [U-Boot] [PATCH 09/11] powerpc: mpc86xx: " York Sun
2016-12-02 21:37 ` [U-Boot] [PATCH 10/11] powerpc: mpc85xx: Convert CONFIG_SYS_FSL_NUM_LAWS to Kconfig option York Sun
2016-12-02 21:37 ` [U-Boot] [PATCH 11/11] powerpc: mpc86xx: " York Sun
2016-12-04  1:38 ` [U-Boot] [PATCH 00/11] Convert several macros to Kconfig Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1480714672-21632-6-git-send-email-york.sun@nxp.com \
    --to=york.sun@nxp.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.