[Skiboot] [PATCH] DT: Add "IBM" version property under ibm, firmware-versions node
Vasant Hegde
hegdevasant at linux.vnet.ibm.com
Thu Dec 7 03:59:41 AEDT 2017
Looks like latest firmware (at least IBM build) has IBM release string
in VERSION section of PNOR. Lets add that to device tree.
Sample output:
--------------
/proc/device-tree/ibm,firmware-versions# lsprop
occ "dbb4d7e"
skiboot "v5.9"
buildroot "2017.08-8-g5e23247"
IBM "witherspoon-ibm-OP9_v1.19_1.73"
.....
Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
---
core/flash.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/flash.c b/core/flash.c
index 2744496..ee7097c 100644
--- a/core/flash.c
+++ b/core/flash.c
@@ -162,7 +162,7 @@ static void __flash_dt_add_fw_version(struct dt_node *fw_version, char* data)
const char * version_str[] = {"open-power", "buildroot", "skiboot",
"hostboot-binaries", "hostboot", "linux",
"petitboot", "occ", "capp-ucode", "sbe",
- "machine-xml"};
+ "machine-xml", "IBM"};
/*
* PNOR version strings are not easily consumable. Split them into
--
2.9.3
More information about the Skiboot
mailing list