[U-Boot] [PATCH] mx7: Allow selection of secure or non-secure mode

Fabio Estevam festevam at gmail.com
Sun Jul 24 15:39:56 CEST 2016


Hi Stefan,

On Fri, Jul 22, 2016 at 2:34 PM, Stefan Agner <stefan.agner at toradex.com> wrote:

> Wha, so we have a config option (MX7_SEC) which controls a config helper
> (CPU_V7_HAS_NONSEC) which is used to control whether a user config
> option is available or not (ARMV7_NONSEC).
>
> I don't understand why we need to have the MX7_SEC config options in
> imx-common. There are already config options for all the
> secure/non-secure boot stuff in arch/arm/cpu/armv7/Kconfig.
>
> I suggest to remove MX7_SEC, and add "default y if ARCH_MX7" for the
> existing config option ARMV7_BOOT_SEC_DEFAULT in arch/arm/cpu/armv7/Kconfig.

Yes, I was not aware of the ARMV7_BOOT_SEC_DEFAULT option. I sent a
new version as suggested, thanks.


More information about the U-Boot mailing list