[U-Boot] [PATCH v3 4/4] arm/km: use kw_sdram_size_adjust to adjust SDRAM size

Prafulla Wadaskar prafulla at marvell.com
Fri Jul 20 21:11:21 CEST 2012



> -----Original Message-----
> From: Holger Brunck [mailto:holger.brunck at keymile.com]
> Sent: 20 July 2012 18:04
> To: u-boot at lists.denx.de
> Cc: Holger Brunck; Gerlando Falauto; Prafulla Wadaskar; Valentin
> Longchamp; Marek Vasut
> Subject: [PATCH v3 4/4] arm/km: use kw_sdram_size_adjust to adjust
> SDRAM size
> 
> 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.brunck at keymile.com>
> Signed-off-by: Gerlando Falauto <gerlando.falauto at keymile.com>
> cc: Prafulla Wadaskar <prafulla at marvell.com>
> cc: Valentin Longchamp <valentin.longchamp at keymile.com>
> cc: Marek Vasut <marex at denx.de>
> ---
> chages for v3:
>   - new patch
> 
>  board/keymile/km_arm/km_arm.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/board/keymile/km_arm/km_arm.c
> b/board/keymile/km_arm/km_arm.c
> index 2b2ca39..9a616fc 100644
> --- a/board/keymile/km_arm/km_arm.c
> +++ b/board/keymile/km_arm/km_arm.c
> @@ -250,7 +250,7 @@ int board_early_init_f(void)
>  	tmp = readl(KW_GPIO0_BASE + 4);
>  	writel(tmp & (~KM_KIRKWOOD_SOFT_I2C_GPIOS) , KW_GPIO0_BASE + 4);
>  #endif
> -
> +	kw_sdram_size_adjust();

If bank_id is considered then this call will change.

Regards...
Prafulla . . .


More information about the U-Boot mailing list