mirror of
https://xff.cz/git/u-boot/
synced 2025-10-12 13:36:59 +02:00
Moved initialization of FSL_MCDMAFEC Ethernet driver to CPU directory
Added a cpu_eth_init() function to cpu/mcf547x_8x directory and removed code from net/eth.c Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
This commit is contained in:
@@ -141,3 +141,12 @@ int watchdog_init(void)
|
||||
return (0);
|
||||
}
|
||||
#endif /* CONFIG_HW_WATCHDOG */
|
||||
|
||||
#if defined(CONFIG_FSLDMAFEC)
|
||||
extern int mcdmafec_initialize(bd_t *bis);
|
||||
|
||||
int cpu_eth_init(bd_t *bis)
|
||||
{
|
||||
return mcdmafec_initialize(bis);
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user