
From: Kumar Gala [mailto:galak@kernel.crashing.org] Sent: Wednesday, November 04, 2009 1:14 PM To: Swarthout Edward L-SWARTHOU; Mahajan Vivek-B08308 Cc: u-boot@lists.denx.de Subject: [PATCH v2] fsl_pci_init_port end-point initialization is broken
commit 70ed869e broke fsl pcie end-point initialization. Returning 0 is not correct. The function must return the first free bus number for the next controller.
fsl_pci_init() must still be called and a bus allocated even if the controller is an end-point.
Signed-off-by: Ed Swarthout Ed.Swarthout@freescale.com Acked-by: Vivek Mahajan vivek.mahajan@freescale.com Signed-off-by: Kumar Gala galak@kernel.crashing.org
Guys, I want to revert commit 70ed869e and replace it with this. There is no reason to pass in pci_ep we can determine that internally. I will also change the board code to use fsl_is_pci_agent and kill off is_fsl_pci_agent (post november u-boot release).
Can one of you test this out.
Works fine on P2020RDB host/agent virtual network scenario pending that hold off linux bringup on the PCIe host.
- k
Thanks, Vivek