Author: wmb Date: Sat Jan 8 10:23:46 2011 New Revision: 2100 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2100
Log: XO-1.75 A2 - Fixed bug in keypad driver that caused game key misreading.
Modified: cpu/arm/mmp2/keypad.fth
Modified: cpu/arm/mmp2/keypad.fth ============================================================================== --- cpu/arm/mmp2/keypad.fth Sat Jan 1 19:09:22 2011 (r2099) +++ cpu/arm/mmp2/keypad.fth Sat Jan 8 10:23:46 2011 (r2100) @@ -8,7 +8,7 @@ : kp! ( n offset -- ) h# d4012000 + l! ; : kp@ ( offset -- n ) h# d4012000 + l@ ; : keypad-direct-mode ( #keys -- ) - 1+ 6 lshift h# 202 or 0 kp! + 1- 6 lshift h# 202 or 0 kp! ; : scan-keypad ( -- n ) 0 kp@ h# 4000.0000 or 0 kp!