diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2021-12-06 11:42:03 +0100 |
---|---|---|
committer | Subrata Banik <subrata.banik@intel.com> | 2021-12-06 11:39:08 +0000 |
commit | 7d925c5fb8ec44c3fdaf98535c0badc955fb3a4d (patch) | |
tree | 961f5f023c88a8a17fa05c32809592d64e722213 /util/intelvbttool | |
parent | df808f36190a99013a9687ea5c4aa0c70da5dd40 (diff) |
cpu/x86/mp_init.c: Fix HAVE_SMI_HANDLER
Fixes commit 29c7622 ("cpu/x86/mp_init.c: Fix building with no
smihandler") broke SMM init because is_smm_enable() was called before
smm_enable.
Rework the code a little to make it clear what codepaths are used with
CONFIG_HAVE_SMI_HANDLER.
TESTED: now prodrive/hermes boots again.
Change-Id: If4ce0dca2f29754d131dacf2da63e946be9a7b6d
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/59912
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Subrata Banik <subrata.banik@intel.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util/intelvbttool')
0 files changed, 0 insertions, 0 deletions