summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2024-01-14 21:46:34 +0100
committerFelix Held <felix-coreboot@felixheld.de>2024-01-15 21:13:55 +0000
commit2c9688c65a3fad9542a170129ea7c2a6295b42ee (patch)
tree9e8b6219609dc9cef2a091e7ab6dd4f4c96ea42e
parenta7f55af995040045875515857d095c021984f7f2 (diff)
device/Kconfig: handle ECAM_MMCONF_BUS_NUMBER being 32
Provide a default for the ECAM_MMCONF_LENGTH Kconfig option for the ECAM_MMCONF_BUS_NUMBER option being set to 32. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I01e7da5d49f296dde2de41e23e86e3f49fe78193 Reviewed-on: https://review.coreboot.org/c/coreboot/+/79974 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
-rw-r--r--src/device/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/device/Kconfig b/src/device/Kconfig
index 374427a372..5202c186b4 100644
--- a/src/device/Kconfig
+++ b/src/device/Kconfig
@@ -593,6 +593,7 @@ config ECAM_MMCONF_BUS_NUMBER
config ECAM_MMCONF_LENGTH
hex
depends on ECAM_MMCONF_SUPPORT
+ default 0x02000000 if ECAM_MMCONF_BUS_NUMBER = 32
default 0x04000000 if ECAM_MMCONF_BUS_NUMBER = 64
default 0x08000000 if ECAM_MMCONF_BUS_NUMBER = 128
default 0x10000000 if ECAM_MMCONF_BUS_NUMBER = 256