Re: [U-Boot] [RFC] colibri_imx7: Do not hardcode the memory size

2018-09-19 Thread Marcel Ziswiler
Hi Fabio On Tue, 2018-09-18 at 14:28 +0200, Marcel Ziswiler wrote: > Stefan is currently at Linaro Connect and may not have access to > hardware. > > On Mon, 2018-09-17 at 14:09 -0300, Fabio Estevam wrote: > > Instead of hardcoding the memory size, use the generic > > imx_ddr_size() function, wh

Re: [U-Boot] [RFC] colibri_imx7: Do not hardcode the memory size

2018-09-18 Thread Marcel Ziswiler
Hi Fabio Stefan is currently at Linaro Connect and may not have access to hardware. On Mon, 2018-09-17 at 14:09 -0300, Fabio Estevam wrote: > Instead of hardcoding the memory size, use the generic > imx_ddr_size() function, which extracts the memory size > in runtime by reading the DDR controlle

[U-Boot] [RFC] colibri_imx7: Do not hardcode the memory size

2018-09-17 Thread Fabio Estevam
Instead of hardcoding the memory size, use the generic imx_ddr_size() function, which extracts the memory size in runtime by reading the DDR controller registers. This helps in supporting 512MB and 1GB modules. Signed-off-by: Fabio Estevam --- Hi Stefan, I don't have the hardware to test, but