diff options
Diffstat (limited to 'board/AndesTech/adp-ae3xx/adp-ae3xx.c')
-rw-r--r-- | board/AndesTech/adp-ae3xx/adp-ae3xx.c | 4 |
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); |