[U-Boot] [PATCH 2/2] colibri_imx7: prime get_ram_size() using imx_ddr_size()

Fabio Estevam festevam at gmail.com
Wed Sep 19 20:21:47 UTC 2018


Hi Stefan,

On Wed, Sep 19, 2018 at 12:48 PM, Stefan Agner <stefan.agner at 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 at 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


More information about the U-Boot mailing list