diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-10-09 07:52:40 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-11-13 21:13:39 +0000 |
commit | cd0b67b30a3dd5cd51ff0e1ad06cdbfc8590fcf6 (patch) | |
tree | a6598a9ce179ab507e2e0644038eef041c031958 /src/southbridge | |
parent | 7630803b85c63fce6e90b3f95e58e8eb7369a912 (diff) | |
download | coreboot-cd0b67b30a3dd5cd51ff0e1ad06cdbfc8590fcf6.tar.xz |
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')
-rw-r--r-- | src/southbridge/intel/i82801dx/lpc.c | 2 | ||||
-rw-r--r-- | src/southbridge/intel/i82801ix/lpc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/southbridge/intel/i82801dx/lpc.c b/src/southbridge/intel/i82801dx/lpc.c index 031a01a68b..a46f5a3707 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(); } diff --git a/src/southbridge/intel/i82801ix/lpc.c b/src/southbridge/intel/i82801ix/lpc.c index 16763bc71a..3df9288530 100644 --- a/src/southbridge/intel/i82801ix/lpc.c +++ b/src/southbridge/intel/i82801ix/lpc.c @@ -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(); } |