difference between _f and _r init functions
cant seem to find any explicit mention of the difference between _f and _r functions ... looks like _f funcs are called "early" and _r funcs are the later stuff which do more. what's the letter stand for and generally what should these be doing ?
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20071014/27550a7e/attachment.pgp
Quoted 4 lines · Mike Frysinger
cant seem to find any explicit mention of the difference between _f and _r functions ... looks like _f funcs are called "early" and _r funcs are the later stuff which do more. what's the letter stand for and generally what should these be doing ?
In my current case (old U-Boot, ppc 8xx) _f runs from _f_lash, not yet relocated, setup of and access through function pointers needs special care, very few RAM (and stack size) available. _r runs after relocation from _R_AM, nomal mode, no special care required.
Detlef