soc/mediatek: Include sdram_info in ddr_base_info
Sync dramc_param.h with private repo mtk-dramk (CL:*3751861). BUG=none TEST=emerge-asurada coreboot TEST=Hayato boots with fast calibration BRANCH=asurada Change-Id: I79541f66ce68a75147c22b83a456e6268ca1485e Signed-off-by: Yu-Ping Wu <yupingso@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/52257 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Hung-Te Lin <hungte@chromium.org>
This commit is contained in:
@@ -156,12 +156,12 @@ static void mem_init_set_default_config(struct dramc_param *dparam,
|
||||
type = dram_info->ddr_type;
|
||||
geometry = dram_info->ddr_geometry;
|
||||
|
||||
dparam->dramc_datas.ddr_info.ddr_type = type;
|
||||
dparam->dramc_datas.ddr_info.sdram.ddr_type = type;
|
||||
|
||||
if (CONFIG(MEDIATEK_DRAM_DVFS))
|
||||
dparam->dramc_datas.ddr_info.config_dvfs = DRAMC_ENABLE_DVFS;
|
||||
|
||||
dparam->dramc_datas.ddr_info.ddr_geometry = geometry;
|
||||
dparam->dramc_datas.ddr_info.sdram.ddr_geometry = geometry;
|
||||
|
||||
printk(BIOS_INFO, "DRAM-K: ddr_type: %s, config_dvfs: %d, ddr_geometry: %s\n",
|
||||
get_dram_type_str(type),
|
||||
|
Reference in New Issue
Block a user