Author: rsmith Date: Thu Jun 16 03:56:03 2011 New Revision: 2288 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2288
Log: OLPC XO-1.5,1.75: Remove mppt-pct
The Intersil charger only has 0x20 graduations of resolution in current limit so setting this in percent doesn't make as much sense as it did when the max was 0xff. Was only used in manual testing/debug and now all that is done with 'mppt-limit!' .
Modified: dev/olpc/kb3700/batstat.fth
Modified: dev/olpc/kb3700/batstat.fth ============================================================================== --- dev/olpc/kb3700/batstat.fth Wed Jun 15 23:06:00 2011 (r2287) +++ dev/olpc/kb3700/batstat.fth Thu Jun 16 03:56:03 2011 (r2288) @@ -128,17 +128,12 @@ ; [then]
-: (mppt-pct) 255 * 100 / mppt-limit! ; - - : .mppt mppt-limit@ ( pwr_limit ) vin@ ( pwr_limit VA2 ) ." Vin: " .d ." PWM: " . ;
-: mppt-pct (mppt-pct) .mppt cr ; - : watch-mppt ( -- ) begin (cr .mppt kill-line d# 500 ms key? until key drop
openfirmware@openfirmware.info