aboutsummaryrefslogtreecommitdiff
path: root/core/init.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2017-06-24 14:17:09 -0500
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-06-26 14:28:58 +1000
commit077fdef306529c7d266f13dbfd56c25da211df96 (patch)
treeb7e8a8cb313d04c29cdbee8ded8932ec861b9c5d /core/init.c
parentead3cafd000b003ddda4c27989e30d239a91d8be (diff)
downloadskiboot-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 'core/init.c')
-rw-r--r--core/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/init.c b/core/init.c
index b5f4f3d..1d2d07d 100644
--- a/core/init.c
+++ b/core/init.c
@@ -992,7 +992,7 @@ void __noreturn __nomcount main_cpu_entry(const void *fdt)
pci_nvram_init();
- phb3_preload_vpd();
+ preload_io_vpd();
preload_capp_ucode();
start_preload_kernel();