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