[U-Boot] [PATCH] i.MX31: Fix Litekit board to use new ARM relocation support.
Stefano Babic
sbabic at denx.de
Mon Oct 18 10:30:50 CEST 2010
On 10/16/2010 07:47 PM, Magnus Lilja wrote:
> Tested on hardware. Boots Linux nicely.
>
> Signed-off-by: Magnus Lilja <lilja.magnus at gmail.com>
> ---
Hi Magnus,
> @@ -31,12 +31,18 @@ DECLARE_GLOBAL_DATA_PTR;
>
> int dram_init (void)
> {
> - gd->bd->bi_dram[0].start = PHYS_SDRAM_1;
> - gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE;
> + gd->ram_size = PHYS_SDRAM_1_SIZE;
Any reason to not use get_ram_size() ?
Stefano
--
=====================================================================
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
=====================================================================
More information about the U-Boot
mailing list