]> git.sur5r.net Git - u-boot/commitdiff
tegra: cros_ec: Add tegra support for Chrome OS EC
authorSimon Glass <sjg@chromium.org>
Fri, 5 Jun 2015 20:39:32 +0000 (14:39 -0600)
committerTom Warren <twarren@nvidia.com>
Tue, 9 Jun 2015 16:56:13 +0000 (09:56 -0700)
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>
include/configs/tegra-common-post.h

index 0cea795de1b4b1076c5d8da82bb46b8c70e94971..48c1a7a1b6791cc937c32afdfa9ece40a35201a1 100644 (file)
 #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" \
        ""