[openfirmware] [commit] r3753 - cpu/arm/mmp3

repository service svn at openfirmware.info
Fri Jan 2 00:34:17 CET 2015


Author: quozl
Date: Fri Jan  2 00:34:16 2015
New Revision: 3753
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3753

Log:
OLPC XO-4 - mmp3-gic, switch to using level triggered interrupts, for compatibility with prior use of ICU

Modified:
   cpu/arm/mmp3/gic.fth

Modified: cpu/arm/mmp3/gic.fth
==============================================================================
--- cpu/arm/mmp3/gic.fth	Tue Dec 30 01:53:50 2014	(r3752)
+++ cpu/arm/mmp3/gic.fth	Fri Jan  2 00:34:16 2015	(r3753)
@@ -52,7 +52,7 @@
 : irqdef ( irq# -- )
   0 encode-int
   rot encode-int encode+
-  1 encode-int encode+
+  4 encode-int encode+
   " interrupts" property
 ;
 
@@ -78,11 +78,21 @@
 \ dev /camera  1 irqdef  dend
 dev /ap-sp  28 irqdef  dend
 dev /usb  2c irqdef  dend
-dev /ec-spi 14 irqdef  dend
+dev /ec-spi
+  0 encode-int
+  h# 14 encode-int encode+
+  h# 4 encode-int encode+
+  " interrupts" property
+dend
 \ dev /sd/sdhci at d4217000  0 irqdef  dend
 dev /sd/sdhci at d4280000  27 irqdef  dend
 dev /sd/sdhci at d4281000  35 irqdef  dend
-dev /sd/sdhci at d4280800  34 irqdef  dend
+dev /sd/sdhci at d4280800
+  0 encode-int
+  h# 34 encode-int encode+
+  h# 4 encode-int encode+
+  " interrupts" property
+dend
 \ dev /gpu  0 2 irqdef2  dend
 dev /display  29 irqdef  dend
 dev /vmeta  1a irqdef  dend



More information about the openfirmware mailing list