diff options
author | Stewart Smith <stewart@linux.ibm.com> | 2019-06-18 17:29:21 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2019-06-24 15:59:07 +1000 |
commit | 77b17098b41cd2b61b70db6d503243f3bac4786b (patch) | |
tree | 64140df311bbc2e54b497e2d3c7aab3d2ae0e024 /hw | |
parent | ddf48eae7697769a7bba57e3c06155ab79df37bd (diff) | |
download | skiboot-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.c | 3 | ||||
-rw-r--r-- | hw/phb4.c | 3 |
2 files changed, 4 insertions, 2 deletions
@@ -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 */ @@ -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 */ |