Author: wmb Date: 2009-10-30 08:36:39 +0100 (Fri, 30 Oct 2009) New Revision: 1446
Modified: dev/olpc/kb3700/ecio.fth Log: Added new "no-kbc-reboot" command for EC in support of OLPC trac 9564. It takes advantage of a new EC feature that lets you turn the EC back on without a CPU reboot after shutting it off for the purpose of reprogramming the SPI FLASH. This should only be used for the manufacturing data area, because you want to reboot after reprogramming the CPU firmware.
Modified: dev/olpc/kb3700/ecio.fth =================================================================== --- dev/olpc/kb3700/ecio.fth 2009-10-29 02:18:53 UTC (rev 1445) +++ dev/olpc/kb3700/ecio.fth 2009-10-30 07:36:39 UTC (rev 1446) @@ -288,6 +288,8 @@ true to kbc-off? ;
+: no-kbc-reboot ( -- ) 7 h# ff01 ec! ; + : io-spi@ ( reg# -- b ) h# fea8 + ec@ ; : io-spi! ( b reg# -- ) h# fea8 + ec! ;
openfirmware@openfirmware.info