From ab1d04a0c4d24073eb5bb324260f3fe78b992fea Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Thu, 8 Aug 2024 14:46:35 +0530 Subject: mb/google/fatcat: Add support for soldered-down memory This change adds support for soldered-down memory on the Fatcat board. It introduces a new Kconfig option `MEMORY_SOLDERDOWN` and includes the necessary Makefiles adjustments to handle SPD data in CBFS when this option is enabled. * A new Kconfig option `MEMORY_SOLDERDOWN` is added to control soldered-down memory support. * When `MEMORY_SOLDERDOWN` is enabled, it selects: * `CHROMEOS_DRAM_PART_NUMBER_IN_CBI` if `CHROMEOS` is enabled * `HAVE_SPD_IN_CBFS` * The Makefile is updated to include the `variants/$(VARIANT_DIR)/ memory` subdirectory and conditionally include the `spd` subdirectory based on `CONFIG_HAVE_SPD_IN_CBFS`. BUG=b:348678071 TEST=Able to build google/fatcat with N-1 silicon. Change-Id: I7edc1134630940812186118a29cbbd550f0e3634 Signed-off-by: Subrata Banik Reviewed-on: https://review.coreboot.org/c/coreboot/+/83828 Tested-by: build bot (Jenkins) Reviewed-by: Eric Lai Reviewed-by: Ravishankar Sarawadi Reviewed-by: Pranava Y N --- src/mainboard/google/fatcat/spd/Makefile.mk | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/mainboard/google/fatcat/spd/Makefile.mk (limited to 'src/mainboard/google/fatcat/spd/Makefile.mk') diff --git a/src/mainboard/google/fatcat/spd/Makefile.mk b/src/mainboard/google/fatcat/spd/Makefile.mk new file mode 100644 index 0000000000..be4d98bd1d --- /dev/null +++ b/src/mainboard/google/fatcat/spd/Makefile.mk @@ -0,0 +1,6 @@ +## SPDX-License-Identifier: GPL-2.0-or-later +## + +ifneq ($(SPD_SOURCES),) +LIB_SPD_DEPS := $(SPD_SOURCES) +endif -- cgit v1.2.3