mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-14 04:46:01 +01:00
mpc8548cds: Guard old ethernet code with !DM_ETH
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>
This commit is contained in:
parent
0040ed7e0c
commit
a34f971d97
@ -169,7 +169,8 @@ void lbc_sdram_init(void)
|
|||||||
#endif /* enable SDRAM init */
|
#endif /* enable SDRAM init */
|
||||||
}
|
}
|
||||||
|
|
||||||
void configure_rgmii(void)
|
#ifndef CONFIG_DM_ETH
|
||||||
|
static void configure_rgmii(void)
|
||||||
{
|
{
|
||||||
unsigned short temp;
|
unsigned short temp;
|
||||||
|
|
||||||
@ -248,3 +249,4 @@ int board_eth_init(struct bd_info *bis)
|
|||||||
|
|
||||||
return pci_eth_init(bis);
|
return pci_eth_init(bis);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user