[U-Boot] [PATCH V2] ARM: Update mach-types

Stefano Babic sbabic at denx.de
Mon Sep 12 16:14:20 CEST 2011


On 09/12/2011 04:04 PM, Holger Brunck wrote:
> Hi,
> 
> On 09/12/2011 03:54 PM, Stefano Babic wrote:
>> On 09/12/2011 03:36 PM, Marek Vasut wrote:
>>>>
>>>> Have you checked that the removed boards are not supported in U-Boot?
>>>
>>> No, but then the respective maintainers will get a warning and will be forced to 
>>> fix their boards in both linux and uboot.
>>
>> Maybe the simplest way to catch these boards (if any) is to run MAKEALL
>> on arm targets with your mach-types file. If no board is broken, we have
>> not to worry about.
>>
> 
> sorry, I didn't follow the whole discussion, but this patch will remove the
> mach type for our km_kirkwood board.
> 
> -#define MACH_TYPE_KM_KIRKWOOD          2255
> 
> This board is supported in u-boot but not mainlined in linux. So how should we
> handle this?

Well, I think we cannot check for each update of this file which board
are dropped - this requires too much effort. The way we currently use
(Linux is the master of this file, and we update it directly from the
kernel) is IMHO the right way to get it in sync.

Maybe the best way, if you want to have your board maintained in u-boot
but not in kernel (however, why ?) is to define your MACH in the board
configuration file.

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