diff options
author | Thierry Reding <treding@nvidia.com> | 2019-03-15 16:32:33 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-04-23 17:57:23 -0400 |
commit | aec4298ccb337106fd0115b91d846a022fdf301d (patch) | |
tree | cdafe7302277ab1454ae4f840efc52c23c0afc3c /configs/rastaban_defconfig | |
parent | d94d9aa675b2d8a50b8b66b07f3210d291f7eaff (diff) |
pci: Scale MAX_PCI_REGIONS based on CONFIG_NR_DRAM_BANKS
If a platform defines CONFIG_NR_DRAM_BANKS, each DRAM bank will be added
as a PCI region. The number of MAX_PCI_REGIONS therefore needs to scale
with the number of DRAM banks, otherwise we will end up with too little
space in the hose->regions array to store all system memory regions.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'configs/rastaban_defconfig')
0 files changed, 0 insertions, 0 deletions