From f6460778800adb08db49626a2c26ba9733d6ba94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20=C5=BBygowski?= Date: Mon, 20 Mar 2023 11:13:04 +0100 Subject: [PATCH] mb/protectli/vault_ehl: Set DIMM_MAX to 1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit VP2420 (vault_ehl) has only 1 DIMM slot present. Set the DIMM_MAX to 1 to optimize the common libraries to not attempt to read and parse more SPD than needed. TEST=Boot Protectli VP2420 (vault_ehl) with different DIMMs and see FSP is retraining the memory properly and fastboot is working. Signed-off-by: Michał Żygowski Change-Id: I29a99f387ffe2df1060547e0818c5c5b66a27061 Reviewed-on: https://review.coreboot.org/c/coreboot/+/73819 Reviewed-by: Paul Menzel Reviewed-by: Michał Kopeć Tested-by: build bot (Jenkins) --- src/mainboard/protectli/vault_ehl/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mainboard/protectli/vault_ehl/Kconfig b/src/mainboard/protectli/vault_ehl/Kconfig index 73e0984df6..5f283eed32 100644 --- a/src/mainboard/protectli/vault_ehl/Kconfig +++ b/src/mainboard/protectli/vault_ehl/Kconfig @@ -29,6 +29,9 @@ config MAX_CPUS config CBFS_SIZE default 0x900000 +config DIMM_MAX + default 1 + config VBOOT select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC select GBB_FLAG_DISABLE_FWMP