From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hebbar Date: Wed, 13 Feb 2008 16:19:43 -0800 (PST) Subject: [U-Boot-Users] [PATCH] ARM926: compile cpu_init_crit function only if CONFIG_SKIP_LOWLEVEL_INIT is not defined In-Reply-To: <20080213235953.9EBBD243A7@gemini.denx.de> References: <14408413.post@talk.nabble.com> <14408491.post@talk.nabble.com> <20080204223835.BB3D724D1D@gemini.denx.de> <15281823.post@talk.nabble.com> <20080213235953.9EBBD243A7@gemini.denx.de> Message-ID: <15471298.post@talk.nabble.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, I went through "cpu/arm920t/start.S" file and found that this is what this patch is doing. This patch places the entire cpu_init_crit function definition inside ifndef same as in arm920t/start.S. Sorry if i havent understood you. Present cpu/arm926ejs/start.S _start_armboot: .word start_armboot -----> This is where i have placed #ifndef CONFIG_SKIP_LOWLEVEL_INIT /* ************************************************************************* * * CPU_init_critical registers * * setup important registers * setup memory timing * ************************************************************************* */ cpu_init_crit: /* * flush v4 I/D caches */ mov r0, bl lowlevel_init /* go setup pll,mux,memory */ mov lr, ip /* restore link */ mov pc, lr /* back to my caller */ /* ----> here is the #endif ************************************************************************* * * Interrupt handling * ************************************************************************* */ Regards Gururaja wd wrote: > > In message <15281823.post@talk.nabble.com> you wrote: > > > 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 > > -- View this message in context: http://www.nabble.com/-PATCH--ARM926%3A-compile-cpu_init_crit-function-only-if-CONFIG_SKIP_LOWLEVEL_INIT-is-not-defined-tp14408413p15471298.html Sent from the Uboot - Users mailing list archive at Nabble.com.