From: Marek Vasut Date: Sat, 21 Mar 2020 16:38:57 +0000 (+0100) Subject: ARM: rmobile: Only register ethernet on V2H Blanche if not DM_ETH X-Git-Tag: v2020.04-rc5~17^2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=264398b2ec5dd5ee045939e11e14caeece4c8dde;p=oweals%2Fu-boot.git ARM: rmobile: Only register ethernet on V2H Blanche if not DM_ETH If the DM_ETH is enabled, the board-specific ethernet registeration should be disabled, make it so. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- diff --git a/board/renesas/blanche/blanche.c b/board/renesas/blanche/blanche.c index 471d80fc72..c15387366c 100644 --- a/board/renesas/blanche/blanche.c +++ b/board/renesas/blanche/blanche.c @@ -314,6 +314,7 @@ int board_init(void) } /* Added for BLANCHE(R-CarV2H board) */ +#ifndef CONFIG_DM_ETH int board_eth_init(bd_t *bis) { int rc = 0; @@ -338,6 +339,7 @@ int board_eth_init(bd_t *bis) return rc; } +#endif int dram_init(void) {