diff mbox series

[U-Boot,v2] LS2080A_SECURE_BOOT: Enable CONFIG_FSL_LS_PPA.

Message ID 1508130258-3811-3-git-send-email-udit.agarwal@nxp.com
State Superseded
Delegated to: York Sun
Headers show
Series [U-Boot,v2] LS2080A_SECURE_BOOT: Enable CONFIG_FSL_LS_PPA. | expand

Commit Message

Udit Agarwal Oct. 16, 2017, 5:04 a.m. UTC
Adds config CONFIG_FSL_LS_PPA and CONFIG_FSL_CAAM in
LS2080AQDS and LS2080ARDB secure boot defconfig.

Removes CONFIG_FIT, as not required when CONFIG_FSL_LS_PPA
is enabled.

Removes CONFIG_SPL_RSA as in QSPI boot SPL boot is not done.

Signed-off-by: Udit Agarwal <udit.agarwal@nxp.com>
---
Changes in V2:
Adds information in patch description for other changes.

 configs/ls2080aqds_SECURE_BOOT_defconfig | 5 +++--
 configs/ls2080ardb_SECURE_BOOT_defconfig | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

Comments

York Sun Oct. 16, 2017, 3:44 p.m. UTC | #1
On 10/15/2017 10:04 PM, Udit Agarwal wrote:
> Adds config CONFIG_FSL_LS_PPA and CONFIG_FSL_CAAM in
> LS2080AQDS and LS2080ARDB secure boot defconfig.
> 
> Removes CONFIG_FIT, as not required when CONFIG_FSL_LS_PPA
> is enabled.

Your reason is wrong. With CONFIG_FSL_LS_PPA enabled, CONFIG_FIT is
selected, not "not required".

> 
> Removes CONFIG_SPL_RSA as in QSPI boot SPL boot is not done.

You are not dealing with QSPI in this patch. These defconfig files are
for NOR boot.

> 
> Signed-off-by: Udit Agarwal <udit.agarwal@nxp.com>
> ---
> Changes in V2:
> Adds information in patch description for other changes.
> 
>  configs/ls2080aqds_SECURE_BOOT_defconfig | 5 +++--
>  configs/ls2080ardb_SECURE_BOOT_defconfig | 5 +++--
>  2 files changed, 6 insertions(+), 4 deletions(-)
> 

York
diff mbox series

Patch

diff --git a/configs/ls2080aqds_SECURE_BOOT_defconfig b/configs/ls2080aqds_SECURE_BOOT_defconfig
index c80a837..8063cd7 100644
--- a/configs/ls2080aqds_SECURE_BOOT_defconfig
+++ b/configs/ls2080aqds_SECURE_BOOT_defconfig
@@ -1,12 +1,13 @@ 
 CONFIG_ARM=y
 CONFIG_TARGET_LS2080AQDS=y
+CONFIG_FSL_LS_PPA=y
 CONFIG_SECURE_BOOT=y
 CONFIG_DEFAULT_DEVICE_TREE="fsl-ls2080a-qds"
 # CONFIG_SYS_MALLOC_F is not set
-CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_OF_STDOUT_VIA_ALIAS=y
+CONFIG_ENV_IS_IN_FLASH=y
 CONFIG_BOOTDELAY=10
 CONFIG_USE_BOOTARGS=y
 CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 ramdisk_size=0x2000000 default_hugepagesz=2m hugepagesz=2m hugepages=256"
@@ -26,6 +27,7 @@  CONFIG_CMD_DATE=y
 CONFIG_OF_CONTROL=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_DM=y
+CONFIG_FSL_CAAM=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_PHYLIB=y
@@ -45,6 +47,5 @@  CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
 CONFIG_RSA=y
-CONFIG_SPL_RSA=y
 CONFIG_RSA_SOFTWARE_EXP=y
 CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
diff --git a/configs/ls2080ardb_SECURE_BOOT_defconfig b/configs/ls2080ardb_SECURE_BOOT_defconfig
index 4a462ce..4e4666d 100644
--- a/configs/ls2080ardb_SECURE_BOOT_defconfig
+++ b/configs/ls2080ardb_SECURE_BOOT_defconfig
@@ -1,12 +1,13 @@ 
 CONFIG_ARM=y
 CONFIG_TARGET_LS2080ARDB=y
+CONFIG_FSL_LS_PPA=y
 CONFIG_SECURE_BOOT=y
 CONFIG_DEFAULT_DEVICE_TREE="fsl-ls2080a-rdb"
 # CONFIG_SYS_MALLOC_F is not set
-CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_OF_STDOUT_VIA_ALIAS=y
+CONFIG_ENV_IS_IN_FLASH=y
 CONFIG_BOOTDELAY=10
 CONFIG_USE_BOOTARGS=y
 CONFIG_BOOTARGS="console=ttyS1,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0600 ramdisk_size=0x2000000 default_hugepagesz=2m hugepagesz=2m hugepages=256"
@@ -25,6 +26,7 @@  CONFIG_CMD_DATE=y
 CONFIG_OF_CONTROL=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_DM=y
+CONFIG_FSL_CAAM=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_PHYLIB=y
@@ -44,6 +46,5 @@  CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
 CONFIG_RSA=y
-CONFIG_SPL_RSA=y
 CONFIG_RSA_SOFTWARE_EXP=y
 CONFIG_EFI_LOADER_BOUNCE_BUFFER=y