[U-Boot] [PATCH] OMAP3: igep00x0: Reduce lines of code for IGEP-based boards.

Enric Balletbò i Serra eballetbo at gmail.com
Mon Mar 5 22:32:33 CET 2012


Hi Tom

2012/3/5 Tom Rini <trini at ti.com>:
> 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!

Good tip, I didn't know this. I'll send version two, thanks.

--
Enric


More information about the U-Boot mailing list