[PATCH v2 05/25] pci: pci-uclass: Dynamically allocate the PCI regions
Simon Glass
sjg at chromium.org
Sat Aug 22 17:09:40 CEST 2020
On Mon, 17 Aug 2020 at 01:08, Stefan Roese <sr at 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 at denx.de>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Bin Meng <bmeng.cn at gmail.com>
> Cc: Thierry Reding <treding at nvidia.com>
> Cc: Marek Vasut <marek.vasut+renesas at 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 at chromium.org>
More information about the U-Boot
mailing list