From: Tom Rini Date: Mon, 5 Mar 2012 11:09:06 -0700 Subject: [U-Boot] [PATCH] OMAP3: igep00x0: Reduce lines of code for IGEP-based boards. In-Reply-To: <1330805661-1863-1-git-send-email-eballetbo@gmail.com> References: <1330805661-1863-1-git-send-email-eballetbo@gmail.com> Message-ID: <20120305180906.GE18051@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, Mar 03, 2012 at 09:14:21PM +0100, Enric Balletbo i Serra wrote: > This is rework on config files of IGEP-based boards with the aim to remove > duplicated code to be more maintainable. Basically this patch creates a > common configuration file for both boards and only sets the specific option > in the board config file. > > On board files the hardcored mach type in favour of using the > CONFIG_MACH_TYPE option. At this point the config files only differ in setting CONFIG_MACH_TYPE, yes? If so, we should make use of boards.cfg to set this value and just have igep00x0.h. Thanks for working on this! -- Tom