summaryrefslogtreecommitdiffstats
path: root/src/southbridge/intel/i82801dx/lpc.c
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-10-09 07:52:40 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-11-13 21:13:39 +0000
commitcd0b67b30a3dd5cd51ff0e1ad06cdbfc8590fcf6 (patch)
treea6598a9ce179ab507e2e0644038eef041c031958 /src/southbridge/intel/i82801dx/lpc.c
parent7630803b85c63fce6e90b3f95e58e8eb7369a912 (diff)
downloadcoreboot-cd0b67b30a3dd5cd51ff0e1ad06cdbfc8590fcf6.tar.gz
coreboot-cd0b67b30a3dd5cd51ff0e1ad06cdbfc8590fcf6.tar.bz2
coreboot-cd0b67b30a3dd5cd51ff0e1ad06cdbfc8590fcf6.zip
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>
Diffstat (limited to 'src/southbridge/intel/i82801dx/lpc.c')
-rw-r--r--src/southbridge/intel/i82801dx/lpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/intel/i82801dx/lpc.c b/src/southbridge/intel/i82801dx/lpc.c
index 031a01a68b33..a46f5a370793 100644
--- a/src/southbridge/intel/i82801dx/lpc.c
+++ b/src/southbridge/intel/i82801dx/lpc.c
@@ -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();
}