soc/intel/meteorlake: Set AES-NI Lock

This function performs locking of the AES-NI enablement state.

TEST=Able to build and boot google/rex.

Signed-off-by: Subrata Banik <subratabanik@google.com>
Change-Id: I16f1c14d8a0ca927a34c295cb95311bd4972d691
Reviewed-on: https://review.coreboot.org/c/coreboot/+/74160
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
This commit is contained in:
Subrata Banik 2023-04-01 20:36:15 +05:30 committed by Lean Sheng Tan
parent 6e911eebc5
commit d8fc4fa4e6
1 changed files with 2 additions and 0 deletions

View File

@ -143,6 +143,8 @@ void soc_core_init(struct device *cpu)
if (CONFIG(DROP_CPU_FEATURE_PROGRAM_IN_FSP)) { if (CONFIG(DROP_CPU_FEATURE_PROGRAM_IN_FSP)) {
/* Disable 3-strike error */ /* Disable 3-strike error */
disable_three_strike_error(); disable_three_strike_error();
set_aesni_lock();
} }
} }