u-boot/drivers/pci
Simon Glass 878d68c0c3 dm: core: Add functions to obtain node's address/size cells
The of_n_addr_cells() and of_n_size_cells() functions are useful for
getting the size of addresses in a node, but in a few places U-Boot needs
to obtain the actual property value for a node without walking up the
stack. Add functions for this and just the existing code to use it.

Add a comment to the existing ofnode functions which do not do the right
thing with a flat tree.

This fixes a problem reading PCI addresses.

Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Tested-on: Beaver, Jetson-TK1
2017-07-11 10:08:20 -06:00
..
fsl_pci_init.c mpc85xx: pcie: Implement workaround for Erratum A007815 2017-01-24 13:28:31 -08:00
Kconfig pci: layerscape: add pci driver based on DM 2017-01-18 09:26:37 -08:00
Makefile Drop CONFIG_WINBOND_83C553 2017-01-25 17:38:43 -05:00
pci-emul-uclass.c dm: sandbox: pci: Add a PCI emulation uclass 2015-04-16 19:27:43 -06:00
pci-uclass.c dm: core: Add functions to obtain node's address/size cells 2017-07-11 10:08:20 -06:00
pci.c pci: allow disabling of pci init/enum via env 2016-07-28 13:27:17 +02:00
pci_auto.c pci: Fix compiler warnings in dm_pciauto_setup_device() 2016-02-26 08:53:10 -07:00
pci_auto_common.c dm: pci: Break out the common region display code 2016-03-14 15:34:50 -06:00
pci_auto_old.c drivers/pci: Fix for debug builds without CONFIG_PCI_ENUM_ONLY 2016-01-14 14:08:59 +01:00
pci_common.c dm: pci: remove pci_bus_to_hose(0) calling 2017-01-18 09:25:22 -08:00
pci_compat.c dm: pci: return the real controller in pci_bus_to_hose() 2017-01-18 09:25:14 -08:00
pci_ftpci100.c Merge branch 'master' of git://git.denx.de/u-boot-nds32 2013-07-25 08:51:51 -04:00
pci_gt64120.c qemu-malta: Update for SPDX license identifiers 2013-07-25 08:51:48 -04:00
pci_indirect.c powerpc: remove 4xx support 2017-07-03 17:35:28 -04:00
pci_internal.h dm: pci: Move pci_bus_to_hose() to compatibility 2016-01-24 12:07:17 +08:00
pci_msc01.c malta: support for coreFPGA6 boards 2013-11-09 17:21:01 +01:00
pci_mvebu.c pci: mvebu: Fix Armada 38x support 2017-02-01 09:01:19 +01:00
pci_rom.c x86: pci: Allow conditionally run VGA rom in S3 2017-05-17 17:11:46 +08:00
pci_sandbox.c dm: Use dm_scan_fdt_dev() directly where possible 2016-07-27 14:15:54 -06:00
pci_sh4.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
pci_sh7751.c pci: sh7751: map PCI memory space into SDRAM 2016-12-02 21:32:43 -05:00
pci_sh7780.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
pci_tegra.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
pci_x86.c x86: pci: Tidy up the generic x86 PCI driver 2015-07-14 18:03:19 -06:00
pcie_dw_mvebu.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
pcie_imx.c drivers: pci: imx: add imx_pcie_remove function 2017-05-31 10:09:03 +02:00
pcie_layerscape.c common: freescale: Move arch-specific declarations 2017-06-05 12:30:55 -04:00
pcie_layerscape.h armv8: fsl-layerscape: Add NXP LS2081A, LS2041A SoC support 2017-05-23 09:40:23 -07:00
pcie_layerscape_fixup.c common: freescale: Move arch-specific declarations 2017-06-05 12:30:55 -04:00
pcie_xilinx.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
tsi108_pci.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00