mb/google/geralt: Fully calibrate DRAM
commitbcaa87d603441b74b7f1cf504bf7cb03aa8dafc9
authorXi Chen <xixi.chen@mediatek.com>
Thu, 28 Jul 2022 05:45:18 +0000 (28 13:45 +0800)
committerMartin Roth <martin.roth@amd.corp-partner.google.com>
Sat, 27 Aug 2022 15:54:53 +0000 (27 15:54 +0000)
tree3d1452b26627692fb833fe6d128d9af3aec972e2
parent22ce1e80af945d0d24ce70b0bc7761e0df6512b0
mb/google/geralt: Fully calibrate DRAM

Initialize and calibrate DRAM in romstage.

DRAM full calibration logs:
dram_init: dram init end (result: 0)
DRAM-K: Full calibration passed in 50176 msecs

TEST=Full calibration pass.
BUG=b:233720142

Signed-off-by: Xi Chen <xixi.chen@mediatek.com>
Change-Id: I31f5693ffe4a1e30defbc8a96dc128de03d6b7e7
Reviewed-on: https://review.coreboot.org/c/coreboot/+/66278
Reviewed-by: Yidi Lin <yidilin@chromium.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/mainboard/google/geralt/Makefile.inc
src/mainboard/google/geralt/romstage.c
src/mainboard/google/geralt/sdram_configs.c [new file with mode: 0644]