From mboxrd@z Thu Jan 1 00:00:00 1970 From: Antoine Tenart Date: Tue, 2 May 2017 08:54:59 +0200 Subject: [U-Boot] [PATCH v4 11/11] sun5i: boot in non-secure mode by default In-Reply-To: <20170501211422.jceftrwl5rb4kaie@lukather> References: <20170430132956.30190-1-antoine.tenart@free-electrons.com> <20170430132956.30190-12-antoine.tenart@free-electrons.com> <20170501211422.jceftrwl5rb4kaie@lukather> Message-ID: <20170502065459.7ann7oxm6jdcwb3e@kwain> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: u-boot@lists.denx.de Hi Maxime, On Mon, May 01, 2017 at 11:14:22PM +0200, Maxime Ripard wrote: > On Sun, Apr 30, 2017 at 03:29:56PM +0200, Antoine Tenart wrote: > > sun5i now implements the psci suspend function. In order to be used by > > the kernel, we should now boot in non-secure mode. Enable it by default. > >=20 > > Signed-off-by: Antoine Tenart > > --- > > board/sunxi/Kconfig | 3 +++ > > 1 file changed, 3 insertions(+) > >=20 > > diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig > > index e53cd9c21c33..043980b83831 100644 > > --- a/board/sunxi/Kconfig > > +++ b/board/sunxi/Kconfig > > @@ -77,9 +77,12 @@ config MACH_SUN4I > > config MACH_SUN5I > > bool "sun5i (Allwinner A13)" > > select CPU_V7 > > + select CPU_V7_HAS_NONSEC > > + select ARCH_SUPPORT_PSCI > > select ARM_CORTEX_CPU_IS_UP > > select SUNXI_GEN_SUN4I > > select SUPPORT_SPL > > + select ARMV7_BOOT_SEC_DEFAULT if OLD_SUNXI_KERNEL_COMPAT >=20 > It would be better to sort these options. I followed what was done for the other MACH_SUN* definitions, assuming there was some logic behind it. Otherwise I agree sorted options are better. Antoine --=20 Antoine T=C3=A9nart, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 801 bytes Desc: not available URL: