From 030b5bb7c39eac9fdbdf4b6016503b9ed4d1a74b Mon Sep 17 00:00:00 2001 From: Marc Jones Date: Mon, 12 Feb 2018 09:59:54 -0700 Subject: soc/amd/stoneyridge: Set up LAPIC LAPIC setup is required to set virtualwire mode for legacy interrupts. This was omitted when stoneyridge was changed to use the common mp_init. BUG=b:72351388 TEST=Verify keyboard now works in SeaBIOS Change-Id: I648d8b5b5a3744a5781446c7cb72934a071f9a72 Signed-off-by: Marc Jones Reviewed-on: https://review.coreboot.org/23718 Reviewed-by: Aaron Durbin Tested-by: build bot (Jenkins) --- src/soc/amd/stoneyridge/model_15_init.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/soc/amd/stoneyridge/model_15_init.c b/src/soc/amd/stoneyridge/model_15_init.c index 56f747cc6b..4bde81eb51 100644 --- a/src/soc/amd/stoneyridge/model_15_init.c +++ b/src/soc/amd/stoneyridge/model_15_init.c @@ -14,6 +14,7 @@ */ #include +#include #include #include #include @@ -76,6 +77,8 @@ static void model_15_init(device_t dev) msr.hi = 0; for (i = 0 ; i < 6 ; i++) wrmsr(MCI_STATUS + (i * 4), msr); + + setup_lapic(); } static struct device_operations cpu_dev_ops = { -- cgit v1.2.3