sb/intel/i82801dx,ix: Replace SMM_ASEG conditional

PARALLEL_MP path also calls smm_lock().

Change-Id: I270fc8266d118cd1e7245ea70b707a03aedac209
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36789
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
This commit is contained in:
Kyösti Mälkki 2019-10-09 07:52:40 +03:00
parent 7630803b85
commit cd0b67b30a
2 changed files with 2 additions and 2 deletions

View File

@ -304,7 +304,7 @@ static void lpc_init(struct device *dev)
/* Don't allow evil boot loaders, kernels, or /* Don't allow evil boot loaders, kernels, or
* userspace applications to deceive us: * userspace applications to deceive us:
*/ */
if (CONFIG(HAVE_SMI_HANDLER)) if (CONFIG(HAVE_SMI_HANDLER) && !CONFIG(PARALLEL_MP))
aseg_smm_lock(); aseg_smm_lock();
} }

View File

@ -423,7 +423,7 @@ static void lpc_init(struct device *dev)
/* Don't allow evil boot loaders, kernels, or /* Don't allow evil boot loaders, kernels, or
* userspace applications to deceive us: * userspace applications to deceive us:
*/ */
if (CONFIG(HAVE_SMI_HANDLER) && CONFIG(SMM_ASEG)) if (CONFIG(HAVE_SMI_HANDLER) && !CONFIG(PARALLEL_MP))
aseg_smm_lock(); aseg_smm_lock();
} }