[coreboot-gerrit] Change in coreboot[master]: soc/amd/stoneyridge: Setup LAPIC

Marc Jones (Code Review) gerrit at coreboot.org
Mon Feb 12 18:00:53 CET 2018


Marc Jones has uploaded this change for review. ( https://review.coreboot.org/23718


Change subject: soc/amd/stoneyridge: Setup LAPIC
......................................................................

soc/amd/stoneyridge: Setup LAPIC

LAPIC setup is required to set virtualwire mode for legacy interrupts.

BUG=b:72351388
TEST=Keyboard works in SeaBIOS.

Change-Id: I648d8b5b5a3744a5781446c7cb72934a071f9a72
Signed-off-by: Marc Jones <marcj303 at gmail.com>
---
M src/soc/amd/stoneyridge/model_15_init.c
1 file changed, 3 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/18/23718/1

diff --git a/src/soc/amd/stoneyridge/model_15_init.c b/src/soc/amd/stoneyridge/model_15_init.c
index 56f747c..4bde81e 100644
--- a/src/soc/amd/stoneyridge/model_15_init.c
+++ b/src/soc/amd/stoneyridge/model_15_init.c
@@ -14,6 +14,7 @@
  */
 
 #include <console/console.h>
+#include <cpu/x86/lapic.h>
 #include <cpu/x86/msr.h>
 #include <cpu/amd/mtrr.h>
 #include <device/device.h>
@@ -76,6 +77,8 @@
 	msr.hi = 0;
 	for (i = 0 ; i < 6 ; i++)
 		wrmsr(MCI_STATUS + (i * 4), msr);
+
+	setup_lapic();
 }
 
 static struct device_operations cpu_dev_ops = {

-- 
To view, visit https://review.coreboot.org/23718
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I648d8b5b5a3744a5781446c7cb72934a071f9a72
Gerrit-Change-Number: 23718
Gerrit-PatchSet: 1
Gerrit-Owner: Marc Jones <marc at marcjonesconsulting.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180212/d88ecba2/attachment.html>


More information about the coreboot-gerrit mailing list