From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Thu, 20 May 2010 13:31:08 +0200 Subject: [U-Boot] Support similar boards at same board file? In-Reply-To: References: Message-ID: <201005201331.08339.sr@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 Hi Minkyu, On Thursday 20 May 2010 10:46:43 Minkyu Kang wrote: > I will post two boards "aquila" and "goni". (s5pc110 soc) > These board are very similar and can detect the board by gpio. (at runtime) > So, I want to support these two boards at same board file. > Thus, I will use same binary at two boards. > > How you think? > Please give your opinion. We usually don't want or even accept code duplications resulting from similar boards. So I definitely prefer such a runtime detection of the board type. Cheers, Stefan -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de