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

5 Aug
2014
5 Aug
'14
7:47 p.m.
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
3928
Age (days ago)
3928
Last active (days ago)
0 comments
1 participants
participants (1)
-
Yehuda Yitchak