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:
parent
7630803b85
commit
cd0b67b30a
|
@ -304,7 +304,7 @@ static void lpc_init(struct device *dev)
|
|||
/* Don't allow evil boot loaders, kernels, or
|
||||
* userspace applications to deceive us:
|
||||
*/
|
||||
if (CONFIG(HAVE_SMI_HANDLER))
|
||||
if (CONFIG(HAVE_SMI_HANDLER) && !CONFIG(PARALLEL_MP))
|
||||
aseg_smm_lock();
|
||||
}
|
||||
|
||||
|
|
|
@ -423,7 +423,7 @@ static void lpc_init(struct device *dev)
|
|||
/* Don't allow evil boot loaders, kernels, or
|
||||
* userspace applications to deceive us:
|
||||
*/
|
||||
if (CONFIG(HAVE_SMI_HANDLER) && CONFIG(SMM_ASEG))
|
||||
if (CONFIG(HAVE_SMI_HANDLER) && !CONFIG(PARALLEL_MP))
|
||||
aseg_smm_lock();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue