aboutsummaryrefslogtreecommitdiff
path: root/hdata
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2015-04-14 13:43:50 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-05-07 17:51:29 +1000
commit99fe69970541f82676e993acc860b187ff260d7e (patch)
tree9fdf61ff1de9e42d29ed6b192b633bccbd4ded40 /hdata
parent7efd876299cddf67c06bf7a7a3e6a79a1f4c2d6f (diff)
downloadskiboot-99fe69970541f82676e993acc860b187ff260d7e.zip
skiboot-99fe69970541f82676e993acc860b187ff260d7e.tar.gz
skiboot-99fe69970541f82676e993acc860b187ff260d7e.tar.bz2
hdata/vpd: Add compatible property
That way user space tools can identify the change in VPD layout etc. Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hdata')
-rw-r--r--hdata/spira.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hdata/spira.c b/hdata/spira.c
index f7b42d8..b35ca9c 100644
--- a/hdata/spira.c
+++ b/hdata/spira.c
@@ -941,6 +941,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)