mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
ARM: qca: Moved boot_version and tz_version
Moved properties boot_version and tz_version to root node to make it compatible with other board configurations to facilitate consistent test automation across boards. Change-Id: I3046a571f75eb5430f4b50b00f9fd8a7467724fe Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
This commit is contained in:
parent
2e6fe13ebc
commit
e700f9ba7e
1 changed files with 2 additions and 9 deletions
|
|
@ -97,17 +97,10 @@ void ipq_fdt_fixup_version(void *blob)
|
|||
int nodeoff, ret;
|
||||
char ver[OEM_VERSION_STRING_LENGTH + VERSION_STRING_LENGTH + 1];
|
||||
|
||||
nodeoff = fdt_path_offset(blob, "/soc");
|
||||
nodeoff = fdt_path_offset(blob, "/");
|
||||
|
||||
if (nodeoff < 0) {
|
||||
debug("ipq: fdt fixup unable to find 'soc' node\n");
|
||||
return;
|
||||
}
|
||||
|
||||
nodeoff = fdt_add_subnode(blob, nodeoff, "version");
|
||||
|
||||
if (nodeoff < 0) {
|
||||
debug("ipq: fdt fixup unable to create 'version' node\n");
|
||||
debug("fdt-fixup: fdt fixup unable to find root node\n");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue