summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Knispel <gknispel@proformatique.com>2012-02-09 18:48:27 +0100
committerNoe Rubinstein <nrubinstein@avencall.com>2012-12-07 12:45:53 +0100
commit56b9cfa6e98a2f6ab8db27d4cc2efbccf9890ffb (patch)
tree1dd198a2b63a85807b1e05fda4498c53850ba200
parentcaa28e217bdd1f7757f2430da3e884e407074a70 (diff)
make dsdt build with iasl version 20100528 and add vendor spec desc for XHFC device
-rw-r--r--src/mainboard/intel/truxton/dsdt.asl51
1 files changed, 18 insertions, 33 deletions
diff --git a/src/mainboard/intel/truxton/dsdt.asl b/src/mainboard/intel/truxton/dsdt.asl
index 712281dec..8cab85eb2 100644
--- a/src/mainboard/intel/truxton/dsdt.asl
+++ b/src/mainboard/intel/truxton/dsdt.asl
@@ -21,11 +21,6 @@
DefinitionBlock ("DSDT", "DSDT", 1, "TRUXTON", "COREBOOT", 0x0000001)
{
- Name (MG1B, 0x00000000)
- Name (MG1L, 0x00000000)
- Name (MG2B, 0x80000000)
- Name (MG2L, 0x80000000)
-
Scope (\_PR)
{
Processor (CPU1, 0x01, 0x00000810, 0x06)
@@ -65,6 +60,21 @@ DefinitionBlock ("DSDT", "DSDT", 1, "TRUXTON", "COREBOOT", 0x0000001)
Name (_CRS, ResourceTemplate ()
{
Interrupt (, Level, ActiveLow, Exclusive,,, XGSI) { 32 }
+ VendorLong (XCNF) {
+
+ // The UUID dance is stupid so we refuse to dance it.
+ //
+ // Also probably nobody in the world knows what
+ // an "UUID specific descriptor sub type value" is.
+ // So would we be crazy enough to want to use an
+ // UUID, we probably would not manage to do it as
+ // "specified"...
+
+ 0x00, // incompatible revision
+ 0x00, // backward compatible revision
+
+ 27 // Reset SoC GPIO
+ }
})
}
@@ -229,39 +239,14 @@ DefinitionBlock ("DSDT", "DSDT", 1, "TRUXTON", "COREBOOT", 0x0000001)
,, , AddressRangeMemory, TypeStatic)
DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
0x00000000, // Granularity
- 0x00000000, // Range Minimum
- 0x00000000, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00000000, // Length
- ,, _Y1B, AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x00000000, // Range Minimum
- 0x00000000, // Range Maximum
+ 0x80000000, // Range Minimum
+ 0xFFFFFFFF, // Range Maximum
0x00000000, // Translation Offset
- 0x00000000, // Length
+ 0x80000000, // Length
,, _Y1C, AddressRangeMemory, TypeStatic)
})
- CreateDWordField (CRS, \_SB.PCI0._Y1B._MIN, MIN5)
- CreateDWordField (CRS, \_SB.PCI0._Y1B._MAX, MAX5)
- CreateDWordField (CRS, \_SB.PCI0._Y1B._LEN, LEN5)
- CreateDWordField (CRS, \_SB.PCI0._Y1C._MIN, MIN6)
- CreateDWordField (CRS, \_SB.PCI0._Y1C._MAX, MAX6)
- CreateDWordField (CRS, \_SB.PCI0._Y1C._LEN, LEN6)
Method (_CRS, 0, NotSerialized)
{
- Store (MG1L, Local0)
- If (Local0)
- {
- Store (MG1B, MIN5)
- Store (MG1L, LEN5)
- Add (MIN5, Decrement (Local0), MAX5)
- }
-
- Store (MG2B, MIN6)
- Store (MG2L, LEN6)
- Store (MG2L, Local0)
- Add (MIN6, Decrement (Local0), MAX6)
Return (CRS)
}