From: henryk@ploetzli.ch <henryk@ploetzli.ch@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Date: Fri, 10 Sep 2010 22:34:24 +0000 (+0000)
Subject: BOOTROM CHANGE: Add jump to interrupt handler from Advanced Interrupt Controller.
X-Git-Tag: v1.0.0~269
X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/2c3685c26c90e069a64a2050a1fb6a6232c18823

BOOTROM CHANGE: Add jump to interrupt handler from Advanced Interrupt Controller.
This change is necessary for all IRQ functionality. If a future osimage needs IRQ functions, the bootloader must be updated to at least this version.
---

diff --git a/bootrom/flash-reset.s b/bootrom/flash-reset.s
index 54ee15b0..95c8f590 100644
--- a/bootrom/flash-reset.s
+++ b/bootrom/flash-reset.s
@@ -18,7 +18,7 @@ flashstart:
 	b	prefetch_abort
 	b	data_abort
 	b	. @reserved
-	b	irq
+	ldr	pc, [pc,#-0xF20]	@ IRQ - read the AIC
 	b	fiq
 
 reset:
@@ -47,7 +47,5 @@ prefetch_abort:
 	b	.
 data_abort:
 	b	.
-irq:
-	b	.
 fiq:
 	b	.