From: Wolfgang Denk Date: Thu, 27 Mar 2014 17:42:17 +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> <20140327053642.3378138035D@gemini.denx.de> Message-ID: <20140327164217.E13D0382249@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 Fabio Estevam, In message 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