summaryrefslogtreecommitdiff
path: root/board/AndesTech/adp-ae3xx
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-05-26 11:18:53 -0400
committerTom Rini <trini@konsulko.com>2017-05-26 11:18:53 -0400
commit8dc1b17f14c9201c7d0da0f33e404a7e051b2ec6 (patch)
treeb4566d2d99140d4180efc2ca9f32b2ddf3e310a8 /board/AndesTech/adp-ae3xx
parentbe62fbf376261ab3a4ed5db3bf54d5df9e216d9f (diff)
parentbe71a179bdd935336fb0bee8283be729144ac965 (diff)
Merge branch 'master' of git://git.denx.de/u-boot-nds32
Move FTMAC100 to where it should be, alphabetically in drivers/net/Kconfig Signed-off-by: Tom Rini <trini@konsulko.com> Conflicts: drivers/net/Kconfig
Diffstat (limited to 'board/AndesTech/adp-ae3xx')
-rw-r--r--board/AndesTech/adp-ae3xx/adp-ae3xx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/AndesTech/adp-ae3xx/adp-ae3xx.c b/board/AndesTech/adp-ae3xx/adp-ae3xx.c
index ab174fa30c..98ed4d9589 100644
--- a/board/AndesTech/adp-ae3xx/adp-ae3xx.c
+++ b/board/AndesTech/adp-ae3xx/adp-ae3xx.c
@@ -7,7 +7,7 @@
*/
#include <common.h>
-#if defined(CONFIG_FTMAC100)
+#if defined(CONFIG_FTMAC100) && !defined(CONFIG_DM_ETH)
#include <netdev.h>
#endif
#include <linux/io.h>
@@ -56,7 +56,7 @@ int dram_init_banksize(void)
return 0;
}
-#if defined(CONFIG_FTMAC100)
+#if defined(CONFIG_FTMAC100) && !defined(CONFIG_DM_ETH)
int board_eth_init(bd_t *bd)
{
return ftmac100_initialize(bd);