summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-10-30 20:25:49 -0600
committerHans de Goede <hdegoede@redhat.com>2014-11-05 13:09:58 +0100
commit7aa9748584227bd97b642f8127382c75df5f4730 (patch)
tree649d84b9b69905ed149056c6010de5495285062d /include
parente6a8b0dabc8a91f9eda54548e56f54be65a725c4 (diff)
downloadu-boot-imx-7aa9748584227bd97b642f8127382c75df5f4730.zip
u-boot-imx-7aa9748584227bd97b642f8127382c75df5f4730.tar.gz
u-boot-imx-7aa9748584227bd97b642f8127382c75df5f4730.tar.bz2
dm: sunxi: Modify the GPIO driver to support driver model
This adds driver model support to the sunxi GPIO driver, using the device tree to trigger binding of the driver. The driver will still operate without driver model too. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/sunxi-common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
index 4d88991..316e7d9 100644
--- a/include/configs/sunxi-common.h
+++ b/include/configs/sunxi-common.h
@@ -29,6 +29,7 @@
#if !defined(CONFIG_SPL_BUILD) && defined(CONFIG_DM)
# define CONFIG_CMD_DM
+# define CONFIG_DM_GPIO
#endif
/*