aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.ibm.com>2019-06-18 17:29:21 +1000
committerStewart Smith <stewart@linux.ibm.com>2019-06-24 15:59:07 +1000
commit77b17098b41cd2b61b70db6d503243f3bac4786b (patch)
tree64140df311bbc2e54b497e2d3c7aab3d2ae0e024 /hw
parentddf48eae7697769a7bba57e3c06155ab79df37bd (diff)
downloadskiboot-77b17098b41cd2b61b70db6d503243f3bac4786b.zip
skiboot-77b17098b41cd2b61b70db6d503243f3bac4786b.tar.gz
skiboot-77b17098b41cd2b61b70db6d503243f3bac4786b.tar.bz2
Move FSP-specific VPD functionality to platforms/ibm-fsp/
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/phb3.c3
-rw-r--r--hw/phb4.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/hw/phb3.c b/hw/phb3.c
index 3042c3e..f2792b6 100644
--- a/hw/phb3.c
+++ b/hw/phb3.c
@@ -4741,7 +4741,8 @@ static void phb3_create(struct dt_node *np)
prop = dt_find_property(dt_root, "ibm,io-vpd");
if (!prop) {
/* LX VPD Lid not already loaded */
- vpd_iohub_load(dt_root);
+ if (platform.vpd_iohub_load)
+ platform.vpd_iohub_load(dt_root);
}
/* Allocate the SkiBoot internal in-memory tables for the PHB */
diff --git a/hw/phb4.c b/hw/phb4.c
index 9a38dc7..94726ef 100644
--- a/hw/phb4.c
+++ b/hw/phb4.c
@@ -5672,7 +5672,8 @@ static void phb4_create(struct dt_node *np)
prop = dt_find_property(dt_root, "ibm,io-vpd");
if (!prop) {
/* LX VPD Lid not already loaded */
- vpd_iohub_load(dt_root);
+ if (platform.vpd_iohub_load)
+ platform.vpd_iohub_load(dt_root);
}
/* Obtain informatin about the PHB from the hardware directly */