u-boot-brain/drivers/pci
Simon Glass 9526d83ac5 dm: pci: Support decoding ranges with duplicate entries
At present we add a new resource entry for every range entry. But some range
entries refer to configuration regions. To make this work, avoid adding two
regions of the same type. The later ranges will overwrite the earlier
(configuration) ones.

There does not seem to be a way to distinguish the configuration ranges
other than by ordering (as per the device tree binding).

We could perhaps instead just store one region of each type in a simple
array. Once we are sure that we don't need to support multiple regions, we
could change this. It would be easier to do it when all drivers are
converted to use driver model for PCI.

Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Stephen Warren <swarren@nvidia.com>
2015-12-01 06:26:36 -07:00
..
fsl_pci_init.c fsl/pci: Set CFG_READY for PCIe v3.0 and later 2015-05-04 09:24:23 -07:00
Kconfig dm: tegra: pci: Move CONFIG_PCI_TEGRA to Kconfig 2015-12-01 06:26:36 -07:00
Makefile pci: mvebu: Add PCIe driver 2015-08-17 18:49:43 +02:00
pci_auto.c pci: Set PCI_COMMAND_IO bit for VGA device 2015-10-21 07:46:25 -06:00
pci_common.c pci: fix address range check in __pci_hose_phys_to_bus() 2015-11-23 11:01:52 -05:00
pci_compat.c pci: Remove DEBUG from pci_compat.c 2015-08-05 10:49:32 -06: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 Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
pci_msc01.c malta: support for coreFPGA6 boards 2013-11-09 17:21:01 +01:00
pci_mvebu.c pci: mvebu: Add PCIe driver 2015-08-17 18:49:43 +02:00
pci_rom.c x86: Set up video framebuffer for coreboot before loading kernel 2015-08-26 07:54:09 -07:00
pci_sandbox.c dm: sandbox: Add a simple PCI driver 2015-04-16 19:27:43 -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 Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04: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 pci: tegra: add/enable support for Tegra210 2015-11-12 09:21:05 -07:00
pci_x86.c x86: pci: Tidy up the generic x86 PCI driver 2015-07-14 18:03:19 -06: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: pci: Support decoding ranges with duplicate entries 2015-12-01 06:26:36 -07:00
pci.c pci: Add a constant for an invalid interrupt 2015-08-05 08:42:41 -06:00
pcie_imx.c pci: pcie_imx: Fix hang on mx6qp 2015-10-15 09:05:13 -04:00
pcie_layerscape.c pci/layerscape: add support for LS1043A PCIe LUT register access 2015-11-30 09:11:10 -08:00
tsi108_pci.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
w83c553f.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00