commit | bb141079d34bebb073c5b0566313e1441973ec01 | [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 | 296cae732b0dbe374abc9b26fed6f73588b9d1e2 [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>