[U-Boot] [v4 patch 6/6] SMDK6400: Fix SMDK6400 SDRAM init
Thomas Langer
thomas.langer at gmx.net
Sat Jan 22 10:15:18 CET 2011
Hi seedshope,
seedshope <bocui107 <at> gmail.com> writes:
> -int dram_init(void)
> +void dram_init_banksize(void)
> {
> + DECLARE_GLOBAL_DATA_PTR;
This declaration should be done on file scope, not in a function.
> +
> gd->bd->bi_dram[0].start = PHYS_SDRAM_1;
> gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE;
> +}
> +
Best regards,
Thomas
More information about the U-Boot
mailing list