[PATCH] arm/dt: Fix booting non-dt versatile

Grant Likely grant.likely at secretlab.ca
Sat Jul 24 06:14:14 EST 2010


Without this patch, versatilepb will not boot in qemu

Signed-off-by: Grant Likely <grant.likely at secretlab.ca>
---

Hi Jeremy,

I'm not sure if this is the best fix or not, but without it I cannot boot
versatilepb anymore in QEMU.

g.

 arch/arm/kernel/head.S |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/kernel/head.S b/arch/arm/kernel/head.S
index 8683b3b..049d533 100644
--- a/arch/arm/kernel/head.S
+++ b/arch/arm/kernel/head.S
@@ -93,7 +93,7 @@ ENTRY(stext)
 	 * Also, we don't need to call __vet_atags.
 	 */
 	add	r3, r1, #1
-	bcs	1f
+	beq	1f
 
 	bl	__lookup_machine_type		@ r5=machinfo
 	movs	r8, r5				@ invalid machine (r5=0)?



More information about the devicetree-discuss mailing list