]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: at91-sama5_common: fix for CONFIG_AT91_GPIO
authorWenyou Yang <wenyou.yang@atmel.com>
Thu, 13 Apr 2017 02:31:15 +0000 (10:31 +0800)
committerSimon Glass <sjg@chromium.org>
Thu, 13 Apr 2017 20:44:52 +0000 (14:44 -0600)
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>
include/configs/at91-sama5_common.h

index 3e979482f6a7b77d19962d4d9fef310774f31f29..dbd4d843ebdeee9c6d85539a0f83c763796ff066 100644 (file)
@@ -27,7 +27,9 @@
 #define CONFIG_ENV_VARS_UBOOT_CONFIG
 
 /* general purpose I/O */
+#ifndef CONFIG_DM_GPIO
 #define CONFIG_AT91_GPIO
+#endif
 
 
 /*