From 02e494c0c8527d75e182b5704010d3d07657fdf0 Mon Sep 17 00:00:00 2001 From: Dave Murphy Date: Fri, 6 Feb 2015 23:22:28 +0000 Subject: [PATCH] ensure arm7 code for arm7 section --- bootstub/bootstub.s | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bootstub/bootstub.s b/bootstub/bootstub.s index da157c3..579fb99 100644 --- a/bootstub/bootstub.s +++ b/bootstub/bootstub.s @@ -28,6 +28,9 @@ _start: _loader_size: .word 0 + .arch armv4t + .cpu arm7tdmi + //----------------------------------------------------------------- hook9from7: //----------------------------------------------------------------- @@ -89,7 +92,10 @@ tcmpudisable: resetcode: .word 0x0c04000c + +//----------------------------------------------------------------- hook7from9: +//----------------------------------------------------------------- mov r12, #0x04000000 strb r12, [r12,#0x208]