public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/1] sun7i: Set ARMV7_BOOT_SEC_DEFAULT when OLD_SUNXI_KERNEL_COMPAT is set
@ 2014-11-24 19:35 Hans de Goede
  2014-11-24 19:35 ` [U-Boot] [PATCH] " Hans de Goede
  0 siblings, 1 reply; 3+ messages in thread
From: Hans de Goede @ 2014-11-24 19:35 UTC (permalink / raw)
  To: u-boot

Hi Ian,

Thanks for the quick review on the 2 display fixes. With Albert's pull-req
of today the dependencies for this fix are going upstream as soon as Tom
merges the pull-req.

Can you review this one too please ?

Thanks & Regards,

Hans

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] sun7i: Set ARMV7_BOOT_SEC_DEFAULT when OLD_SUNXI_KERNEL_COMPAT is set
  2014-11-24 19:35 [U-Boot] [PATCH 0/1] sun7i: Set ARMV7_BOOT_SEC_DEFAULT when OLD_SUNXI_KERNEL_COMPAT is set Hans de Goede
@ 2014-11-24 19:35 ` Hans de Goede
  2014-11-25  8:49   ` Ian Campbell
  0 siblings, 1 reply; 3+ messages in thread
From: Hans de Goede @ 2014-11-24 19:35 UTC (permalink / raw)
  To: u-boot

Old kernels cannot handle booting in non-secure (hyp) mode, so when
OLD_SUNXI_KERNEL_COMPAT is set, also set ARMV7_BOOT_SEC_DEFAULT.

Note that whether to booting secure or non-secure can always be overriden
using the bootm_boot_mode environment variable.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
--
Changes in v2:
-Use Kconfig rather the a hard-define in include/configs/sun7i.h
---
 board/sunxi/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig
index e20ea1b..246cd9a 100644
--- a/board/sunxi/Kconfig
+++ b/board/sunxi/Kconfig
@@ -24,6 +24,7 @@ config MACH_SUN7I
 	select CPU_V7_HAS_NONSEC
 	select CPU_V7_HAS_VIRT
 	select SUPPORT_SPL
+	select ARMV7_BOOT_SEC_DEFAULT if OLD_SUNXI_KERNEL_COMPAT
 
 config MACH_SUN8I
 	bool "sun8i (Allwinner A23)"
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] sun7i: Set ARMV7_BOOT_SEC_DEFAULT when OLD_SUNXI_KERNEL_COMPAT is set
  2014-11-24 19:35 ` [U-Boot] [PATCH] " Hans de Goede
@ 2014-11-25  8:49   ` Ian Campbell
  0 siblings, 0 replies; 3+ messages in thread
From: Ian Campbell @ 2014-11-25  8:49 UTC (permalink / raw)
  To: u-boot

On Mon, 2014-11-24 at 20:35 +0100, Hans de Goede wrote:
> Old kernels cannot handle booting in non-secure (hyp) mode, so when
> OLD_SUNXI_KERNEL_COMPAT is set, also set ARMV7_BOOT_SEC_DEFAULT.
> 
> Note that whether to booting secure or non-secure can always be overriden
> using the bootm_boot_mode environment variable.
> 
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>

Acked-by: Ian Campbell <ijc@hellion.org.uk>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-11-25  8:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-24 19:35 [U-Boot] [PATCH 0/1] sun7i: Set ARMV7_BOOT_SEC_DEFAULT when OLD_SUNXI_KERNEL_COMPAT is set Hans de Goede
2014-11-24 19:35 ` [U-Boot] [PATCH] " Hans de Goede
2014-11-25  8:49   ` Ian Campbell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox