[coreboot-gerrit] New patch to review for coreboot: sb/intel/lynxpoint: add GPLD ACPI method
Matt DeVillier (matt.devillier@gmail.com)
gerrit at coreboot.org
Sun Nov 20 20:55:49 CET 2016
Matt DeVillier (matt.devillier at gmail.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17540
-gerrit
commit 25757e9d34eaaa5fc44102bd794d179cef0bbfa6
Author: CoolStar <coolstarorganization at gmail.com>
Date: Thu Jul 14 13:10:58 2016 -0700
sb/intel/lynxpoint: add GPLD ACPI method
Add GPLD method for generating port location data (_PLD) for USB ports.
This will be used by board-specific ACPI USB port definitions
Change-Id: I477efc677bb03ccf2be95bf6e87ede0c7446bdd8
Signed-off-by: Matt DeVillier <matt.devillier at gmail.com>
---
src/southbridge/intel/lynxpoint/acpi/usb.asl | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/src/southbridge/intel/lynxpoint/acpi/usb.asl b/src/southbridge/intel/lynxpoint/acpi/usb.asl
index a17633d..a59e265 100644
--- a/src/southbridge/intel/lynxpoint/acpi/usb.asl
+++ b/src/southbridge/intel/lynxpoint/acpi/usb.asl
@@ -394,6 +394,19 @@ Device (XHCI)
{
Name (_ADR, 0x00000000)
+ Method (GPLD, 2, Serialized) {
+ Name (PCKG, Package (0x01) {
+ Buffer (0x10) {}
+ })
+ CreateField (DerefOf (Index (PCKG, Zero)), Zero, 0x07, REV)
+ Store (One, REV)
+ CreateField (DerefOf (Index (PCKG, Zero)), 0x40, One, VISI)
+ Store (Arg0, VISI)
+ CreateField (DerefOf (Index (PCKG, Zero)), 0x57, 0x08, GPOS)
+ Store (Arg1, GPOS)
+ Return (PCKG)
+ }
+
// How many are there?
Device (PRT1) { Name (_ADR, 1) } // USB Port 0
Device (PRT2) { Name (_ADR, 2) } // USB Port 1
More information about the coreboot-gerrit
mailing list