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

Stefano Babic sbabic at denx.de
Thu Feb 3 07:32:02 CET 2011


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.

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================


More information about the U-Boot mailing list