summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYidi Lin <yidilin@chromium.org>2023-06-01 12:15:17 +0800
committerFelix Held <felix-coreboot@felixheld.de>2023-06-12 15:30:32 +0000
commit37e83250e83ee00e884d38a76a5e94c91ab28d05 (patch)
tree8d90c445de1178c714a9741775de309409665ff3
parent15c87718687ab4cfbe1f04b0a764645ca2e34ca7 (diff)
soc/mediatek/common: Disable DRAM scramble by default
Geralt SoC does not support 'persist certain regions' across reboots. Considering the impact of missing ramoops for debugging, set MEDIATEK_DRAM_SCRAMBLE to default n to disable this feature in production FW image. BUG=b:269049451,b:278478563 TEST=emerge-geralt coreboot and confirm CONFIG_MEDIATEK_DRAM_SCRAMBLE=n Signed-off-by: Yidi Lin <yidilin@chromium.org> Change-Id: I109634d811a928e3e6f7f56e706a5b61a52a21ab Reviewed-on: https://review.coreboot.org/c/coreboot/+/75562 Reviewed-by: Hung-Te Lin <hungte@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/soc/mediatek/common/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/mediatek/common/Kconfig b/src/soc/mediatek/common/Kconfig
index 1ca0b9867c..d44b4d1164 100644
--- a/src/soc/mediatek/common/Kconfig
+++ b/src/soc/mediatek/common/Kconfig
@@ -32,7 +32,7 @@ config MEDIATEK_DRAM_BLOB_FAST_INIT
config MEDIATEK_DRAM_SCRAMBLE
bool
- default y
+ default n
help
This option enables DRAM data scramble, which can prevent DRAM data from
being hacked.