pci: pci-uclass: Add multi entry support for memory regions
authorSuneel Garapati <sgarapati@marvell.com>
Sun, 20 Oct 2019 00:10:20 +0000 (17:10 -0700)
committerStefan Roese <sr@denx.de>
Tue, 25 Aug 2020 06:01:16 +0000 (08:01 +0200)
commit4cf56ec07f673f99c87862dbb7e72bc077685474
treed40e8b752e61d666aab70f047b008e6ef30634c3
parentbc30140d20d041a6ed5d52175e9953c36f8f5473
pci: pci-uclass: Add multi entry support for memory regions

Enable PCI memory regions in ranges property to be of multiple entry.
This helps to add support for SoC's like OcteonTX/TX2 where every
peripheral is on PCI bus.

Signed-off-by: Suneel Garapati <sgarapati@marvell.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Bin Meng <bmeng.cn@gmail.com>
arch/sandbox/dts/test.dts
configs/sandbox_defconfig
configs/sandbox_flattree_defconfig
drivers/pci/Kconfig
drivers/pci/pci-uclass.c
test/dm/pci.c