From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Thu, 14 Oct 2010 10:34:04 +0200 Subject: [U-Boot] [PATCH] ppc4xx: Add CATCenter IoCon 405EP board support In-Reply-To: <48D3D52125C49B43AE880038E2E5314BB5BDEE@SRV101.gdsys.de> References: <1286971128-12128-1-git-send-email-eibach@gdsys.de> <20101013144647.D14DD1365CF@gemini.denx.de> <48D3D52125C49B43AE880038E2E5314BB5BDEE@SRV101.gdsys.de> Message-ID: <20101014083404.5712E134F26@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 "Eibach, Dirk", In message <48D3D52125C49B43AE880038E2E5314BB5BDEE@SRV101.gdsys.de> you wrote: > > > Please factor out such common code. Eventually, a single > > board entry with two configurations is sufficient? > > Nice idea. Is there a way to do this with boards.cfg? Yes. See the proposed changes in the "Makefile-cleanup" branch of the u-boot-testing repo; see for example this version of boards.cfg which passes in boards.cfg all options that used to go through the top level Makefile: http://git.denx.de/?p=u-boot/u-boot-testing.git;a=blob;f=boards.cfg;h=920725448b4747d29fac03668d069cef448a945e;hb=Makefile-cleanup For example, see the CATcenter entries in lines 639 ff. 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 It is better to marry than to burn. - Bible ``I Corinthians'' ch. 7, v. 9