1
0
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:
Ben Warren
2008-08-26 22:12:36 -07:00
parent b5710d9974
commit b31da88b9c
3 changed files with 10 additions and 5 deletions

View File

@@ -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