coreboot/src/soc/mediatek
Xi Chen a637873162 soc/mediatek: Add config to control DRAM scramble
The DRAM scramble feature enhances DRAM data protection. When it's
enabled, the written DRAM data will be scrambled and hence can prevent
the data from being hacked.

This feature would make debugging more difficult (for example ramoops
would be lost after reset). Therefore, add a new config to allow
enabling or disabling the feature from coreboot, without having to
maintain two versions of the DRAM calibration blob.

BUG=b:269049451
TEST=build pass and check scramble enable or disable successfully

Signed-off-by: Xi Chen <xixi.chen@mediatek.corp-partner.google.com>
Change-Id: Ib4279bc1cc960fae9c9f5da39f4448a5627288d4
Reviewed-on: https://review.coreboot.org/c/coreboot/+/73176
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Yidi Lin <yidilin@google.com>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
2023-03-02 09:24:11 +00:00
..
common soc/mediatek: Add config to control DRAM scramble 2023-03-02 09:24:11 +00:00
mt8173 soc/mediatek: Include <gpio.h> instead of <soc/gpio.h> 2023-01-13 16:51:36 +00:00
mt8183 soc/mediatek: Include <gpio.h> instead of <soc/gpio.h> 2023-01-13 16:51:36 +00:00
mt8186 soc/mediatek: Add "DRAM" to Kconfig MEDIATEK_BLOB_FAST_INIT name 2023-02-23 12:14:47 +00:00
mt8188 soc/mediatek: Add "DRAM" to Kconfig MEDIATEK_BLOB_FAST_INIT name 2023-02-23 12:14:47 +00:00
mt8192 soc/mediatek: Include <gpio.h> instead of <soc/gpio.h> 2023-01-13 16:51:36 +00:00
mt8195 soc/mediatek: Include <gpio.h> instead of <soc/gpio.h> 2023-01-13 16:51:36 +00:00