summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-10-18 21:17:17 -0600
committerSimon Glass <sjg@chromium.org>2015-11-19 20:13:40 -0700
commit1fa4bfde181c020274b9689af9b001c31ae43f0f (patch)
treed5123c985a3502f36c6e6dcd7462a5fbdc54846a /arch
parentf77f5e9be79c89d5105995528a7436d3a2458116 (diff)
downloadu-boot-imx-1fa4bfde181c020274b9689af9b001c31ae43f0f.zip
u-boot-imx-1fa4bfde181c020274b9689af9b001c31ae43f0f.tar.gz
u-boot-imx-1fa4bfde181c020274b9689af9b001c31ae43f0f.tar.bz2
dm: cros_ec: Convert cros_ec keyboard driver to driver model
Adjust the cros_ec keyboard driver to support driver model. Make this the default for all Exynos boards so that those that use a keyboard will build correctly with this driver. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/Kconfig1
-rw-r--r--arch/sandbox/Kconfig3
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 5ab0254..6542c38 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -419,6 +419,7 @@ config ARCH_EXYNOS
select DM_SERIAL
select DM_SPI
select DM_GPIO
+ select DM_KEYBOARD
config ARCH_S5PC1XX
bool "Samsung S5PC1XX"
diff --git a/arch/sandbox/Kconfig b/arch/sandbox/Kconfig
index f078c9e..25e316c 100644
--- a/arch/sandbox/Kconfig
+++ b/arch/sandbox/Kconfig
@@ -17,4 +17,7 @@ config PCI
used on some devices to allow the CPU to communicate with its
peripherals.
+config DM_KEYBOARD
+ default y
+
endmenu