projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0040ed7
)
mpc8548cds: Guard old ethernet code with !DM_ETH
author
Tom Rini
<trini@konsulko.com>
Tue, 2 Aug 2022 11:33:39 +0000
(07:33 -0400)
committer
Tom Rini
<trini@konsulko.com>
Sun, 21 Aug 2022 01:18:15 +0000
(21:18 -0400)
There is some code here for the legacy non-DM_ETH case, add a guard
around it.
Cc: Priyanka Jain <priyanka.jain@nxp.com>
Cc: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
board/freescale/mpc8548cds/mpc8548cds.c
patch
|
blob
|
history
diff --git
a/board/freescale/mpc8548cds/mpc8548cds.c
b/board/freescale/mpc8548cds/mpc8548cds.c
index
dac821f
..
8886d8b
100644
(file)
--- a/
board/freescale/mpc8548cds/mpc8548cds.c
+++ b/
board/freescale/mpc8548cds/mpc8548cds.c
@@
-169,7
+169,8
@@
void lbc_sdram_init(void)
#endif /* enable SDRAM init */
}
-void configure_rgmii(void)
+#ifndef CONFIG_DM_ETH
+static void configure_rgmii(void)
{
unsigned short temp;
@@
-248,3
+249,4
@@
int board_eth_init(struct bd_info *bis)
return pci_eth_init(bis);
}
+#endif