summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Kleine-König <uwe@kleine-koenig.org>2013-07-16 23:18:04 +0200
committerUwe Kleine-König <uwe@kleine-koenig.org>2013-07-16 23:18:04 +0200
commit39efd4df723844d0511b05dbdb16308a1453e3c0 (patch)
tree3c28c0ab3f8ff000f86154b09b7ddaa62edc3476
parent086d331a2c00111eeb243a9eb9848038c3245ff2 (diff)
downloadOSELAS.BSP-EnergyMicro-Gecko-39efd4df723844d0511b05dbdb16308a1453e3c0.tar.gz
OSELAS.BSP-EnergyMicro-Gecko-39efd4df723844d0511b05dbdb16308a1453e3c0.tar.xz
geckoboot: add a workaround that seems to fix getting no eth irqs
-rw-r--r--local_src/geckoboot-2013.01.0/geckoboot.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/local_src/geckoboot-2013.01.0/geckoboot.S b/local_src/geckoboot-2013.01.0/geckoboot.S
index 1cfe3e3..f00299f 100644
--- a/local_src/geckoboot-2013.01.0/geckoboot.S
+++ b/local_src/geckoboot-2013.01.0/geckoboot.S
@@ -237,6 +237,8 @@ bcinit:
.short 0x0018, 0x1300 @ enable UART mux and ETH
.short 0x0014, 0x0001 @ /
.short 0x001a, 0x0001 @ ETH
+ .short 0x0042, 0x0010 @ workaround bug in BC's irq detection
+ .short 0x0040, 0x0010
bcinit_end:
.size bcinit, . - bcinit