[U-Boot] [PATCH 1/2] imx: mx7: fix potential overflow in imx_ddr_size()
Fabio Estevam
festevam at gmail.com
Wed Sep 19 12:08:52 UTC 2018
Hi Marcel,
On Wed, Sep 19, 2018 at 8:01 AM, Marcel Ziswiler <marcel at ziswiler.com> wrote:
> From: Marcel Ziswiler <marcel.ziswiler at toradex.com>
>
> The imx_ddr_size() function may overflow as it is possible to kind of
> over provision the DDR controller. Fix this by capping it to 2 GB which
> is the maximum allowed size as per reference manual.
>
> Signed-off-by: Marcel Ziswiler <marcel.ziswiler at toradex.com>
Looks good, thanks:
Reviewed-by: Fabio Estevam <fabio.estevam at nxp.com>
More information about the U-Boot
mailing list