[U-Boot] [PATCH 3/9 v3] integratorap: support relocation

Sergei Shtylyov sshtylyov at mvista.com
Mon Jul 25 12:46:55 CEST 2011


Hello.

On 23-07-2011 17:37, Linus Walleij wrote:

> The integrator board was apparently never converted over to support
> relocation until now. After this the integrator u-boot both compiles
> and boots on the Integrator AP.

> Signed-off-by: Linus Walleij<linus.walleij at linaro.org>
> ---
>   board/armltd/integrator/integrator.c |   14 ++++++++------
>   1 files changed, 8 insertions(+), 6 deletions(-)

> diff --git a/board/armltd/integrator/integrator.c b/board/armltd/integrator/integrator.c
> index 9bb56b5..a0d8de7 100644
> --- a/board/armltd/integrator/integrator.c
> +++ b/board/armltd/integrator/integrator.c
> @@ -86,14 +86,16 @@ int misc_init_r (void)
>   	return (0);
>   }
>
> -/******************************
> - Routine:
> - Description:
> -******************************/
> -int dram_init (void)
> +void dram_init_banksize(void)
>   {
>   	gd->bd->bi_dram[0].start = PHYS_SDRAM_1;
> -	gd->bd->bi_dram[0].size	 = PHYS_SDRAM_1_SIZE;
> +        gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE;

    You're using spaces instead of tab here...

WBR, Sergei


More information about the U-Boot mailing list