
14 Oct
2011
14 Oct
'11
12:55 a.m.
On Thursday 13 October 2011 17:11:50 Ilya Yanok wrote:
--- /dev/null +++ b/arch/arm/cpu/armv7/omap3/emac.c
+/*
- Initializes on-chip ethernet controllers.
- to override, implement board_eth_init()
- */
+int cpu_eth_init(bd_t *bis) +{
- davinci_emac_initialize();
- return 0;
+}
shouldn't emac support always be up to the board porter and not the SoC code ? also, this should be: int cpu_eth_init(bd_t *bis) { return davinci_emac_initialize(); } -mike