Attention is currently required from: Crystal Guo, Hung-Te Lin, Xi Chen, Xixi Chen, Yidi Lin.
Hello Crystal Guo, Hung-Te Lin, Xi Chen, Xixi Chen, Yu-Ping Wu, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/80687?usp=email
to look at the new patch set (#4).
The following approvals got outdated and were removed: Verified+1 by build bot (Jenkins)
Change subject: soc/mediatek: Add `MEDIATEK_DRAM_ADAPTIVE` config to support dram adaptive ......................................................................
soc/mediatek: Add `MEDIATEK_DRAM_ADAPTIVE` config to support dram adaptive
Starting from MT8195, MediaTek platform supports "dram adaptive" to automatically detect dram information, including channel, rank, die size..., and can automatically configure EMI settings. So we can just pass a placeholder param blob to `mt_mem_init_run` by enabling this option.
Platforms (MT8173, MT8183, MT8192) which do not support "dram adaptive" need to implement `get_sdram_config` to get onboard DRAM configuration info.
TEST=emerge-geralt coreboot && emerge-asurada coreboot TEST=CONFIG_MEDIATEK_DRAM_ADAPTIVE is set to y on geralt TEST=CONFIG_MEDIATEK_DRAM_ADAPTIVE is no set on asurada
Change-Id: I05a01b1ab13fbf19b2a908c48a540a5c2e1ccbdc Signed-off-by: Yidi Lin yidilin@chromium.org --- M src/mainboard/google/cherry/Makefile.mk D src/mainboard/google/cherry/sdram_configs.c M src/mainboard/google/corsola/Makefile.mk D src/mainboard/google/corsola/sdram_configs.c M src/mainboard/google/geralt/Makefile.mk D src/mainboard/google/geralt/sdram_configs.c M src/soc/mediatek/common/Kconfig M src/soc/mediatek/common/include/soc/dramc_param_common.h M src/soc/mediatek/common/memory.c M src/soc/mediatek/mt8186/include/soc/dramc_param.h M src/soc/mediatek/mt8188/include/soc/dramc_param.h M src/soc/mediatek/mt8192/include/soc/dramc_param.h M src/soc/mediatek/mt8195/include/soc/dramc_param.h 13 files changed, 24 insertions(+), 53 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/87/80687/4