summaryrefslogtreecommitdiff
path: root/include/configs/at91-sama5_common.h
diff options
context:
space:
mode:
authorWenyou Yang <wenyou.yang@atmel.com>2017-04-13 10:31:15 +0800
committerSimon Glass <sjg@chromium.org>2017-04-13 14:44:52 -0600
commitfc977b94a4988bd83e079c54c59c0754f8301b7f (patch)
tree123289cfac62c55826aa3e2c4d7e762b96bcc2de /include/configs/at91-sama5_common.h
parent7abd5aabfa8a2137c82d2f401d0da7413dd8cfaf (diff)
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 3e979482f6..dbd4d843eb 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
/*