summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-10-20 19:48:40 -0600
committerSimon Glass <sjg@chromium.org>2014-10-22 10:36:36 -0600
commitb8809e60cdb5ab09fb28a0903f25b2878483ec04 (patch)
treef94b68057ebd8916f3cddf5ea4091b6e26caaa83 /include
parent7f1961018cb494c029fcbb446e6562064735ec5e (diff)
downloadu-boot-imx-b8809e60cdb5ab09fb28a0903f25b2878483ec04.zip
u-boot-imx-b8809e60cdb5ab09fb28a0903f25b2878483ec04.tar.gz
u-boot-imx-b8809e60cdb5ab09fb28a0903f25b2878483ec04.tar.bz2
dm: exynos: gpio: Convert to driver model
Convert the exynos GPIO driver to driver model. This implements the generic GPIO interface but not the extra Exynos-specific functions. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/configs/exynos-common.h4
-rw-r--r--include/configs/s5p_goni.h3
-rw-r--r--include/configs/smdkc100.h3
3 files changed, 10 insertions, 0 deletions
diff --git a/include/configs/exynos-common.h b/include/configs/exynos-common.h
index 371f32d..4a4b22b 100644
--- a/include/configs/exynos-common.h
+++ b/include/configs/exynos-common.h
@@ -17,6 +17,10 @@
#include <linux/sizes.h>
#define CONFIG_SYS_GENERIC_BOARD
+#define CONFIG_DM
+#define CONFIG_CMD_DM
+#define CONFIG_DM_GPIO
+
#define CONFIG_ARCH_CPU_INIT
#define CONFIG_DISPLAY_CPUINFO
#define CONFIG_DISPLAY_BOARDINFO
diff --git a/include/configs/s5p_goni.h b/include/configs/s5p_goni.h
index 781d847..76b0503 100644
--- a/include/configs/s5p_goni.h
+++ b/include/configs/s5p_goni.h
@@ -289,5 +289,8 @@
#define CONFIG_OF_LIBFDT
#define CONFIG_SYS_GENERIC_BOARD
+#define CONFIG_DM
+#define CONFIG_CMD_DM
+#define CONFIG_DM_GPIO
#endif /* __CONFIG_H */
diff --git a/include/configs/smdkc100.h b/include/configs/smdkc100.h
index a7eb33e..424e130 100644
--- a/include/configs/smdkc100.h
+++ b/include/configs/smdkc100.h
@@ -224,5 +224,8 @@
#define CONFIG_OF_LIBFDT
#define CONFIG_SYS_GENERIC_BOARD
+#define CONFIG_DM
+#define CONFIG_CMD_DM
+#define CONFIG_DM_GPIO
#endif /* __CONFIG_H */