
24 Jul
2016
24 Jul
'16
3:39 p.m.
Hi Stefan,
On Fri, Jul 22, 2016 at 2:34 PM, Stefan Agner stefan.agner@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.