mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 08:01:08 +00:00
configs: tegra-common-post: add GPIO keyboard as STDIN device
GPIO keyboard is used on many newly upstreamed devices. Tested-by: Andreas Westman Dorcsak <hedmoo@yahoo.com> # ASUS Grouper E1565 Tested-by: Svyatoslav Ryhel <clamor95@gmail.com> # LG P895 T30 Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
parent
da880bf7c1
commit
12b3887088
1 changed files with 7 additions and 1 deletions
|
@ -35,6 +35,12 @@
|
|||
#define STDIN_KBD_USB ""
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_BUTTON_KEYBOARD
|
||||
#define STDIN_BTN_KBD ",button-kbd"
|
||||
#else
|
||||
#define STDIN_BTN_KBD ""
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_VIDEO
|
||||
#define STDOUT_VIDEO ",vidconsole"
|
||||
#else
|
||||
|
@ -48,7 +54,7 @@
|
|||
#endif
|
||||
|
||||
#define TEGRA_DEVICE_SETTINGS \
|
||||
"stdin=serial" STDIN_KBD_KBC STDIN_KBD_USB STDOUT_CROS_EC "\0" \
|
||||
"stdin=serial" STDIN_KBD_KBC STDIN_KBD_USB STDOUT_CROS_EC STDIN_BTN_KBD "\0" \
|
||||
"stdout=serial" STDOUT_VIDEO "\0" \
|
||||
"stderr=serial" STDOUT_VIDEO "\0" \
|
||||
""
|
||||
|
|
Loading…
Reference in a new issue