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

2017-11-27 Thread Fabio Estevam
Hi Stefano, On Mon, Nov 27, 2017 at 7:15 AM, Stefano Babic 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 ?).

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

2017-11-27 Thread Stefano Babic
Hi Fabio, On 22/11/2017 14:15, Fabio Estevam wrote: > From: Fabio Estevam > > NXP development boards based on i.MX6/i.MX7 contain the board > revision information stored in the fuses. > > Introduce a common function that can be shared by different boards and > convert mx6sabreauto to use this n

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

2017-11-23 Thread Lukasz Majewski
On Wed, 22 Nov 2017 11:15:26 -0200 Fabio Estevam wrote: > From: Fabio Estevam > > NXP development boards based on i.MX6/i.MX7 contain the board > revision information stored in the fuses. > > Introduce a common function that can be shared by different boards and > convert mx6sabreauto to use t

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

2017-11-22 Thread Stefano Babic
Hi Fabio, On 22/11/2017 14:15, Fabio Estevam wrote: > From: Fabio Estevam > > NXP development boards based on i.MX6/i.MX7 contain the board > revision information stored in the fuses. > This is a good idea. > Introduce a common function that can be shared by different boards and > convert mx6

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

2017-11-22 Thread Fabio Estevam
From: Fabio Estevam NXP development boards based on i.MX6/i.MX7 contain the board revision information stored in the fuses. Introduce a common function that can be shared by different boards and convert mx6sabreauto to use this new mechanism. Signed-off-by: Fabio Estevam --- arch/arm/include/