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 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot