diff mbox series

mx7dsabresd: Boot in non secure by default

Message ID 20200218190959.13787-1-festevam@gmail.com
State Awaiting Upstream
Delegated to: Stefano Babic
Headers show
Series mx7dsabresd: Boot in non secure by default | expand

Commit Message

Fabio Estevam Feb. 18, 2020, 7:09 p.m. UTC
Booting a mainline kernel in secure mode on i.MX7D causes only
one CPU to be brought up.

Change it to booting in non secure mode by default, which
allows the two CPUs to be brought up.

It does have a side effect of not probing the CAAM driver.
If CAAM driver is needed then a secure world OS such as OPTEE needs
to be used.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
 configs/mx7dsabresd_defconfig      | 1 -
 configs/mx7dsabresd_qspi_defconfig | 1 -
 2 files changed, 2 deletions(-)

Comments

Stefano Babic March 10, 2020, 3:32 p.m. UTC | #1
> Booting a mainline kernel in secure mode on i.MX7D causes only
> one CPU to be brought up.
> Change it to booting in non secure mode by default, which
> allows the two CPUs to be brought up.
> It does have a side effect of not probing the CAAM driver.
> If CAAM driver is needed then a secure world OS such as OPTEE needs
> to be used.
> Signed-off-by: Fabio Estevam <festevam@gmail.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/configs/mx7dsabresd_defconfig b/configs/mx7dsabresd_defconfig
index 2a9fdac338..d9fa1d7017 100644
--- a/configs/mx7dsabresd_defconfig
+++ b/configs/mx7dsabresd_defconfig
@@ -5,7 +5,6 @@  CONFIG_TARGET_MX7DSABRESD=y
 CONFIG_ENV_SIZE=0x2000
 CONFIG_ENV_OFFSET=0xC0000
 CONFIG_NR_DRAM_BANKS=1
-CONFIG_ARMV7_BOOT_SEC_DEFAULT=y
 # CONFIG_ARMV7_VIRT is not set
 CONFIG_IMX_RDC=y
 CONFIG_IMX_BOOTAUX=y
diff --git a/configs/mx7dsabresd_qspi_defconfig b/configs/mx7dsabresd_qspi_defconfig
index 865ce30dc2..993a6fb263 100644
--- a/configs/mx7dsabresd_qspi_defconfig
+++ b/configs/mx7dsabresd_qspi_defconfig
@@ -4,7 +4,6 @@  CONFIG_SYS_TEXT_BASE=0x87800000
 CONFIG_TARGET_MX7DSABRESD=y
 CONFIG_ENV_SIZE=0x2000
 CONFIG_ENV_OFFSET=0xC0000
-CONFIG_ARMV7_BOOT_SEC_DEFAULT=y
 # CONFIG_ARMV7_VIRT is not set
 CONFIG_IMX_RDC=y
 CONFIG_IMX_BOOTAUX=y