[U-Boot-Users] Peripheral initialization hooks

Steve Strublic SStrublic at hypercom.com
Mon Feb 13 21:24:10 CET 2006


Hello all,

 

I have a PPC852T platform running U-Boot.  My platform has the ability
to enable or disable the Ethernet PHY directly, and at boot the PHY is
disabled.  It must be enabled, through a register in an FPGA that is
accessed through a separate chip select.

 

Is it acceptable to modify board_init_r() to include a call to an
enable/disable function that would only apply if my board were defined?
Or are there any hooks for board-specific initializations?

 

Also, given that this is related to Ethernet, I think it's best that I
enable the PHY immediately before querying the config for 'ethaddr' in
board_init_r().  Agree/disagree?

 

TIA,

 

Steve

 

------

Steve Strublic

Network Solutions Group

Hypercom Corporation

Phoenix, AZ

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20060213/d9c7a92c/attachment.htm 


More information about the U-Boot mailing list