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

Wolfgang Denk wd at denx.de
Thu Mar 27 06:31:20 CET 2014


Dear Otavio,

In message <CAP9ODKrj9as+R7gb-STCnqpoSGFdKg_diJ=P+Vg6hTOka5dfMw at mail.gmail.com> you wrote:
>
> I understand both boards share a lot of code but I think the set of
> ifdef makes harder for people to understand the board code. Personally
> I prefer v1.

Duplication of so much code is really bad.  It's always been a
maintenance nightmare.  The new version is much better.  [Of course
there are also ways to avoid ifdefs, but there are not so many here,
and they are actually pretty easy to follow.]

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
Commitment, n.:      Commitment can be illustrated by a breakfast
of ham and eggs. The chicken was involved, the pig was committed.


More information about the U-Boot mailing list