From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Fri, 23 Sep 2011 10:52:18 +0200 Subject: [U-Boot] [PATCH 1/13] mx31pdk: Remove dram_init_banksize() In-Reply-To: <1316714842-18271-1-git-send-email-fabio.estevam@freescale.com> References: <1316714842-18271-1-git-send-email-fabio.estevam@freescale.com> Message-ID: <4E7C48C2.2040902@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > board/freescale/mx31pdk/mx31pdk.c | 6 ------ > 1 files changed, 0 insertions(+), 6 deletions(-) > > diff --git a/board/freescale/mx31pdk/mx31pdk.c b/board/freescale/mx31pdk/mx31pdk.c > index f6e190a..b522cfa 100644 > --- a/board/freescale/mx31pdk/mx31pdk.c > +++ b/board/freescale/mx31pdk/mx31pdk.c > @@ -47,12 +47,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) > { > /* CS5: CPLD incl. network controller */ Applied to u-boot-imx, next branch, thanks. 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 =====================================================================