[U-Boot] [PATCH V7 0/4] Add disk support to orion5x and edminiv2

Wolfgang Denk wd at denx.de
Thu Aug 5 15:02:30 CEST 2010


Dear Rogan Dawes,

In message <4C5AB1A4.3000409 at dawes.za.net> you wrote:
> This may be a stupid comment, but from my perspective implementing 
> Albert's orion5x changes for my DNS323, all I am doing is copying a lot 
> of what Albert is doing for the edminiv2 verbatim.
> 
> Would it not make sense perhaps to define defaults in a SoC config file, 
> and then allow them to be overridden as required for each specific board?

That would make sense, but quite often you don't know what will be
common code and what not when writing the first version of such code.

I recommend that you discuss with Albert (as part of the review
process here) what should be handled as common driver code that you
can easily reuse.


It is pretty likely that your copied code would not be accepted for
mainline, and you will be requested to factor out common parts when
you submit it (that's quite often the fate for the second or third in
such a row).

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
A rolling stone gathers momentum.


More information about the U-Boot mailing list