summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/soc/mediatek/common/memory.c2
1 files changed, 2 insertions, 0 deletions
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");