mb/google/skywalker: Add DRAM calibration init entry

Add DRAM calibration entry in romstage.

BUG=b:379008996
BRANCH=none
TEST=Boot up pass
3200 LPDDR5 chan0(x16) rank0: memory test pass
3200 LPDDR5 chan0(x16) rank1: memory test pass
3200 LPDDR5 chan1(x16) rank0: memory test pass
3200 LPDDR5 chan1(x16) rank1: memory test pass

Signed-off-by: Mike Lin <mike.lin@mediatek.corp-partner.google.com>
Change-Id: Iabdcabefc77a262c548019e801daf5b269eaa97a
Reviewed-on: https://review.coreboot.org/c/coreboot/+/87038
Reviewed-by: Yidi Lin <yidilin@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Mike Lin 2024-11-29 15:21:23 +08:00 committed by Matt DeVillier
commit b4f6e9a2ec

View file

@ -1,8 +1,9 @@
/* SPDX-License-Identifier: GPL-2.0-only OR MIT */
#include <arch/stages.h>
#include <soc/emi.h>
void platform_romstage_main(void)
{
/* TODO: add romstage main function */
mtk_dram_init();
}