[coreboot-gerrit] Change in coreboot[master]: sb/intel/bd82x6x: re-init SPI after lockdown

Dan Elkouby (Code Review) gerrit at coreboot.org
Fri Apr 13 21:09:09 CEST 2018


Dan Elkouby has uploaded this change for review. ( https://review.coreboot.org/25660


Change subject: sb/intel/bd82x6x: re-init SPI after lockdown
......................................................................

sb/intel/bd82x6x: re-init SPI after lockdown

SMM final locks the SPI BAR, which causes e.g. flashconsole to hang

Change-Id: Ib802d7ee32f1fb0a68a84b0280480dcaefa9831f
Signed-off-by: Dan Elkouby <streetwalkermc at gmail.com>
---
M src/southbridge/intel/bd82x6x/lpc.c
1 file changed, 1 insertion(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/60/25660/1

diff --git a/src/southbridge/intel/bd82x6x/lpc.c b/src/southbridge/intel/bd82x6x/lpc.c
index c57eeca..8d8d177 100644
--- a/src/southbridge/intel/bd82x6x/lpc.c
+++ b/src/southbridge/intel/bd82x6x/lpc.c
@@ -862,6 +862,7 @@
 		if (IS_ENABLED(CONFIG_INTEL_CHIPSET_LOCKDOWN) ||
 		    acpi_is_wakeup_s3()) {
 			outb(APM_CNT_FINALIZE, APM_CNT);
+			spi_init();
 		}
 	}
 }

-- 
To view, visit https://review.coreboot.org/25660
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: Ib802d7ee32f1fb0a68a84b0280480dcaefa9831f
Gerrit-Change-Number: 25660
Gerrit-PatchSet: 1
Gerrit-Owner: Dan Elkouby <streetwalkermc at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180413/ac0cfd8f/attachment-0001.html>


More information about the coreboot-gerrit mailing list