[U-Boot] ARM mach-types.h (was: Re: [PATCH 1/5] add DOCKSTAR machine type)

Wolfgang Denk wd at denx.de
Wed Sep 8 10:13:58 CEST 2010


Dear Reinhard Meyer,

In message <4C873717.6000403 at emk-elektronik.de> you wrote:
>
> Since it apparently takes roughly two months for additions to the database
> at http://www.arm.linux.org.uk/developer/machines/ (last entry: 3061 right now)
> to trickle to the u-boot file, there seems to be a need for an interim solution.

In theory it would be possible to sync against www.arm.linux.org.uk
directly, but people with better ARM knowledge than me recommended not
to do that, but refer to a more stable reference like the mainline
Linux kernel instead.

I'm open to suggestions.

> Currently I conditionally add the MACH_TYPE_xxx locally to the <board>.h
> file, but I am quite sure a patch with that would be rejected...

Right. This is not a good idea.

> Of course best would be to get rid of mach-types.h completely. It does not
> really seem suited to differentiate between board variants...

You want to fight this flamewar with RMK, not me :-)

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Only in our dreams we are free.  The rest of the time we need  wages.
                                    - Terry Pratchett, _Wyrd Sisters_


More information about the U-Boot mailing list