[U-Boot] [PATCH] sun7i: Set CONFIG_ARMV7_SEC_BY_DEFAULT when CONFIG_OLD_KERNEL_COMPAT is set

Tom Rini
2014-10-22T19:24:00Z

On Wed, Oct 22, 2014 at 03:45:23PM +0200, Hans de Goede wrote:

> Old kernels cannot handle booting in non-secure (hyp) mode, so when
> CONFIG_OLD_KERNEL_COMPAT is set, also set CONFIG_ARMV7_SEC_BY_DEFAULT.
>
> Note that whether to booting secure or non-secure can always be overriden
> using the bootm_boot_mode environment variable.

This belongs in Kconfig. If you want to make it really optional all the
same, make modifying it depend on CONFIG_EXPERT too.

--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141022/9275f28c/attachment.pgp>