mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
bootqca: Device-tree config name made board specific
device-tree name suffix with soc version is made specific to ipq806x Change-Id: I32913a13929127ff41cec83d1319f0c98fdb3127 Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
This commit is contained in:
parent
003edf6a05
commit
5f8a5f8916
1 changed files with 2 additions and 0 deletions
|
|
@ -199,6 +199,7 @@ int config_select(unsigned int addr, char *rcmd, int rcmd_size)
|
|||
sizeof(dtb_config_name), "%s", config);
|
||||
|
||||
ipq_smem_get_socinfo_version((uint32_t *)&soc_version);
|
||||
#ifdef CONFIG_ARCH_IPQ806x
|
||||
if(SOCINFO_VERSION_MAJOR(soc_version) >= 2) {
|
||||
snprintf(dtb_config_name + strlen("config@"),
|
||||
sizeof(dtb_config_name) - strlen("config@"),
|
||||
|
|
@ -206,6 +207,7 @@ int config_select(unsigned int addr, char *rcmd, int rcmd_size)
|
|||
SOCINFO_VERSION_MAJOR(soc_version),
|
||||
config + strlen("config@"));
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
if (fit_conf_get_node((void *)addr, dtb_config_name) >= 0) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue