u-boot/include/dm
Simon Glass 6dd4b01432 dm: pci: Move pci_get_devfn() into a common file
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 a function for use by of-platdata, to convert a reg property to
a pci_dev_t.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2019-12-15 08:52:29 +08:00
..
platform_data serial: stm32: remove unused include 2019-08-27 11:19:23 +02:00
device-internal.h dm: Correct pre_reloc_only parameter description in several APIs' comments 2018-11-14 09:16:27 -08:00
device.h dm: core: Allow for not controlling the power-domain by DM framework 2019-10-15 08:40:03 -06:00
fdtaddr.h dm: pci: Add a function to read a PCI BAR 2019-10-08 13:57:43 +08:00
lists.h dm: Correct pre_reloc_only parameter description in several APIs' comments 2018-11-14 09:16:27 -08:00
of.h dm: Fix default address cells return value 2019-10-15 08:40:02 -06:00
of_access.h dm: core: Add of_alias_get_highest_id() 2019-02-08 06:24:57 +01:00
of_addr.h dm: core: Introduce xxx_translate_dma_address() 2019-07-22 09:21:28 +02:00
of_extra.h dm: core: Update ofnode to read binman-style flash entry 2018-10-09 04:40:27 -06:00
ofnode.h dm: core: Fix offset_to_ofnode() with invalid offset 2019-12-15 08:52:29 +08:00
pci.h dm: pci: Move pci_get_devfn() into a common file 2019-12-15 08:52:29 +08:00
pinctrl.h pinctrol: dm: remove the function pinctrl_decode_pin_config 2019-11-14 07:09:34 -06:00
platdata.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
read.h dm: pci: Add a function to read a PCI BAR 2019-10-08 13:57:43 +08:00
root.h dm: Correct pre_reloc_only parameter description in several APIs' comments 2018-11-14 09:16:27 -08:00
test.h test: dm: core: Add test case for uclass driver's child_post_probe() 2018-11-14 09:16:27 -08:00
uclass-id.h ufs: Add Initial Support for UFS subsystem 2019-10-23 20:47:12 -04:00
uclass-internal.h dm: core: Correct the return value for uclass_find_first_device() 2019-10-08 13:57:38 +08:00
uclass.h dm: uclass: fix comment copy/paste error 2019-07-24 12:54:08 -07:00
util.h dm: doc: add documentation for pre-reloc properties in SPL and TPL 2019-07-10 16:52:58 -06:00