[U-Boot] [PATCH 1/3] imx: Add a common way for detecting NXP boards revision

Fabio Estevam festevam at gmail.com
Mon Nov 27 10:28:24 UTC 2017


Hi Stefano,

On Mon, Nov 27, 2017 at 7:15 AM, Stefano Babic <sbabic at denx.de> wrote:

> I am applying this and I note this point. It looks like it does not do
> what you meant.
>
> rev is a char pointer, it is set to a a fix string ("A", maybe rodata),
> and then the pointer is decreased to 1 (going to Nirvana ?).
>
> Compiler is not happy, too, it notes that address is out of bounds.
>
> I have also noted that mx6sxsabresd_spl_defconfig has not
> CONFIG_NXP_BOARD_REVISION set, and build is broken. Can you take a look
> and resend patch with fixes ?

I will fix and resend.

Thanks


More information about the U-Boot mailing list