Author: rsmith Date: Tue Apr 6 19:52:23 2010 New Revision: 1781 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/1781
Log: Add DS2756 EEPROM recall all banks command to batman
Modified: dev/olpc/kb3700/battery.fth
Modified: dev/olpc/kb3700/battery.fth ============================================================================== --- dev/olpc/kb3700/battery.fth Tue Apr 6 19:34:07 2010 (r1780) +++ dev/olpc/kb3700/battery.fth Tue Apr 6 19:52:23 2010 (r1781) @@ -480,6 +480,12 @@
\ bg-* words access the gauge directly via 1w rather than \ read the value from the ec cache +: bg-recall + ds-bank0 1w-recall + ds-bank1 1w-recall + ds-bank2 1w-recall +; + : bg-acr@ ( -- acr ) batman-init? ds-bank-buf 2 ds-acr 1w-read ( )