[U-Boot-Users] 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

Mike Frysinger wrote:
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
participants (2)
-
Detlef Vollmann
-
Mike Frysinger