Author: wmb Date: Mon Jun 27 18:52:36 2011 New Revision: 2312 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2312
Log: OLPC XO-1.75 - support both EC-mediated and SP-mediated PS/2 keyboard and touchpad.
Modified: cpu/arm/olpc/1.75/fw.bth
Modified: cpu/arm/olpc/1.75/fw.bth ============================================================================== --- cpu/arm/olpc/1.75/fw.bth Fri Jun 24 15:01:18 2011 (r2311) +++ cpu/arm/olpc/1.75/fw.bth Mon Jun 27 18:52:36 2011 (r2312) @@ -318,11 +318,15 @@
fload ${BP}/dev/hdaudio/noiseburst.fth \ audio-test support package
+0 value sp-kbd-ih : console-start ( -- ) install-mux-io cursor-off true to text-on?
+ " /ap-sp/keyboard" open-dev to sp-kbd-ih + sp-kbd-ih if sp-kbd-ih add-input then + " //null" open-dev to null-ih \ For text-off state ; : keyboard-off ( -- ) @@ -331,6 +335,11 @@ keyboard-ih close-dev 0 to keyboard-ih then + sp-kbd-ih if + sp-kbd-ih remove-input + sp-kbd-ih close-dev + 0 to sp-kbd-ih + then ; : interpreter-init ( -- ) hex