From mboxrd@z Thu Jan 1 00:00:00 1970 From: Detlef Vollmann Date: Mon, 15 Oct 2007 04:14:18 +0200 Subject: [U-Boot-Users] difference between _f and _r init functions In-Reply-To: <200710142045.00187.vapier@gentoo.org> References: <200710142045.00187.vapier@gentoo.org> Message-ID: <4712CCFA.8040606@vollmann.ch> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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