[U-Boot] [PATCH v2 2/2] MarSBoard: add new board

Wolfgang Denk wd at denx.de
Thu Mar 27 17:42:17 CET 2014


Dear Fabio Estevam,

In message <CAOMZO5BF0e20eRs4keLH+jkGkQuTGn5Eci-W_9qTRnDBCdk9Dw at mail.gmail.com> you wrote:
>
> So in theory yes, we could have a single board file for all the mx6
> boards out there and make it full of ifdefs all over it to handle all
> the hardware variations.

Well, actually I do think there is some common code for iMX6 that
could / should be factored out.  And that does not even need any
ifdefs.

> > Otherwise we would have to strictly split ARM and PowerPC code, and
> > all other architectures.  We would need code copies for each SoC.
> > Actually each board would need his own version of the whole U-Boot
> > code.  Sorry, but this is just bizarre...
> 
> Looks like you are extrapolating too much here. Our discussion is only

Not more than you, just in the other direction ;-)

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
Es ist nicht genug zu wissen, man muß auch anwenden; es ist nicht ge-
nug zu wollen, man muß auch tun.   -- Goethe, Maximen und Reflexionen


More information about the U-Boot mailing list