mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
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 <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
This commit is contained in:
@@ -314,6 +314,7 @@ int board_init(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Added for BLANCHE(R-CarV2H board) */
|
/* Added for BLANCHE(R-CarV2H board) */
|
||||||
|
#ifndef CONFIG_DM_ETH
|
||||||
int board_eth_init(bd_t *bis)
|
int board_eth_init(bd_t *bis)
|
||||||
{
|
{
|
||||||
int rc = 0;
|
int rc = 0;
|
||||||
@@ -338,6 +339,7 @@ int board_eth_init(bd_t *bis)
|
|||||||
|
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
int dram_init(void)
|
int dram_init(void)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user