summaryrefslogtreecommitdiffstats
path: root/include/configs/exynos5250-dt.h
diff options
context:
space:
mode:
authorHung-ying Tyan <tyanh@chromium.org>2013-05-15 18:27:34 +0800
committerTom Rini <trini@ti.com>2013-06-26 10:15:52 -0400
commiteb28fdac79bb145d6978abe86a2e0ad0a545319d (patch)
treef758d8cfa7c55f78eb31653afb276fec0cc633ed /include/configs/exynos5250-dt.h
parent60744a11878607d9e69c0579593688d817263abf (diff)
downloadblackbird-obmc-uboot-eb28fdac79bb145d6978abe86a2e0ad0a545319d.tar.gz
blackbird-obmc-uboot-eb28fdac79bb145d6978abe86a2e0ad0a545319d.zip
cros: exynos: enable cros-ec for smdk5250
This patch initiates cros-ec in board_init() to enable it for smdk5250. This patch depends on the patch in the MMC series that brings in exynos5-dt.c. Refer to http://patchwork.ozlabs.org/patch/240084. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Vincent Palatin <vpalatin@chromium.org> Signed-off-by: Hung-ying Tyan <tyanh@chromium.org> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/configs/exynos5250-dt.h')
-rw-r--r--include/configs/exynos5250-dt.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/configs/exynos5250-dt.h b/include/configs/exynos5250-dt.h
index 163243572f..c104a3704f 100644
--- a/include/configs/exynos5250-dt.h
+++ b/include/configs/exynos5250-dt.h
@@ -82,11 +82,19 @@
#define CONFIG_BAUDRATE 115200
#define EXYNOS5_DEFAULT_UART_OFFSET 0x010000
+/* Enable keyboard */
+#define CONFIG_CROS_EC /* CROS_EC protocol */
+#define CONFIG_CROS_EC_SPI /* Support CROS_EC over SPI */
+#define CONFIG_CROS_EC_I2C /* Support CROS_EC over I2C */
+#define CONFIG_CROS_EC_KEYB /* CROS_EC keyboard input */
+#define CONFIG_CMD_CROS_EC
+#define CONFIG_KEYBOARD
+
/* Console configuration */
#define CONFIG_CONSOLE_MUX
#define CONFIG_SYS_CONSOLE_IS_IN_ENV
#define EXYNOS_DEVICE_SETTINGS \
- "stdin=serial\0" \
+ "stdin=serial,cros-ec-keyb\0" \
"stdout=serial,lcd\0" \
"stderr=serial,lcd\0"
OpenPOWER on IntegriCloud