[U-Boot] [PATCH] hwconfig: Fix handling of env_hwconfig, board_hwconfig, and cpu_hwconfig

Kumar Gala galak at kernel.crashing.org
Wed Dec 1 14:01:03 CET 2010


On Nov 30, 2010, at 6:09 PM, Timur Tabi wrote:

> On Tue, Nov 30, 2010 at 3:58 PM, Kumar Gala <galak at kernel.crashing.org> wrote:
>> The handling of env_hwconfig, board_hwconfig, and cpu_hwconfig got
>> broken when we removed the boards defining dummy board_hwconfig
>> & cpu_hwconfig values.
>> 
>> We fix this by handling the various strings in priority order.  If
>> hwconfig_parse returns NULL for a given string we check the next one
>> in order (env_hwconfig, board_hwconfig, followed by cpu_hwconfig).
>> 
>> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
> 
> I think the P1022DS is broken without this fix, but I can't get this
> patch to apply.  Is there a pre-requisite patch that I'm missing?
> 
> -- 
> Timur Tabi
> Linux kernel developer at Freescale

Try the latest HEAD of tree, Wolfgang pulled in the pre-req patch:

http://patchwork.ozlabs.org/patch/73656/

- k


More information about the U-Boot mailing list