In message <[EMAIL PROTECTED]> you 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(-)
I understand that you will apply this to the net repository and send a pull request then? Please confirm. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] You are only young once, but you can stay immature indefinitely. ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ U-Boot-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/u-boot-users
