summaryrefslogtreecommitdiff
path: root/include/configs/at91-sama5_common.h
diff options
context:
space:
mode:
authorWenyou Yang <wenyou.yang@atmel.com>2017-04-13 02:31:15 (GMT)
committerSimon Glass <sjg@chromium.org>2017-04-13 20:44:52 (GMT)
commitfc977b94a4988bd83e079c54c59c0754f8301b7f (patch)
tree123289cfac62c55826aa3e2c4d7e762b96bcc2de /include/configs/at91-sama5_common.h
parent7abd5aabfa8a2137c82d2f401d0da7413dd8cfaf (diff)
downloadu-boot-fc977b94a4988bd83e079c54c59c0754f8301b7f.tar.xz
configs: at91-sama5_common: fix for CONFIG_AT91_GPIO
Add #ifndef CONFIG_DM_GPIO for CONFIG_AT91_GPIO define to avoid the redefine compilation error. Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com> Reviewed-by: Andreas Bießmann <andreas@biessmann.org>
Diffstat (limited to 'include/configs/at91-sama5_common.h')
-rw-r--r--include/configs/at91-sama5_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/at91-sama5_common.h b/include/configs/at91-sama5_common.h
index 3e97948..dbd4d84 100644
--- a/include/configs/at91-sama5_common.h
+++ b/include/configs/at91-sama5_common.h
@@ -27,7 +27,9 @@
#define CONFIG_ENV_VARS_UBOOT_CONFIG
/* general purpose I/O */
+#ifndef CONFIG_DM_GPIO
#define CONFIG_AT91_GPIO
+#endif
/*