From 2c9688c65a3fad9542a170129ea7c2a6295b42ee Mon Sep 17 00:00:00 2001 From: Felix Held Date: Sun, 14 Jan 2024 21:46:34 +0100 Subject: 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 Change-Id: I01e7da5d49f296dde2de41e23e86e3f49fe78193 Reviewed-on: https://review.coreboot.org/c/coreboot/+/79974 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber Reviewed-by: Patrick Rudolph Reviewed-by: Paul Menzel --- src/device/Kconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'src/device') 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 -- cgit v1.2.3