[U-Boot] [PATCH 5/8] ARM Cortex A8: ifdef code calling lowlevel init
Tom
Tom.Rix at windriver.com
Sun Mar 28 19:38:17 CEST 2010
Rabin Vincent wrote:
> Conditionally compile the code calling lowlevel_init, to avoid the
> following build error when CONFIG_SKIP_LOWLEVEL_INIT is defined:
>
> start.S:218: undefined reference to `lowlevel_init'
Move this change to the cpu/arm_cortexa9/start.S
That will be created from comment on 6/8
>
> Acked-by: Michael Brandt <michael.brandt at stericsson.com>
> Signed-off-by: Rabin Vincent <rabin.vincent at stericsson.com>
> ---
> cpu/arm_cortexa8/start.S | 4 +++-
> 1 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/cpu/arm_cortexa8/start.S b/cpu/arm_cortexa8/start.S
> index 29dae2f..70bfc5d 100644
> --- a/cpu/arm_cortexa8/start.S
> +++ b/cpu/arm_cortexa8/start.S
> @@ -181,7 +181,7 @@ clbss_l:
>
> _start_armboot: .word start_armboot
>
> -
> +#ifndef CONFIG_SKIP_LOWLEVEL_INIT
> /*************************************************************************
> *
> * CPU_init_critical registers
> @@ -218,6 +218,8 @@ cpu_init_crit:
> bl lowlevel_init @ go setup pll,mux,memory
> mov lr, ip @ restore link
> mov pc, lr @ back to my caller
> +#endif
> +
> /*
> *************************************************************************
> *
Tom
More information about the U-Boot
mailing list