[Skiboot] [PATCH 2/2] hdata/vpd: Add compatible property
Vasant Hegde
hegdevasant at linux.vnet.ibm.com
Tue Apr 14 18:13:50 AEST 2015
That way user space tools can identify the change in VPD layout etc.
Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
---
hdata/spira.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hdata/spira.c b/hdata/spira.c
index 8dd9a78..fa6f568 100644
--- a/hdata/spira.c
+++ b/hdata/spira.c
@@ -912,6 +912,7 @@ static void dt_init_vpd_node(void)
dt_vpd = dt_new(dt_root, "vpd");
assert(dt_vpd);
+ dt_add_property_string(dt_vpd, "compatible", "ibm,opal-v3-vpd");
}
static void hostservices_parse(void)
More information about the Skiboot
mailing list