Patchwork [U-Boot,6/6] tegra: Enable keyboard for Seaboard

login
register
mail settings
Submitter Simon Glass
Date Dec. 3, 2011, 2:57 a.m.
Message ID <1322881071-11148-7-git-send-email-sjg@chromium.org>
Download mbox | patch
Permalink /patch/129038/
State New, archived
Headers show

Comments

Simon Glass - Dec. 3, 2011, 2:57 a.m.
This enables the standard keyboard on Seaboard.
Signed-off-by: Simon Glass <sjg@chromium.org>
---
 include/configs/seaboard.h |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

Patch

diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h
index a105c88..4d2852e 100644
--- a/include/configs/seaboard.h
+++ b/include/configs/seaboard.h
@@ -87,4 +87,13 @@ 
 #define CONFIG_USB_STORAGE
 #define CONFIG_CMD_USB
 
+/* Enable keyboard */
+#define CONFIG_TEGRA2_KEYBOARD
+#define CONFIG_KEYBOARD
+
+#undef TEGRA2_DEVICE_SETTINGS
+#define TEGRA2_DEVICE_SETTINGS	"stdin=serial,tegra-kbc\0" \
+					"stdout=serial\0" \
+					"stderr=serial\0"
+
 #endif /* __CONFIG_H */