diff options
author | Anton Staaf <robotboy@chromium.org> | 2011-07-22 12:36:51 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2011-08-29 10:59:11 -0700 |
commit | 8a3caf04534fa94253d199e2c5bb1ec6eff15863 (patch) | |
tree | 35705cf3dd1b6f1e00ef97bef2ee404514350ccd /board | |
parent | 0ee15331c1303bff9a830ef8cce3d81666df01eb (diff) |
Tegra: kbc: Add support for arrow keys
This patch adds a small FIFO that the tegra keyboard driver
can use to store conversions of keycodes to escape sequences
that U-Boot expects to see from its input device drivers. The
fifo also replaces the testc/getc last keypress management
code.
BUG=chromium-os:17999
TEST=Build firmware and test on Aebl, Kaen and Seaboard:
cros_workon-tegra2_aebl start chromeos-u-boot
cros_workon-tegra2_aebl start tegra2-public-firmware-fdts
emerge-tegra2_aebl -auDN --selective=n chromeos-bootimage \
chromeos-u-boot \
tegra2-public-firmware-fdts
cros_write_firmware --board tegra2_aebl
Break into booting Aebl and test that arrow keys work as expected
from physical keyboard.
Change-Id: Ie19a79ce33bf03a3dce2a17248d2119f0e7afa71
Reviewed-on: http://gerrit.chromium.org/gerrit/4601
Reviewed-by: Anton Staaf <robotboy@chromium.org>
Tested-by: Anton Staaf <robotboy@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/nvidia/seaboard/tegra2-aebl.dts | 4 | ||||
-rw-r--r-- | board/nvidia/seaboard/tegra2-arthur.dts | 4 | ||||
-rw-r--r-- | board/nvidia/seaboard/tegra2-kaen.dts | 4 | ||||
-rw-r--r-- | board/nvidia/seaboard/tegra2-seaboard.dts | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/board/nvidia/seaboard/tegra2-aebl.dts b/board/nvidia/seaboard/tegra2-aebl.dts index fee46be2572..e2b3280a7c9 100644 --- a/board/nvidia/seaboard/tegra2-aebl.dts +++ b/board/nvidia/seaboard/tegra2-aebl.dts @@ -114,8 +114,8 @@ 00 00 00 00 'l' '.' '9' 'o' 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 - 00 08 00 5C 0D ' ' 00 00 - 00 00 00 00 00 00 00 00]; + 00 08 00 5C 0D ' ' 1F 1E + 00 00 00 00 00 00 1D 1C]; keycode-shift = [00 00 00 00 00 00 00 00 00 1B 09 '~' 'A' 'Z' '!' 'Q' diff --git a/board/nvidia/seaboard/tegra2-arthur.dts b/board/nvidia/seaboard/tegra2-arthur.dts index dee6ca59187..bf02a631f0f 100644 --- a/board/nvidia/seaboard/tegra2-arthur.dts +++ b/board/nvidia/seaboard/tegra2-arthur.dts @@ -103,8 +103,8 @@ 00 00 00 00 'l' '.' '9' 'o' 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 - 00 08 00 5C 0D ' ' 00 00 - 00 00 00 00 00 00 00 00]; + 00 08 00 5C 0D ' ' 1F 1E + 00 00 00 00 00 00 1D 1C]; keycode-shift = [00 00 00 00 00 00 00 00 00 1B 09 '~' 'A' 'Z' '!' 'Q' diff --git a/board/nvidia/seaboard/tegra2-kaen.dts b/board/nvidia/seaboard/tegra2-kaen.dts index e1f2eb58b85..49303bc0084 100644 --- a/board/nvidia/seaboard/tegra2-kaen.dts +++ b/board/nvidia/seaboard/tegra2-kaen.dts @@ -126,8 +126,8 @@ 00 00 00 00 'l' '.' '9' 'o' 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 - 00 08 00 5C 0D ' ' 00 00 - 00 00 00 00 00 00 00 00]; + 00 08 00 5C 0D ' ' 1F 1E + 00 00 00 00 00 00 1D 1C]; keycode-shift = [00 00 00 00 00 00 00 00 00 1B 09 '~' 'A' 'Z' '!' 'Q' diff --git a/board/nvidia/seaboard/tegra2-seaboard.dts b/board/nvidia/seaboard/tegra2-seaboard.dts index dd5f74d9075..f3d3e23750a 100644 --- a/board/nvidia/seaboard/tegra2-seaboard.dts +++ b/board/nvidia/seaboard/tegra2-seaboard.dts @@ -137,8 +137,8 @@ 00 00 00 00 00 DC 00 DD 00 00 00 00 00 00 00 00 '[' 'p' 27 ';' '/' '.' 00 00 - 00 00 08 '3' '2' 00 00 00 - 00 7F 00 00 00 00 00 00 + 00 00 08 '3' '2' 1E 00 00 + 00 7F 00 00 00 1D 1F 1C 00 00 00 'q' 00 00 '1' 00 1B '`' 00 09 00 00 00 00]; |