From: Wolfgang Denk Date: Thu, 27 Mar 2014 06:31:20 +0100 Subject: [U-Boot] [PATCH v2 2/2] MarSBoard: add new board In-Reply-To: References: <20140326190257.CFD5A380370@gemini.denx.de> <1395869509-14263-1-git-send-email-eric@eukrea.com> <1395869509-14263-2-git-send-email-eric@eukrea.com> Message-ID: <20140327053120.1EB6738035D@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Otavio, In message 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.