u-boot/drivers/core
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
..
device-remove.c dm: core: device: switch off power domain after device removal 2019-10-15 08:40:03 -06:00
device.c common: Move ARM cache operations out of common.h 2019-12-02 18:24:58 -05:00
devres.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dump.c dm: Tidy up dump output when there are many devices 2019-10-15 08:40:03 -06:00
fdtaddr.c dm: core: Drop fdtdec_get_pci_addr() 2019-10-08 13:57:47 +08:00
Kconfig Kconfig: Varios: Fix more SPL, TPL dependencies 2019-08-26 11:46:29 -04:00
lists.c dm: core: Use U-Boot logging instead of pr_debug() 2019-10-08 13:57:37 +08:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
of_access.c dm: core: Add of_alias_get_highest_id() 2019-02-08 06:24:57 +01:00
of_addr.c dm: core: Introduce xxx_translate_dma_address() 2019-07-22 09:21:28 +02:00
of_extra.c dm: core: Update ofnode to read binman-style flash entry 2018-10-09 04:40:27 -06:00
ofnode.c fdt: Fix alignment issue when reading 64-bits properties from fdt 2019-10-27 13:01:53 -06:00
read.c dm: pci: Add a function to read a PCI BAR 2019-10-08 13:57:43 +08:00
read_extra.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
regmap.c regmap: Fix potential memory leaks 2019-12-03 08:44:14 -05:00
root.c dm: core: Decouple DM from DT 2019-09-02 17:38:42 +02:00
simple-bus.c simple-bus: add DM_FLAG_PRE_RELOC flag to simple-bus driver 2019-04-23 20:26:43 -06:00
syscon-uclass.c syscon: update syscon_regmap_lookup_by_phandle 2019-04-11 20:10:05 -06:00
uclass.c dm: core: Update log method for uclass_find_device_by_seq 2019-10-27 13:01:43 -06:00
util.c dm: pci: Move pci_get_devfn() into a common file 2019-12-15 08:52:29 +08:00