From 8bada5dcb026b0ac27624b9547020b145fee1831 Mon Sep 17 00:00:00 2001 From: Jarried Lin Date: Fri, 8 Nov 2024 20:11:38 +0800 Subject: mb/google/rauru: Fully calibrate DRAM Initialize and calibrate DRAM in romstage. DRAM full calibration logs: dram_init: dram init end (result: 0) DRAM-K: Fast calibration passed in 1119 msecs TEST=Full calibration pass. BUG=b:317009620 Change-Id: Ibb18675caa11a828d27860eeab48c49acf6b938d Signed-off-by: Jarried Lin Reviewed-on: https://review.coreboot.org/c/coreboot/+/85120 Reviewed-by: Yu-Ping Wu Tested-by: build bot (Jenkins) Reviewed-by: Yidi Lin --- src/mainboard/google/rauru/romstage.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mainboard/google/rauru/romstage.c b/src/mainboard/google/rauru/romstage.c index 98e8cd9dba..ebeedb88c8 100644 --- a/src/mainboard/google/rauru/romstage.c +++ b/src/mainboard/google/rauru/romstage.c @@ -1,12 +1,14 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include +#include #include #include void platform_romstage_main(void) { irq2axi_disable(); + mtk_dram_init(); if (CONFIG(PCI)) mtk_pcie_deassert_perst(); -- cgit v1.2.3