From mboxrd@z Thu Jan 1 00:00:00 1970 From: Igor Grinberg Date: Thu, 27 Dec 2012 15:19:12 +0200 Subject: [U-Boot] [PATCH v2 1/2] OMAP3: use a single board file for IGEP devices In-Reply-To: <1356608156-29339-1-git-send-email-javier.martinez@collabora.co.uk> References: <1356608156-29339-1-git-send-email-javier.martinez@collabora.co.uk> Message-ID: <50DC4AD0.70102@compulab.co.il> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 12/27/12 13:35, Javier Martinez Canillas wrote: > Even when the IGEPv2 board and the IGEP Computer-on-Module > are different from a form factor point of view, they are > very similar in the fact that share many components and how > they are wired. > > So, it is possible (and better) to have a single board file > for both devices and just use the CONFIG_MACH_TYPE to make > a differentiation between each board when needed. > > This change avoids code duplication by removing 298 lines of > code and makes future maintenance easier. > > Signed-off-by: Javier Martinez Canillas Acked-by: Igor Grinberg -- Regards, Igor.