From 0e6cb83abb7a6892a2ca371baa14a3654ad49e24 Mon Sep 17 00:00:00 2001 From: Huayang Duan Date: Sun, 31 May 2020 11:49:25 +0800 Subject: soc/mediatek/mt8183: Add ddr geometry to support 6GB, 8GB DDR bootup Currently the DRAM initialization code can only work on 4GB size and want to support larger memory sizes in future, so add geometry information to the DRAM calibration parameters. BUG=none BRANCH=kukui TEST=Boots correctly on Kukui Change-Id: I1fdf50b75c6a552c0a889f21e1a81ab4b9a305fa Signed-off-by: Huayang Duan Reviewed-on: https://review.coreboot.org/c/coreboot/+/41949 Tested-by: build bot (Jenkins) Reviewed-by: Yu-Ping Wu Reviewed-by: Hung-Te Lin Reviewed-by: Angel Pons --- src/soc/mediatek/mt8183/dramc_init_setting.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/soc/mediatek/mt8183/dramc_init_setting.c') diff --git a/src/soc/mediatek/mt8183/dramc_init_setting.c b/src/soc/mediatek/mt8183/dramc_init_setting.c index 9ae0aae07f..794fad1c3d 100644 --- a/src/soc/mediatek/mt8183/dramc_init_setting.c +++ b/src/soc/mediatek/mt8183/dramc_init_setting.c @@ -5,6 +5,7 @@ #include #include #include +#include #include #include #include -- cgit v1.2.3