On Thursday, August 18, 2011 08:34:22 Graeme Russ wrote:
> Replace the init_fnc_t *init_sequence[] style init sequence with one based
> on the Linux __initcall macros.

i like the idea of decentralizing the init sequence out of the arches

> Functions are declared as initialisation functions by using the new
> INIT_FUNC() macro. The three parameters to INIT_FUNC() are:
>  - Type - f = pre-relocation (flash), r = post-relocation (RAM)
>  - Sequence - Lower numbers are run first
>  - Function - The function to call during the init sequence

in this scenario, we'll have to clearly document the #'s and what is expected 
to run at each so there's no confusion
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to