From: Wolfgang Denk Date: Thu, 14 Feb 2008 00:59:53 +0100 Subject: [U-Boot-Users] [PATCH] ARM926: compile cpu_init_crit function only if CONFIG_SKIP_LOWLEVEL_INIT is not defined In-Reply-To: Your message of "Mon, 04 Feb 2008 17:32:56 PST." <15281823.post@talk.nabble.com> Message-ID: <20080213235953.9EBBD243A7@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <15281823.post@talk.nabble.com> you wrote: > > At Present the call to "cpu_init_crit" in uboot/cpu/arm926ejs/start.S (142) > is under ifndef > > #ifndef CONFIG_SKIP_LOWLEVEL_INIT > bl cpu_init_crit > #endif > > But the function definition (203) isn't under this ifndef. So irrespective > of CONFIG_SKIP_LOWLEVEL_INIT, this function is compiled. Hence i have > applied the ifndef to function definition which places the entire > cpu_init_crit inside the ifndef. I don't think you answer my question: > I'm not sure about this one. Probably the whole cpu_init_crit: part > should be placed inside the "#ifndef CONFIG_SKIP_LOWLEVEL_INIT" part, > as it is done for example in "cpu/arm920t/start.S" ? ? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de The years of peak mental activity are undoubtedly between the ages of four and eighteen. At four we know all the questions, at eighteen all the answers.