Author: wmb
Date: Sun Sep 2 01:42:57 2012
New Revision: 3269
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3269
Log:
OLPC ARM - Map the memory controller in early startup code so it doesn't have to be done later.
Modified:
cpu/arm/mmp2/initmmu.fth
Modified: cpu/arm/mmp2/initmmu.fth
==============================================================================
--- cpu/arm/mmp2/initmmu.fth Sat Sep 1 20:48:30 2012 (r3268)
+++ cpu/arm/mmp2/initmmu.fth Sun Sep 2 01:42:57 2012 (r3269)
@@ -358,6 +358,11 @@
set r3,#0xc02 \ No caching or write buffering
bl `map-sections-v=p`
+ set r1,`memctrl-pa #` \ Address of memory controller
+ set r2,`/io #` \ Size of I/O region
+ set r3,#0xc02 \ No caching or write buffering
+ bl `map-sections-v=p`
+
[ifdef] /audio-sram-map
set r1,`audio-sram-pa #` \ Address of Audio SRAM
set r2,`/audio-sram-map #` \ Map size of audio SRAM