diff mbox

[U-Boot,2/13] mx25pdk: Remove dram_init_banksize()

Message ID 1316714842-18271-2-git-send-email-fabio.estevam@freescale.com
State Accepted
Commit c3f4f31bcb48521f889c445a3a3f0e7393afa9f7
Delegated to: Stefano Babic
Headers show

Commit Message

Fabio Estevam Sept. 22, 2011, 6:07 p.m. UTC
As only one RAM bank is used we can rely on the code from arch/arm/lib/board.c

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 board/freescale/mx25pdk/mx25pdk.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

Comments

Stefano Babic Sept. 23, 2011, 8:52 a.m. UTC | #1
On 09/22/2011 08:07 PM, Fabio Estevam wrote:
> As only one RAM bank is used we can rely on the code from arch/arm/lib/board.c
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
>  board/freescale/mx25pdk/mx25pdk.c |    6 ------
>  1 files changed, 0 insertions(+), 6 deletions(-)
> 
> diff --git a/board/freescale/mx25pdk/mx25pdk.c b/board/freescale/mx25pdk/mx25pdk.c
> index 6b5d1fc..34a3811 100644
> --- a/board/freescale/mx25pdk/mx25pdk.c
> +++ b/board/freescale/mx25pdk/mx25pdk.c
> @@ -33,12 +33,6 @@ int dram_init(void)
>  	return 0;
>  }
>  
> -void dram_init_banksize(void)
> -{
> -	gd->bd->bi_dram[0].start = PHYS_SDRAM_1;
> -	gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE;
> -}
> -
>  int board_early_init_f(void)
>  {
>  	mx25_uart1_init_pins();

Applied to u-boot-imx, next branch, thanks.

Best regards,
Stefano Babic
diff mbox

Patch

diff --git a/board/freescale/mx25pdk/mx25pdk.c b/board/freescale/mx25pdk/mx25pdk.c
index 6b5d1fc..34a3811 100644
--- a/board/freescale/mx25pdk/mx25pdk.c
+++ b/board/freescale/mx25pdk/mx25pdk.c
@@ -33,12 +33,6 @@  int dram_init(void)
 	return 0;
 }
 
-void dram_init_banksize(void)
-{
-	gd->bd->bi_dram[0].start = PHYS_SDRAM_1;
-	gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE;
-}
-
 int board_early_init_f(void)
 {
 	mx25_uart1_init_pins();