> -----Original Message-----
> From: Gerlando Falauto [mailto:gerlando.fala...@keymile.com]
> Sent: 25 July 2012 09:26
> To: u-boot@lists.denx.de
> Cc: Holger Brunck; Gerlando Falauto; Prafulla Wadaskar; Valentin
> Longchamp
> Subject: [PATCH v4 4/4] arm/km: use kw_sdram_size_adjust to adjust
> SDRAM size
> 
> From: Holger Brunck <holger.bru...@keymile.com>
> 
> Some boards may differ only in the SDRAM size. This function allows to
> fix the size accordingly and we can use the same u-boot binary for
> both
> boards.
> 
> Signed-off-by: Holger Brunck <holger.bru...@keymile.com>
> Signed-off-by: Gerlando Falauto <gerlando.fala...@keymile.com>
> cc: Prafulla Wadaskar <prafu...@marvell.com>
> cc: Valentin Longchamp <valentin.longch...@keymile.com>
> ---
> changes for v4:
>   - add bank parameter to kw_sdram_size_adjust()
> 
> changes for v3:
>   - new patch
> 
>  board/keymile/km_arm/km_arm.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/board/keymile/km_arm/km_arm.c
> b/board/keymile/km_arm/km_arm.c
> index 2b2ca39..ac14a2f 100644
> --- a/board/keymile/km_arm/km_arm.c
> +++ b/board/keymile/km_arm/km_arm.c
> @@ -250,7 +250,8 @@ int board_early_init_f(void)
>       tmp = readl(KW_GPIO0_BASE + 4);
>       writel(tmp & (~KM_KIRKWOOD_SOFT_I2C_GPIOS) , KW_GPIO0_BASE + 4);
>  #endif
> -
> +     /* adjust SDRAM size for bank 0 */
> +     kw_sdram_size_adjust(0);
>       kirkwood_mpp_conf(kwmpp_config, NULL);
>       return 0;
>  }
> --
> 1.7.1

Applied to u-boot-marvell.git master branch

Regards...
Prafulla . . .
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to