projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7abd5aa
)
configs: at91-sama5_common: fix for CONFIG_AT91_GPIO
author
Wenyou Yang
<wenyou.yang@atmel.com>
Thu, 13 Apr 2017 02:31:15 +0000
(10:31 +0800)
committer
Simon 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
patch
|
blob
|
history
diff --git
a/include/configs/at91-sama5_common.h
b/include/configs/at91-sama5_common.h
index 3e979482f6a7b77d19962d4d9fef310774f31f29..dbd4d843ebdeee9c6d85539a0f83c763796ff066 100644
(file)
--- 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
/*