Author: quozl Date: Fri Jan 4 03:50:09 2013 New Revision: 3509 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3509
Log: OLPC XO-1.75 XO-4 - bat-status@ gave an EC command result timeout on XO-1.75, caused by EC API version being treated as cross-platform when it should not have been. XO-4 no longer needs EC API version 4 support, so remove it.
Modified: dev/olpc/kb3700/eccmds.fth
Modified: dev/olpc/kb3700/eccmds.fth ============================================================================== --- dev/olpc/kb3700/eccmds.fth Thu Jan 3 23:54:09 2013 (r3508) +++ dev/olpc/kb3700/eccmds.fth Fri Jan 4 03:50:09 2013 (r3509) @@ -114,24 +114,11 @@
\ Commands that are different for XO-4
-: bat-status16@ ( -- w ) h# 70 ec-cmd-w@ ; [ifdef] olpc-xo4 +: bat-status16@ ( -- w ) h# 70 ec-cmd-w@ ; ' bat-status16@ is bat-status@ [then]
-\ until EC 0.3.04 and earlier are purged from prototype population, -\ choose command based on API version reported by EC. -: bat-status@' ( -- w ) - ec-api-ver@ 5 < if - ['] bat-status8@ - else - ['] bat-status16@ - then - is bat-status@ - bat-status@ -; -' bat-status@' is bat-status@ - \ LICENSE_BEGIN \ Copyright (c) 2010 FirmWorks \