Attention is currently required from: Crystal Guo, Hung-Te Lin, Jarried Lin.
Hello Crystal Guo, Hung-Te Lin, Yidi Lin, Yu-Ping Wu, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/85098?usp=email
to look at the new patch set (#2).
Change subject: soc/mediatek/mt8196: Add dram calibration support ......................................................................
soc/mediatek/mt8196: Add dram calibration support
Add support for MT8196 DRAM calibration. DRAM parameters and related constants are added in dramc_param.h and dramc_soc.h. As MT8196's dramc_param struct size is different from other MediaTek SoCs, replace the hardcoded RW_MRC_CACHE size in common code with a constant derived from chromeos.fmd.
The common emi.c can be reused for MT8196 as well, so remove the duplicate mt8196/emi.{c,h}.
Enable MEDIATEK_DRAM_BLOB_FAST_INIT to allow running DRAM fast calibration via the DRAM blob.
Test=Build pass BUG=b:317009620
Change-Id: Ifeaf73e31b29ef376a28ca2721dba0d4866d6e8b Signed-off-by: Crystal Guo crystal.guo@mediatek.corp-partner.google.com --- M src/soc/mediatek/common/memory.c M src/soc/mediatek/mt8196/Kconfig M src/soc/mediatek/mt8196/Makefile.mk D src/soc/mediatek/mt8196/emi.c A src/soc/mediatek/mt8196/include/soc/dramc_param.h A src/soc/mediatek/mt8196/include/soc/dramc_soc.h D src/soc/mediatek/mt8196/include/soc/emi.h 7 files changed, 186 insertions(+), 36 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/98/85098/2