[PATCH v1] board: toradex: verdin-imx95: fix ram size check calculated addresses
Fabio Estevam
festevam at gmail.com
Fri Jun 5 02:10:18 CEST 2026
On Wed, May 20, 2026 at 11:08 AM Emanuele Ghidoli
<ghidoliemanuele at gmail.com> wrote:
>
> From: Emanuele Ghidoli <emanuele.ghidoli at toradex.com>
>
> The ram_alias_checks addresses are 32 bit values. When summed as 64 bit
> values the calculation is done correctly, otherwise, if they are summed
> as 32 bit values, the sum wraps around.
>
> Fix by adding uintptr_t recast to the base address.
>
> Fixes: 60d8255d8dc0 ("board: toradex: add Toradex Verdin iMX95")
> Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli at toradex.com>
Applied to u-boot-imx/master, thanks.
More information about the U-Boot
mailing list