diff --git a/src/soc/mediatek/common/memory.c b/src/soc/mediatek/common/memory.c index b6f7dde02b..1a627ddd35 100644 --- a/src/soc/mediatek/common/memory.c +++ b/src/soc/mediatek/common/memory.c @@ -202,6 +202,8 @@ static int dram_run_fast_calibration(struct dramc_param *dparam) printk(BIOS_INFO, "DRAM-K: DRAM calibration data valid pass\n"); + if (CONFIG(MEDIATEK_DRAM_SCRAMBLE)) + dparam->header.config |= DRAMC_CONFIG_SCRAMBLE; if (CONFIG(MEDIATEK_DRAM_BLOB_FAST_INIT)) { printk(BIOS_INFO, "DRAM-K: Run fast calibration run in blob mode\n");