From c69ea24ba8beb88c0d4948986e90769b6115d8bd Mon Sep 17 00:00:00 2001 From: Rex-BC Chen Date: Fri, 25 Mar 2022 15:53:22 +0800 Subject: soc/mediatek: Add a configurate "USE_CBMEM_DRAM_INFO" The memory initialization reference code didn't support returning DRAM information in the old platforms, for example MT8192 and MT8195. So we have to add a new configuration USE_CBMEM_DRAM_INFO to make sure the common code will try to get DRAM information on new platforms supporting that. BUG=none TEST=build pass Signed-off-by: Rex-BC Chen Change-Id: Iebe9ea0c1d01890b09fdf586813d85adde9702e1 Reviewed-on: https://review.coreboot.org/c/coreboot/+/63109 Tested-by: build bot (Jenkins) Reviewed-by: Yu-Ping Wu --- src/soc/mediatek/common/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/soc/mediatek/common/Kconfig') diff --git a/src/soc/mediatek/common/Kconfig b/src/soc/mediatek/common/Kconfig index cd3b2a223b..2adb34458d 100644 --- a/src/soc/mediatek/common/Kconfig +++ b/src/soc/mediatek/common/Kconfig @@ -50,4 +50,10 @@ config MTK_DFD and dumps to internal RAM on the WDT reset. We reserve 1MB on DRAM to store logs of DFD. +config USE_CBMEM_DRAM_INFO + bool "Support filling dram information to cbmem" + help + The DRAM initialization will keep and return DRAM information (size, + geometry and other DDR info) so we can fill that into the CBMEM. + endif -- cgit v1.2.3