RE: [U-Boot-Users] Peripheral initialization hooks

Thanks Shawn,
I think board_early_init_f() is a little too early to mess with the Ethernet PHY. However, I saw the hook for reset_phy() later on in board_reset_r(), which is perfect. So I hooked that for my board, and voila!
Steve
-----Original Message----- From: Shawn Jin [mailto:shawnxjin@gmail.com] Sent: Monday, February 13, 2006 5:26 PM To: Steve Strublic Cc: u-boot-users@lists.sourceforge.net Subject: Re: [U-Boot-Users] Peripheral initialization hooks
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?
The hooks are already there. I would recommend board_early_init_f() or board_early_init_r() which can be turned on/off by the board configuration header file.
Regards, -Shawn.
participants (1)
-
Steve Strublic