[U-Boot] [PATCH 1/4] zmx25: Remove dram_init_banksize()

Stefano Babic
2011-09-25T15:58:13Z

On 09/23/2011 02:50 PM, Fabio Estevam wrote:
> As only one RAM bank is used we can rely on the code from arch/arm/lib/board.c
>
> Cc: Matthias Weisser <weisserm@arcor.de>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
> board/syteco/zmx25/zmx25.c | 6 ------
> 1 files changed, 0 insertions(+), 6 deletions(-)
>
> diff --git a/board/syteco/zmx25/zmx25.c b/board/syteco/zmx25/zmx25.c
> index 893adc6..a49d831 100644
> --- a/board/syteco/zmx25/zmx25.c
> +++ b/board/syteco/zmx25/zmx25.c
> @@ -188,9 +188,3 @@ int dram_init(void)
> PHYS_SDRAM_SIZE);
> return 0;
> }
> -
> -void dram_init_banksize(void)
> -{
> - gd->bd->bi_dram[0].start = PHYS_SDRAM;
> - gd->bd->bi_dram[0].size = gd->ram_size;
> -}

Acked-by: Stefano Babic <sbabic@denx.de>

Best regards,
Stefano Babic

--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================