
22 Aug
2020
22 Aug
'20
5:09 p.m.
On Mon, 17 Aug 2020 at 01:08, Stefan Roese sr@denx.de wrote:
Instead of using a fixed length pre-allocated array of regions, this patch moves to dynamically allocating the regions based on the number of available regions plus the necessary regions for DRAM banks.
Since MAX_PCI_REGIONS is not needed any more, its removed completely with this patch.
Signed-off-by: Stefan Roese sr@denx.de Cc: Simon Glass sjg@chromium.org Cc: Bin Meng bmeng.cn@gmail.com Cc: Thierry Reding treding@nvidia.com Cc: Marek Vasut marek.vasut+renesas@gmail.com
Changes in v2:
- Split changes in board/renesas/rcar-common/common.c into separate patch
Changes in v1:
- New patch, replaces increase of MAX_PCI_REGIONS to 10
drivers/pci/pci-uclass.c | 14 ++++++++------ include/pci.h | 4 +--- 2 files changed, 9 insertions(+), 9 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org