[PATCH v6 005/102] dm: pci: Move pci_get_devfn() into a common file

2019-12-06 Thread Simon Glass
Early in boot it is necessary to decode the PCI device/function values for particular peripherals in the device tree or of-platdata. This is needed in TPL where CONFIG_PCI is not defined. To handle this, move pci_get_devfn() into a file that is built even when CONFIG_PCI is not defined. Also add

Re: [PATCH v6 005/102] dm: pci: Move pci_get_devfn() into a common file

2019-12-07 Thread Bin Meng
On Sat, Dec 7, 2019 at 12:46 PM Simon Glass wrote: > > Early in boot it is necessary to decode the PCI device/function values for > particular peripherals in the device tree or of-platdata. This is needed > in TPL where CONFIG_PCI is not defined. > > To handle this, move pci_get_devfn() into a fil