[openfirmware] [commit] r3323 - cpu/arm/olpc

repository service svn at openfirmware.info
Sat Sep 22 04:38:48 CEST 2012


Author: wmb
Date: Sat Sep 22 04:38:47 2012
New Revision: 3323
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3323

Log:
OLPC XO-4 - Fixed size problem in /flash and /dropins device nodes that caused problems when the set of dropin modules went past the 1 MiB boundary.  This didn't cause any problems with Q7B01 because, despite being a 2 MiB image file, the stuff inside that image fit in 1 MiB.

Modified:
   cpu/arm/olpc/build-fw.fth

Modified: cpu/arm/olpc/build-fw.fth
==============================================================================
--- cpu/arm/olpc/build-fw.fth	Fri Sep 21 05:36:35 2012	(r3322)
+++ cpu/arm/olpc/build-fw.fth	Sat Sep 22 04:38:47 2012	(r3323)
@@ -150,7 +150,7 @@
 
    " /apbc" encode-phandle d# 19 encode-int encode+ " clocks" property
    d# 0 " interrupts" integer-property
-   h# 10.0000 value /device
+   /rom value /device
    my-address my-space h# 100 reg
    fload ${BP}/dev/nonmmflash.fth
 end-package
@@ -160,7 +160,7 @@
 0 0  " 20000"  " /flash" begin-package
    " dropins" device-name
 
-   h# e0000 constant /device
+   /rom h# 20000 - constant /device
    fload ${BP}/dev/subrange.fth
 end-package
 



More information about the openfirmware mailing list