[openfirmware] [commit] r3093 - in cpu/arm/olpc: . 1.75 cl4
repository service
svn at openfirmware.info
Mon Jul 30 09:12:56 CEST 2012
Author: pgf
Date: Mon Jul 30 09:12:55 2012
New Revision: 3093
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3093
Log:
config ec-flags-offset on a per laptop basis
Modified:
cpu/arm/olpc/1.75/config.fth
cpu/arm/olpc/cl4/config.fth
cpu/arm/olpc/edi.fth
Modified: cpu/arm/olpc/1.75/config.fth
==============================================================================
--- cpu/arm/olpc/1.75/config.fth Mon Jul 30 09:12:43 2012 (r3092)
+++ cpu/arm/olpc/1.75/config.fth Mon Jul 30 09:12:55 2012 (r3093)
@@ -29,7 +29,8 @@
d# 9999 constant machine-type \ Backwards compatibility with non-device-tree kernel
char 4 constant expected-ec-version
-h# 8000 value /ec-flash
+h# 8000 constant /ec-flash
+h# 7e80 constant ec-flags-offset \ don't program or verify this page
\ These constants are correct for XO-1.75 and XO-CL4; they might
\ need to be changed for different hardware. See setup-gpios-hack
Modified: cpu/arm/olpc/cl4/config.fth
==============================================================================
--- cpu/arm/olpc/cl4/config.fth Mon Jul 30 09:12:43 2012 (r3092)
+++ cpu/arm/olpc/cl4/config.fth Mon Jul 30 09:12:55 2012 (r3093)
@@ -25,7 +25,8 @@
d# 10001 constant machine-type \ Backwards compatibility with non-device-tree kernel
char 5 constant expected-ec-version
-h# 10000 value /ec-flash
+h# ec00 constant /ec-flash
+h# eb80 constant ec-flags-offset \ don't program or verify this page
fload ${BP}/cpu/arm/mmp3/soc-config.fth
Modified: cpu/arm/olpc/edi.fth
==============================================================================
--- cpu/arm/olpc/edi.fth Mon Jul 30 09:12:43 2012 (r3092)
+++ cpu/arm/olpc/edi.fth Mon Jul 30 09:12:55 2012 (r3093)
@@ -191,7 +191,7 @@
h# 70 flash-cmd ( ) \ Program page command
wait-flash-busy ( )
;
-h# 7e80 constant ec-flags-offset
+
: edi-program-flash ( adr len offset -- )
cr ( adr len offset )
swap 0 ?do ( adr offset )
More information about the openfirmware
mailing list