summaryrefslogtreecommitdiffstats
path: root/hdata/vpd.c
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2017-01-13 14:08:24 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-01-16 11:54:00 +1100
commit5b5dc42a4dc35a948831da0e7b5456fc88bab59d (patch)
tree0e0112ce0e54a19ef8a3a61469ac6e6dc7d129e3 /hdata/vpd.c
parent1357e64dbf0bb2f02db2a126ad18ade23f407127 (diff)
downloadtalos-skiboot-5b5dc42a4dc35a948831da0e7b5456fc88bab59d.tar.gz
talos-skiboot-5b5dc42a4dc35a948831da0e7b5456fc88bab59d.zip
hdat: Grab vendor information from HDAT when available
Latest spec added vendor information to IPL PARAMS ntuple. Grab this information when available instead of hardcoding vendor name. Also move vendor property code from vpd.c to iplparms parsing function in spira.c. Suggested-by: Stewart Smith <stewart@linux.vnet.ibm.com> Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hdata/vpd.c')
-rw-r--r--hdata/vpd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hdata/vpd.c b/hdata/vpd.c
index cb7a8daa..d9f7da5f 100644
--- a/hdata/vpd.c
+++ b/hdata/vpd.c
@@ -650,7 +650,6 @@ static void sysvpd_parse(void)
}
free(str);
- dt_add_property_string(dt_root, "vendor", "IBM");
system_id = vpd_find(sysvpd, sysvpd_sz, "VSYS", "SE", &sz);
if (!system_id)
OpenPOWER on IntegriCloud