[U-Boot-Users] Peripheral initialization hooks
Steve Strublic
SStrublic at hypercom.com
Tue Feb 14 18:12:52 CET 2006
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 at gmail.com]
Sent: Monday, February 13, 2006 5:26 PM
To: Steve Strublic
Cc: u-boot-users at 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.
More information about the U-Boot
mailing list