summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-06-05 14:39:32 -0600
committerTom Warren <twarren@nvidia.com>2015-06-09 09:56:13 -0700
commitbbe0d4db53e30affae1194882075e1e0997c4c5c (patch)
tree0dd15768c9cdcadd6fb932b6723790ccb66354e9 /include/configs
parent3d0158ae18bef2ac89979f4c90419d3add436c71 (diff)
downloadu-boot-imx-bbe0d4db53e30affae1194882075e1e0997c4c5c.zip
u-boot-imx-bbe0d4db53e30affae1194882075e1e0997c4c5c.tar.gz
u-boot-imx-bbe0d4db53e30affae1194882075e1e0997c4c5c.tar.bz2
tegra: cros_ec: Add tegra support for Chrome OS EC
This requires a change to stdin to include the 'cros-ec-keyb' input device. Put this in the common file, enabled by the relevant CONFIG. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/tegra-common-post.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/configs/tegra-common-post.h b/include/configs/tegra-common-post.h
index 0cea795..48c1a7a 100644
--- a/include/configs/tegra-common-post.h
+++ b/include/configs/tegra-common-post.h
@@ -40,8 +40,14 @@
#define STDOUT_LCD ""
#endif
+#ifdef CONFIG_CROS_EC_KEYB
+#define STDOUT_CROS_EC ",cros-ec-keyb"
+#else
+#define STDOUT_CROS_EC ""
+#endif
+
#define TEGRA_DEVICE_SETTINGS \
- "stdin=serial" STDIN_KBD_KBC STDIN_KBD_USB "\0" \
+ "stdin=serial" STDIN_KBD_KBC STDIN_KBD_USB STDOUT_CROS_EC "\0" \
"stdout=serial" STDOUT_LCD "\0" \
"stderr=serial" STDOUT_LCD "\0" \
""