nmhw21: fix wrong hw version of user module

- hw version of UM was set to version of base board
This commit is contained in:
Rene Straub 2019-04-01 15:06:35 +02:00
parent 29d7a20fdb
commit 87657dd68f
1 changed files with 1 additions and 1 deletions

View File

@ -1235,7 +1235,7 @@ static void ft_user_module(void *blob)
fdt_setprop_string(blob, node_offset, "status", "okay"); fdt_setprop_string(blob, node_offset, "status", "okay");
fdt_setprop_string(blob, node_offset, "model", model); fdt_setprop_string(blob, node_offset, "model", model);
snprintf(hw_version, sizeof(hw_version), "%d.%d", hw_ver, hw_rev); snprintf(hw_version, sizeof(hw_version), "%d.%d", ver, rev);
fdt_setprop_string(blob, node_offset, "nm,carrierboard,version", hw_version); fdt_setprop_string(blob, node_offset, "nm,carrierboard,version", hw_version);
ip_to_string(ip, tmp); ip_to_string(ip, tmp);