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:
Gokul Sriram Palanisamy 2017-07-03 12:02:00 +05:30
parent 2e6fe13ebc
commit e700f9ba7e

View file

@ -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;
}