Hi Peng, On Thu, Nov 24, 2016 at 4:48 AM, Peng Fan <peng.fan at nxp.com> wrote: > +int dram_init(void) > +{ > + gd->ram_size = PHYS_SDRAM_SIZE; Couldn't imx_ddr_size() be used instead?