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 <[EMAIL PROTECTED]> 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. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users