projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4666521
)
ARM: rmobile: Only register ethernet on V2H Blanche if not DM_ETH
author
Marek Vasut
<marek.vasut+renesas@gmail.com>
Sat, 21 Mar 2020 16:38:57 +0000
(17:38 +0100)
committer
marex
<marex@desktop.lan>
Mon, 30 Mar 2020 09:35:23 +0000
(11:35 +0200)
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>
board/renesas/blanche/blanche.c
patch
|
blob
|
history
diff --git
a/board/renesas/blanche/blanche.c
b/board/renesas/blanche/blanche.c
index 471d80fc72f5c44154fa84efa94efcaf854c031b..c15387366c756c6489ff9185e9aa3e6e26f030e0 100644
(file)
--- 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)
{