[U-Boot-Users] Peripheral initialization hooks

Shawn Jin shawnxjin at gmail.com
Tue Feb 14 01:25:37 CET 2006


> 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