[openfirmware] [commit] r3519 - in cpu/arm: mmp2 olpc

repository service svn at openfirmware.info
Fri Jan 18 01:30:58 CET 2013


Author: wmb
Date: Fri Jan 18 01:30:57 2013
New Revision: 3519
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3519

Log:
OLPC XO-4 - Added device node for GALCORE graphics accelerator.

Added:
   cpu/arm/mmp2/galcore.fth
Modified:
   cpu/arm/olpc/build-fw.fth

Added: cpu/arm/mmp2/galcore.fth
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ cpu/arm/mmp2/galcore.fth	Fri Jan 18 01:30:57 2013	(r3519)
@@ -0,0 +1,27 @@
+purpose: Device node for GALCORE graphics accelerator
+
+h# d420.d000 constant gpu-pa  \ Base of GPU
+h#      1000 constant /gpu
+
+dev /
+new-device
+   " gpu" device-name
+   " mrvl,galcore" +compatible
+   gpu-pa /gpu reg
+[ifdef] mmp2
+   8 encode-int " interrupts" property
+   " /interrupt-controller" encode-phandle " interrupt-parent" property
+   " galcore 2D" encode-string  encode+ " interrupt-names" property
+[then]
+
+[ifdef] mmp3
+   d# 0 encode-int  2 encode-int encode+ " interrupts" property
+   " /interrupt-controller/interrupt-controller at 1c0" encode-phandle " interrupt-parent" property
+   " galcore 3D" encode-string " galcore 2D" encode-string  encode+ " interrupt-names" property
+[then]
+
+
+   " /pmua" encode-phandle d# 11 encode-int encode+ " clocks" property
+   " GCCLK" " clock-names" string-property
+finish-device
+device-end

Modified: cpu/arm/olpc/build-fw.fth
==============================================================================
--- cpu/arm/olpc/build-fw.fth	Thu Jan 17 22:26:48 2013	(r3518)
+++ cpu/arm/olpc/build-fw.fth	Fri Jan 18 01:30:57 2013	(r3519)
@@ -235,6 +235,9 @@
 end-package
 
 fload ${BP}/cpu/arm/olpc/lcd.fth
+[ifdef] mmp3
+fload ${BP}/cpu/arm/mmp3/galcore.fth
+[then]
 fload ${BP}/cpu/arm/olpc/sdhci.fth
 
 devalias net /wlan



More information about the openfirmware mailing list