[coreboot-gerrit] New patch to review for coreboot: da71e42 AMD Thatcher: fix issue 'S3 fails to suspend after wake up from USB keyboard'

Siyuan Wang (wangsiyuanbuaa@gmail.com) gerrit at coreboot.org
Wed Jun 5 09:07:41 CEST 2013


Siyuan Wang (wangsiyuanbuaa at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3374

-gerrit

commit da71e4285899029cc80367c05d7c955db0b55406
Author: Siyuan Wang <wangsiyuanbuaa at gmail.com>
Date:   Wed Jun 5 14:32:51 2013 +0800

    AMD Thatcher: fix issue 'S3 fails to suspend after wake up from USB keyboard'
    
    Please check [1] for details.
    
    [1]. http://review.coreboot.org/#/c/3347/
    
    Change-Id: Iaef39237497ef896d0f186e8f5522222c0ce6cb7
    Signed-off-by: Siyuan Wang <SiYuan.Wang at amd.com>
    Signed-off-by: Siyuan Wang <wangsiyuanbuaa at gmail.com>
---
 src/mainboard/amd/thatcher/dsdt.asl | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/src/mainboard/amd/thatcher/dsdt.asl b/src/mainboard/amd/thatcher/dsdt.asl
index 7f08bbb..e48c9cf 100644
--- a/src/mainboard/amd/thatcher/dsdt.asl
+++ b/src/mainboard/amd/thatcher/dsdt.asl
@@ -202,6 +202,14 @@ DefinitionBlock (
 	/* PM1 Event Block
 	* First word is PM1_Status, Second word is PM1_Enable
 	*/
+
+	/* AcpiGpe0Blk */
+	OperationRegion(GP0B, SystemMemory, 0xfed80814, 0x04)
+		Field(GP0B, ByteAcc, NoLock, Preserve) {
+		, 11,
+		USBS, 1,
+	}
+
 	Scope(\_SB) {
 		/* PCIe Configuration Space for CONFIG_MMCONF_BUS_NUMBER busses */
 		OperationRegion(PCFG, SystemMemory, PCBA, PCLN)
@@ -844,6 +852,8 @@ DefinitionBlock (
 		*	Store(Arg0, Index(WKST,1))
 		* }
 		*/
+		/* clear USB wake up signal */
+		Store(1, USBS)
 		Return(WKST)
 	} /* End Method(\_WAK) */
 



More information about the coreboot-gerrit mailing list