Dear Ilko Iliev, In message <[EMAIL PROTECTED]> you wrote: > This patch allows to have an at91 board specific lowlevel_init.S > > Signed-off-by: Ilko Iliev <[EMAIL PROTECTED]> > > index ec6ad5d..7882e89 100644 > --- a/cpu/arm926ejs/at91/lowlevel_init.S > +++ b/cpu/arm926ejs/at91/lowlevel_init.S > @@ -27,7 +27,7 @@ > #include <config.h> > #include <version.h> > > -#ifndef CONFIG_SKIP_LOWLEVEL_INIT > +#if !defined(CONFIG_SKIP_LOWLEVEL_INIT) && > !defined(CONFIG_USER_LOWLEVEL_INIT) > > .globl lowlevel_init > lowlevel_init: > @@ -39,5 +39,5 @@ lowlevel_init: > mov pc, lr > > .ltorg > - > -#endif /* CONFIG_SKIP_LOWLEVEL_INIT */ > + > +#endif /* !CONFIG_SKIP_LOWLEVEL_INIT && !CONFIG_USER_LOWLEVEL_INIT */
Maybe instead of adding mor #ifdef'ery here, we can turn lowlevel_init() into a "weak" function that can be redefined by board specific code? 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: [EMAIL PROTECTED] Karl's version of Parkinson's Law: Work expands to exceed the time alloted it. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot