ARM: qca: bootipq: Updated to look for SoC specific config name

As ipq8064 SoC v1.0 support is now suspended, bootipq fails to
fetch the config node as it was looking for v1.0 config name.
With this change, bootipq will look for config name with SoC version.

Change-Id: I8cf7c6e279609e21a4c53e229d38aa0e2049c6b1
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
This commit is contained in:
Gokul Sriram Palanisamy 2016-12-29 16:48:09 +05:30
parent b023acbe25
commit fbfc4db4c3

View file

@ -260,7 +260,7 @@ int config_select(unsigned int addr, char *rcmd, int rcmd_size)
config + strlen("config@"));
}
if (fit_conf_get_node((void *)addr, config) >= 0) {
if (fit_conf_get_node((void *)addr, dtb_config_name) >= 0) {
snprintf(rcmd, rcmd_size, "bootm 0x%x#%s\n",
addr, dtb_config_name);
return 0;