Commit bbe0d4db53e30affae1194882075e1e0997c4c5c
Committed by
Tom Warren
1 parent
3d0158ae18
Exists in
v2017.01-smarct4x
and in
34 other branches
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>
Showing 1 changed file with 7 additions and 1 deletions Side-by-side Diff
include/configs/tegra-common-post.h
... | ... | @@ -40,8 +40,14 @@ |
40 | 40 | #define STDOUT_LCD "" |
41 | 41 | #endif |
42 | 42 | |
43 | +#ifdef CONFIG_CROS_EC_KEYB | |
44 | +#define STDOUT_CROS_EC ",cros-ec-keyb" | |
45 | +#else | |
46 | +#define STDOUT_CROS_EC "" | |
47 | +#endif | |
48 | + | |
43 | 49 | #define TEGRA_DEVICE_SETTINGS \ |
44 | - "stdin=serial" STDIN_KBD_KBC STDIN_KBD_USB ""\0" \" \ | |
50 | + "stdin=serial" STDIN_KBD_KBC STDIN_KBD_USB STDOUT_CROS_EC ""\0" \" \ | |
45 | 51 | "stdout=serial" STDOUT_LCD "\0" \ |
46 | 52 | "stderr=serial" STDOUT_LCD "\0" \ |
47 | 53 | "" |