[U-Boot] mach-type #define mismatch for lange51/efikamx

Marek Vasut marek.vasut at gmail.com
Thu Feb 3 08:50:06 CET 2011


On Thursday 03 February 2011 07:32:02 Stefano Babic wrote:
> On 02/03/2011 01:04 AM, Loïc Minier wrote:
> >         Hey!
> >> 
> >> iMX5: EfikaMX: Preliminary board support
> >> 
> >  u-boot-imx has:
> >     #define MACH_TYPE_MX51_LANGE51         2336
> >     #define MACH_TYPE_MX51_LANGE52         2337
> >  
> >  u-boot-arm has:
> >     #define MACH_TYPE_MX51_EFIKAMX         2336
> >     #define MACH_TYPE_MX51_LANGE52         2337
> >  
> >  and linux has:
> >     mx51_efikamx            MACH_MX51_EFIKAMX       MX51_EFIKAMX 2336
> >     mx51_lange52            MACH_MX51_LANGE52       MX51_LANGE52 2337
> >  
> >  but board/efikamx/efikamx.c uses MACH_TYPE_MX51_LANGE51 (and hence
> >  fails to build in u-boot-arm.git and u-boot.git).
> >  
> >  So while (Pegatron?) Lange 5.1 and 5.2 might have been more consistent,
> >  I think we need to switch board/efikamx/efikamx.c to the linux name
> >  MACH_MX51_EFIKAMX.
> 
> Marek, what do you think about ? It seems that the machine type for
> efikamx is wrong.

It used to be lange51, that's the official code-name too. They (genesi I guess) 
seem to have requested an update in linux-arm machine ID database. Obviously, 
needs a change. Thanks
> 
> Best regards,
> Stefano Babic


More information about the U-Boot mailing list