[Skiboot] [PATCH] platforms/zz: Re-enable LXVPD slot information parsing

Oliver O'Halloran oohall at gmail.com
Mon Mar 4 16:56:37 AEDT 2019


>From memory this was disabled in the distant past since we were waiting
for an updates to the LXPVD format. It looks like that never happened
so re-enable it for the ZZ platform so that we can get PCI slot location
codes on ZZ.

Cc: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
Signed-off-by: Oliver O'Halloran <oohall at gmail.com>
---
 platforms/ibm-fsp/zz.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/platforms/ibm-fsp/zz.c b/platforms/ibm-fsp/zz.c
index 5e62403b3765..19fbb6383e6e 100644
--- a/platforms/ibm-fsp/zz.c
+++ b/platforms/ibm-fsp/zz.c
@@ -76,10 +76,9 @@ DECLARE_PLATFORM(zz) = {
 	.exit			= ibm_fsp_exit,
 	.cec_power_down		= ibm_fsp_cec_power_down,
 	.cec_reboot		= ibm_fsp_cec_reboot,
-	/* FIXME: correct once PCI slot into is available */
-	.pci_setup_phb		= NULL,
-	.pci_get_slot_info	= NULL,
-	.pci_probe_complete	= NULL,
+	.pci_setup_phb		= firenze_pci_setup_phb,
+	.pci_get_slot_info	= firenze_pci_get_slot_info,
+	.pci_probe_complete	= firenze_pci_send_inventory,
 	.nvram_info		= fsp_nvram_info,
 	.nvram_start_read	= fsp_nvram_start_read,
 	.nvram_write		= fsp_nvram_write,
-- 
2.20.1



More information about the Skiboot mailing list