diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2017-06-24 14:17:09 -0500 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-06-26 14:28:58 +1000 |
commit | 077fdef306529c7d266f13dbfd56c25da211df96 (patch) | |
tree | b7e8a8cb313d04c29cdbee8ded8932ec861b9c5d /hw/phb4.c | |
parent | ead3cafd000b003ddda4c27989e30d239a91d8be (diff) | |
download | skiboot-077fdef306529c7d266f13dbfd56c25da211df96.zip skiboot-077fdef306529c7d266f13dbfd56c25da211df96.tar.gz skiboot-077fdef306529c7d266f13dbfd56c25da211df96.tar.bz2 |
phb3/4: Move IO VPD preload out to a common place
The code is duplicated between phb3 and phb4 for no reason
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Neuling <mikey@neuling.org>
# Conflicts:
# core/init.c
# hw/phb3.c
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/phb4.c')
-rw-r--r-- | hw/phb4.c | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -4356,17 +4356,6 @@ static void phb4_probe_pbcq(struct dt_node *pbcq) } } -void phb4_preload_vpd(void) -{ - const struct dt_property *prop; - - prop = dt_find_property(dt_root, "ibm,io-vpd"); - if (!prop) { - /* LX VPD Lid not already loaded */ - vpd_preload(dt_root); - } -} - void probe_phb4(void) { struct dt_node *np; |