[U-Boot] Proper way to implement PCI Host driver

Yehuda Yitchak yehuda80 at gmail.com
Tue Aug 5 19:47:43 CEST 2014


Hello everyone

i would like to try and add support for a PCI host controller of a Marvell
SOC

i noticed there are 2 different approaches.
1. placing the driver under drivers/pci as is done for IMX
 2. Adding the driver under the board support code

i guess the first one is the more clean approach but since the second is so
frequent i figure ill ask

And also, Is there a way to manage multiple PCI host controller ?
Is it only be generating several pci_hose structs or there is a wrapper for
all PCI host ? something like a PCI Host bridge

Thanks a lot

Yehuda


More information about the U-Boot mailing list