summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2021-04-02 22:02:18 +0200
committerPatrick Georgi <pgeorgi@google.com>2021-04-18 20:36:37 +0000
commit2a1ad76f7849c8141408e8895e90527053aa3bd8 (patch)
tree9e2d49f66d30a189f6bb00b6aeef59ec8fd4d6f7 /src/device
parent2d82195f976f2716b44c36042d78a55c42f1ad34 (diff)
downloadcoreboot-2a1ad76f7849c8141408e8895e90527053aa3bd8.tar.xz
device/Kconfig: Adapt PCIEXP_HOTPLUG_BUSES
The default of 32 buses per hotplug bridge is rather high. Especially for platforms that limit MMConf space to 64 buses: they run out of numbers if there is more than a single hotplug bridge. Lower the default to * 8 if MMConf is limited to 64 or less buses, * 16 if MMConf is limited to 128 or less buses. Change-Id: I06d522dd92ceea9f4798273b26f947a5333800c3 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/52069 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/device')
-rw-r--r--src/device/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/device/Kconfig b/src/device/Kconfig
index 1bfc34a982..63b7d6c9ee 100644
--- a/src/device/Kconfig
+++ b/src/device/Kconfig
@@ -626,6 +626,8 @@ if PCIEXP_HOTPLUG
config PCIEXP_HOTPLUG_BUSES
int "PCI Express Hotplug Buses"
+ default 8 if MMCONF_SUPPORT && MMCONF_BUS_NUMBER <= 64
+ default 16 if MMCONF_SUPPORT && MMCONF_BUS_NUMBER <= 128
default 32
help
This is the number of buses allocated for hotplug PCI express