From 87657dd68f017a2016312a44c121648c461c09f5 Mon Sep 17 00:00:00 2001 From: Rene Straub Date: Mon, 1 Apr 2019 15:06:35 +0200 Subject: [PATCH] nmhw21: fix wrong hw version of user module - hw version of UM was set to version of base board --- board/nm/nmhw21/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/nm/nmhw21/board.c b/board/nm/nmhw21/board.c index a022ecc82e..5a2f1e5694 100644 --- a/board/nm/nmhw21/board.c +++ b/board/nm/nmhw21/board.c @@ -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, "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); ip_to_string(ip, tmp);