
19 Sep
2018
19 Sep
'18
10:21 p.m.
Hi Stefan,
On Wed, Sep 19, 2018 at 12:48 PM, Stefan Agner stefan.agner@toradex.com 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 stefan.agner@toradex.com
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