Author: wmb Date: 2009-10-30 08:59:49 +0100 (Fri, 30 Oct 2009) New Revision: 1450
Modified: cpu/x86/pc/olpc/via/usb.fth Log: OLPC trac 9567 - Moved "usb-quiet" from "go-hook" to "linux-hook" to leave the USB devices active when booting other programs such as EMACS or (eventually) NANDblaster.
Modified: cpu/x86/pc/olpc/via/usb.fth =================================================================== --- cpu/x86/pc/olpc/via/usb.fth 2009-10-30 07:52:42 UTC (rev 1449) +++ cpu/x86/pc/olpc/via/usb.fth 2009-10-30 07:59:49 UTC (rev 1450) @@ -92,13 +92,13 @@ ;
: usb-quiet ( -- ) - [ ' go-hook behavior compile, ] \ Chain to old behavior + [ ' linux-hook behavior compile, ] \ Chain to old behavior " /usb@10,0" " reset-usb" execute-device-method drop " /usb@10,1" " reset-usb" execute-device-method drop " /usb@10,2" " reset-usb" execute-device-method drop " /usb@10,4" " reset-usb" execute-device-method drop ; -' usb-quiet to go-hook +' usb-quiet to linux-hook
\ Turn on USB power after a delay, to ensure that USB devices are reset correctly on boot : usb-power-off ( -- ) h# 4c acpi-l@ h# 400 invert and h# 4c acpi-l! ;
openfirmware@openfirmware.info