Skip to content
Snippets Groups Projects
Commit e0024741 authored by Stefan Roese's avatar Stefan Roese
Browse files

pci: pci-uclass: Dynamically allocate the PCI regions


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: default avatarStefan Roese <sr@denx.de>
Reviewed-by: Simon Glass's avatarSimon 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>
parent 65f8c7ed
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment