diff options
author | Simon Glass <sjg@chromium.org> | 2014-10-30 20:25:49 -0600 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2014-11-05 13:09:58 +0100 |
commit | 7aa9748584227bd97b642f8127382c75df5f4730 (patch) | |
tree | 649d84b9b69905ed149056c6010de5495285062d /include/configs/sunxi-common.h | |
parent | e6a8b0dabc8a91f9eda54548e56f54be65a725c4 (diff) |
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/configs/sunxi-common.h')
-rw-r--r-- | include/configs/sunxi-common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index 4d889918505..316e7d93df4 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 /* |