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>
This commit is contained in:
Felix Held 2024-01-14 21:46:34 +01:00
parent a7f55af995
commit 2c9688c65a
1 changed files with 1 additions and 0 deletions

View File

@ -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