Hi Stefan, On Wed, Sep 19, 2018 at 12:48 PM, Stefan Agner <[email protected]> wrote:
> Hm, with that we take the MMDC register information as the upper bound, and > use regular U-Boot get_ram_size() to determine size by poking memory > addresses. Seems sensible. > > Acked-by: Stefan Agner <[email protected]> > > Fabio, I guess other boards use SPL to use different MMDC configuration for > different memory size? Is there a downside doing this size over-provisioning? That's correct: the imx7 boards that use imx_ddr_size() are cl-som-imx7 and pico-imx7d, which uses SPL and provide different MMDC configuration depending on the memory density. I don't see a downside in doing this over-provisioning. Regards, Fabio Estevam _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

