aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2020-02-12 23:31:49 +0100
committerLubomir Rintel <lkundrak@v3.sk>2020-03-23 18:53:04 +0100
commit21c2be338d253958056c41fb4bf446228e36751b (patch)
tree58a8a384a8b407f697f0e97e5c192dea21e38b39
parentc44062b15e7a0ff1d7bfd945d706331b5826b2fd (diff)
downloadopenfirmware-21c2be338d253958056c41fb4bf446228e36751b.tar.gz
mmp3/gic: only fix up OLPC specific nodes on OLPC
-rw-r--r--cpu/arm/mmp3/gic.fth10
1 files changed, 6 insertions, 4 deletions
diff --git a/cpu/arm/mmp3/gic.fth b/cpu/arm/mmp3/gic.fth
index 024f660d..4a2a4f5b 100644
--- a/cpu/arm/mmp3/gic.fth
+++ b/cpu/arm/mmp3/gic.fth
@@ -67,16 +67,18 @@ dev /interrupt-controller@1d0 gicparent dend
\ modify irqs to use 3 cells instead of 1
dev /timer h# 0d irqdef dend
-dev /sspa h# 03 irqdef dend
-dev /ap-sp h# 28 irqdef dend
dev /usb h# 2c irqdef dend
-dev /ec-spi h# 14 irqdef dend
+[ifdef] olpc
+ dev /sspa h# 03 irqdef dend
+ dev /ap-sp h# 28 irqdef dend
+ dev /flash h# 00 irqdef dend
+ dev /ec-spi h# 14 irqdef dend
+[then]
dev /sd/sdhci@d4280000 h# 27 irqdef dend
dev /sd/sdhci@d4280800 h# 34 irqdef dend
dev /sd/sdhci@d4281000 h# 35 irqdef dend
dev /display h# 29 irqdef dend
dev /vmeta h# 1a irqdef dend
-dev /flash h# 00 irqdef dend
dev /uart@d4016000 h# 2e irqdef dend
dev /uart@d4030000 h# 1b irqdef dend
dev /uart@d4017000 h# 1c irqdef dend