[U-Boot-Users] [PATCH V4] Add mechanisms for CPU and board-specific Ethernet initialization

Wolfgang Denk wd at denx.de
Sun Jul 6 00:32:03 CEST 2008


In message <1213366104-7124-1-git-send-email-biggerbadderben at gmail.com> 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 <biggerbadderben at gmail.com>
> ---
> 
> 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: wd at denx.de
You are only young once, but you can stay immature indefinitely.




More information about the U-Boot mailing list