diff options
author | Mario Scheithauer <mario.scheithauer@siemens.com> | 2021-11-02 14:39:17 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-11-04 10:22:37 +0000 |
commit | bb03e763de0a69265976463b07dbe8226608c6ff (patch) | |
tree | 9e48fa00d2d4599d66cff365c004330ffb1f19b6 /src/mainboard | |
parent | 5c65ec1ee51b93e41c1e123c24643ea2faec29d1 (diff) |
mb/siemens/mc_ehl: Enable Row-Hammer prevention
As a prevention of Row-Hammer attacks enable the FSP-M parameter
'RhPrevention'.
Change-Id: I52f68525e882aee26822d9b3c488639c00f27d17
Signed-off-by: Mario Scheithauer <mario.scheithauer@siemens.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58856
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/siemens/mc_ehl/romstage_fsp_params.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/siemens/mc_ehl/romstage_fsp_params.c b/src/mainboard/siemens/mc_ehl/romstage_fsp_params.c index f93e0affe8..82e20900a8 100644 --- a/src/mainboard/siemens/mc_ehl/romstage_fsp_params.c +++ b/src/mainboard/siemens/mc_ehl/romstage_fsp_params.c @@ -33,4 +33,7 @@ void mainboard_memory_init_params(FSPM_UPD *memupd) } /* Initialize variant specific configurations */ memcfg_init(&memupd->FspmConfig, board_cfg, &spd_info, false); + + /* Enable Row-Hammer prevention */ + memupd->FspmConfig.RhPrevention = 1; } |