[U-Boot] [PATCH] hwconfig: Fix handling of env_hwconfig, board_hwconfig, and cpu_hwconfig
Wolfgang Denk
wd at denx.de
Wed Dec 8 23:54:49 CET 2010
Dear Kumar Gala,
In message <1291154307-21377-1-git-send-email-galak at kernel.crashing.org> you 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>
> ---
> common/hwconfig.c | 15 +++++++++------
> 1 files changed, 9 insertions(+), 6 deletions(-)
Applied, thanks.
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
"To IBM, 'open' means there is a modicum of interoperability among
some of their equipment." - Harv Masterson
More information about the U-Boot
mailing list