[U-Boot] [PATCH 12/20] arm/km: add support for external switchconfiguration

Detlev Zundel dzu at denx.de
Wed Jul 4 10:07:45 CEST 2012


Hi Valentin and Prafulla,

[...]

>> Dear Valentin
>> We must keep develop it as generic driver.
>> 
>> Regards...
>> Prafulla . . .
>> 
>
> Sure it would be great if we had the time and resources to contribute a generic
> driver for these switches. Unfortunately it is not the case and we have only
> developed a simple driver with limited features that suits our current needs.
>
> Since we know it's very limited, we have intentionally chosen to put in in our
> board/keymile directory so that it's obvious that it is (currently) not intended
> to be used nor was it tested on other boards or with other switches.

Personally I welcome such a driver submission to mainline as it can be a
starting point for someone else later.

> The question now is: does u-boot allow some boards (or family of boards) to
> integrate some board codes or drivers ? It was until now our understanding that
> u-boot allows this. This code definitely fits into this category.

This is also my understanding and actually our source code has lots of
them and many people are thankful to find such code (if they are able to
find it ;)

> As for the generic driver, if someone contributes one (the current driver can be
> used as a basis), we will be very happy to drop this code and use the generic
> driver.

Actually I would go even further and say that a generic driver can only
be started when there are at least two or more users of the code.
One should probably think about not making too many short-sighted
assumptions when working on a driver but to think that one could develop
a generic driver from one device only would be foolish.

So Prafulla, can you please reconsider to add the driver?

Thanks
  Detlev

-- 
Provide mechanism rather than policy. In particular, place user
interface policy in the clients' hands.
                            -- principles of X Window System
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de


More information about the U-Boot mailing list