diff options
author | Angel Pons <th3fanbus@gmail.com> | 2022-01-31 17:45:04 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-02-02 13:27:13 +0000 |
commit | 7a3c416ebd21a1851f3f755d752473d532e2714f (patch) | |
tree | ddebeab198a99116f074c08d8fc412914b09495b /src/mainboard/prodrive/hermes/mainboard.c | |
parent | 67d06722969513e00bfb7bd33401b50b9870937c (diff) |
mb/prodrive/hermes: Add VT-x control via EEPROM
Introduce a new field in the board settings EEPROM region to control
whether VT-x is to be enabled.
Change-Id: If65c58dd6e5069dba1675ad875c7ac89e704350e
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/61507
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-by: Marvin Drees <marvin.drees@9elements.com>
Diffstat (limited to 'src/mainboard/prodrive/hermes/mainboard.c')
-rw-r--r-- | src/mainboard/prodrive/hermes/mainboard.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/prodrive/hermes/mainboard.c b/src/mainboard/prodrive/hermes/mainboard.c index 6ca9613b09..2f0de61843 100644 --- a/src/mainboard/prodrive/hermes/mainboard.c +++ b/src/mainboard/prodrive/hermes/mainboard.c @@ -240,6 +240,8 @@ static void mainboard_early(void *unused) /* Set Deep Sx */ config->deep_s5_enable_ac = board_cfg->deep_sx_enabled; config->deep_s5_enable_dc = board_cfg->deep_sx_enabled; + + config->disable_vmx = board_cfg->vtx_disabled; } if (check_signature(offsetof(struct eeprom_layout, supd), FSPS_UPD_SIGNATURE)) { |