[openfirmware] [commit] r2283 - dev/olpc/kb3700
repository service
svn at openfirmware.info
Wed Jun 15 07:36:11 CEST 2011
Author: rsmith
Date: Wed Jun 15 07:36:10 2011
New Revision: 2283
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2283
Log:
OLPC XO 1.75: Add als@ and ec-hash$ EC commands
als@ reads the current als reading.
ec-hash$ reads the EC commit ID hash.
Modified:
dev/olpc/kb3700/eccmds.fth
Modified: dev/olpc/kb3700/eccmds.fth
==============================================================================
--- dev/olpc/kb3700/eccmds.fth Wed Jun 15 07:36:06 2011 (r2282)
+++ dev/olpc/kb3700/eccmds.fth Wed Jun 15 07:36:10 2011 (r2283)
@@ -62,11 +62,19 @@
0 d# 16 h# 53 do-ec-cmd-buf ( adr )
d# 16 cscount-max
;
+
: ec-user$ ( -- adr len )
0 d# 16 h# 54 do-ec-cmd-buf ( adr )
d# 16 cscount-max
;
+: ec-hash$ ( -- adr len )
+ 0 d# 16 h# 55 do-ec-cmd-buf ( adr )
+ d# 16 cscount-max
+;
+
+: als@ ( -- w ) h# 56 ec-cmd-w@ ;
+
[ifdef] notdef \ These commands are awaiting documentation on their interfaces
#define CMD_READ_EXT_SCI_MASK 0x37
#define CMD_WRITE_EXT_SCI_MASK 0x38
More information about the openfirmware
mailing list