From 1c626b01c23cb3bf573cbc69ed0dba4ca8c65a97 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Fri, 12 Jan 2024 19:52:56 +0100 Subject: [PATCH] soc/cavium/cn81xx/Kconfig: specify ECAM_MMCONF_BUS_NUMBER The Cavium CN81xx SoC selects ECAM_MMCONF_SUPPORT, but doesn't set a value for ECAM_MMCONF_BUS_NUMBER which results in it defaulting to 0 which is wrong. Both the Cavium CN8100 SFF EVB and the OpenCellular Elgon (GBCv2) mainboard specify 32 PCI buses in their Linux devicetree files, so set the SoC's ECAM_MMCONF_BUS_NUMBER Kconfig option to 32 to match this. Signed-off-by: Felix Held Suggested-by: Patrick Rudolph Change-Id: Ic98381e2cc597cf23af249c71911545692e40f64 Reviewed-on: https://review.coreboot.org/c/coreboot/+/79931 Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) Reviewed-by: Matt DeVillier Reviewed-by: Nico Huber Reviewed-by: Patrick Rudolph --- src/soc/cavium/cn81xx/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/soc/cavium/cn81xx/Kconfig b/src/soc/cavium/cn81xx/Kconfig index 368581f8f1..5593685a37 100644 --- a/src/soc/cavium/cn81xx/Kconfig +++ b/src/soc/cavium/cn81xx/Kconfig @@ -39,4 +39,7 @@ config STACK_SIZE config ECAM_MMCONF_BASE_ADDRESS default 0x848000000000 +config ECAM_MMCONF_BUS_NUMBER + default 32 + endif