On Fri, Jun 13, 2008 at 7:08 AM, Ben Warren <[EMAIL PROTECTED]> wrote: > This patch is the first step in cleaning up net/eth.c, by moving Ethernet > initialization to CPU or board-specific code. Initial implementation is > only on the Freescale TSEC controller, but others will be added soon. > > Signed-off-by: Ben Warren <[EMAIL PROTECTED]> > --- > > This time around, instead of adding code to each board that implements TSEC, I > implemented cpu_eth_init() in all architectures that have TSEC. Preferably, > this would have gone in new files in the CPU directories, but 'ld' made it > impossible to guarantee that the code would be linked into the final > executable. > Also, don't need include/netdev.h for now. > > cpu/mpc83xx/cpu.c | 20 ++++++++++++++++++++ > cpu/mpc85xx/cpu.c | 30 ++++++++++++++++++++++++++++++ > cpu/mpc86xx/cpu.c | 27 +++++++++++++++++++++++++++ > net/eth.c | 31 +++++++++++++++---------------- > 4 files changed, 92 insertions(+), 16 deletions(-) >
There have been no comments in 11 days, so I pushed this to the 'next' branch of the net repo on git.denx.de. regards, Ben ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ U-Boot-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/u-boot-users
