public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/2] ARM: allow CONFIG_GICV* not to be defined
@ 2016-04-02  3:14 Stephen Warren
  2016-04-02  3:14 ` [U-Boot] [PATCH 2/2] ARM: add Raspberry Pi 3 64-bit config Stephen Warren
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Stephen Warren @ 2016-04-02  3:14 UTC (permalink / raw)
  To: u-boot

There are ARM SoCs (such as the BCM2837) do not contain an ARM GIC. Fix
the ARMv8 CPU startup code to compile in this case.

Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
---
 arch/arm/cpu/armv8/start.S | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/cpu/armv8/start.S b/arch/arm/cpu/armv8/start.S
index 67b166c7fd46..dceedd7100ae 100644
--- a/arch/arm/cpu/armv8/start.S
+++ b/arch/arm/cpu/armv8/start.S
@@ -202,14 +202,14 @@ WEAK(lowlevel_init)
 	mov	x29, lr			/* Save LR */
 
 #ifndef CONFIG_ARMV8_MULTIENTRY
+#if defined(CONFIG_GICV2) || defined(CONFIG_GICV3)
 	/*
 	 * For single-entry systems the lowlevel init is very simple.
 	 */
 	ldr	x0, =GICD_BASE
 	bl	gic_init_secure
-
+#endif
 #else /* CONFIG_ARMV8_MULTIENTRY is set */
-
 #if defined(CONFIG_GICV2) || defined(CONFIG_GICV3)
 	branch_if_slave x0, 1f
 	ldr	x0, =GICD_BASE
-- 
2.7.4

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

end of thread, other threads:[~2016-04-12  2:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-02  3:14 [U-Boot] [PATCH 1/2] ARM: allow CONFIG_GICV* not to be defined Stephen Warren
2016-04-02  3:14 ` [U-Boot] [PATCH 2/2] ARM: add Raspberry Pi 3 64-bit config Stephen Warren
2016-04-02 13:26   ` Tom Rini
2016-04-03  3:33     ` Stephen Warren
2016-04-12  2:28   ` [U-Boot] [U-Boot,2/2] " Tom Rini
2016-04-02 13:25 ` [U-Boot] [PATCH 1/2] ARM: allow CONFIG_GICV* not to be defined Tom Rini
2016-04-12  2:28 ` [U-Boot] [U-Boot, " Tom Rini

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