commit | adf5c240376b15b03f5a5976f7909ca9e87dbb0b | [log] [tgz] |
---|---|---|
author | Kumar Gala <galak@kernel.crashing.org> | Tue Nov 30 15:58:27 2010 -0600 |
committer | Wolfgang Denk <wd@denx.de> | Thu Dec 09 11:01:13 2010 +0100 |
tree | d9a792cb775390f7ced1948454155b8fee7c2c22 | |
parent | 17f288af276b0db6bb00202c928f375a89848c20 [diff] |
hwconfig: Fix handling of env_hwconfig, board_hwconfig, and cpu_hwconfig 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@kernel.crashing.org>