[U-Boot-Users] [PATCH] ARM926: compile cpu_init_crit function only if CONFIG_SKIP_LOWLEVEL_INIT is not defined
Hebbar
gururajakr at sanyo.co.in
Thu Feb 14 01:19:43 CET 2008
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,
<snip>
<snip>
<snip>
<snip>
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 at 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.
More information about the U-Boot
mailing list