diff mbox series

ibm,firmware-versions: add hcode to device tree

Message ID 20180506183007.23356-1-stewart@linux.ibm.com
State Accepted
Headers show
Series ibm,firmware-versions: add hcode to device tree | expand

Commit Message

Stewart Smith May 6, 2018, 6:30 p.m. UTC
op-build commit 736a08b996e292a449c4996edb264011dfe56a40
added hcode to the VERSION partition, let's parse it out
and let the user know.

Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
---
 core/flash.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Stewart Smith May 10, 2018, 2:18 a.m. UTC | #1
Stewart Smith <stewart@linux.ibm.com> writes:
> op-build commit 736a08b996e292a449c4996edb264011dfe56a40
> added hcode to the VERSION partition, let's parse it out
> and let the user know.

Turns out this is valuable for me, so merged to master as of
6449e2ac7dc51f206395c258032bb1bf5c53dfbb and 6.0-rc2
diff mbox series

Patch

diff --git a/core/flash.c b/core/flash.c
index 4031e7b3e854..e3be576137e3 100644
--- a/core/flash.c
+++ b/core/flash.c
@@ -163,7 +163,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", "hcode"};
 
 	if (first) {
 		first = false;