aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/xeon_sp/skx/acpi/iiostack.asl
diff options
context:
space:
mode:
authorMarc Jones <marcjones@sysproconsulting.com>2020-07-23 11:54:38 -0600
committerMarc Jones <marc@marcjonesconsulting.com>2020-10-03 03:34:52 +0000
commitb0e8c7c43799109b2147a02ebd1210e88beafd64 (patch)
tree94ac37eaeda5ac2392b73ff1717568c5a8b19b69 /src/soc/intel/xeon_sp/skx/acpi/iiostack.asl
parent07e8cd53486785610848adab2de23285488f2dcf (diff)
soc/intel/xeon_sp: Use common ASL code for xeon_sp
Move and use the common xeon_sp/cpx/acpi asl for skx/. There were only minor whitespace differences between the directories. Update the mainboards to build the moved files. TiogaPass coreboot.rom checked with BUILD_TIMELESS. Change-Id: I5058a3fe8d96075a266fb92f10707bb94308c85b Signed-off-by: Marc Jones <marcjones@sysproconsulting.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/45217 Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Jay Talbott <JayTalbott@sysproconsulting.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/xeon_sp/skx/acpi/iiostack.asl')
-rw-r--r--src/soc/intel/xeon_sp/skx/acpi/iiostack.asl77
1 files changed, 0 insertions, 77 deletions
diff --git a/src/soc/intel/xeon_sp/skx/acpi/iiostack.asl b/src/soc/intel/xeon_sp/skx/acpi/iiostack.asl
deleted file mode 100644
index 964be3c785..0000000000
--- a/src/soc/intel/xeon_sp/skx/acpi/iiostack.asl
+++ /dev/null
@@ -1,77 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
-
-#define MAKE_IIO_DEV(id,rt) \
- Device (PC##id) \
- { \
- Name (_HID, EisaId ("PNP0A08") /* PCI Express Bus */) \
- Name (_CID, EisaId ("PNP0A03") /* PCI Bus */) \
- Name (_UID, 0x##id) \
- Method (_PRT, 0, NotSerialized) \
- { \
- If (PICM) \
- { \
- Return (\_SB_.AR##rt) \
- } \
- Return (\_SB_.PR##rt) \
- } \
- External(\_SB.RT##id) \
- Method (_CRS, 0, NotSerialized) \
- { \
- Return (\_SB.RT##id) \
- } \
- Name (SUPP, 0x00) \
- Name (CTRL, 0x00) \
- Name (_PXM, 0x00) /* _PXM: Device Proximity */ \
- Method (_OSC, 4, NotSerialized) \
- { \
- CreateDWordField (Arg3, 0x00, CDW1) \
- If ((Arg0 == ToUUID ("33db4d5b-1ff7-401c-9657-7441c03dd766") /* PCI Host Bridge Device */)) \
- { \
- CreateDWordField (Arg3, 0x04, CDW2) \
- If ((Arg2 > 0x02)) \
- { \
- CreateDWordField (Arg3, 0x08, CDW3) \
- } \
- SUPP = CDW2 \
- CTRL = CDW3 \
- If ((AHPE || ((SUPP & 0x16) != 0x16))) \
- { \
- CTRL &= 0x1E \
- Sleep (0x03E8) \
- } \
- /* Never allow SHPC (no SHPC controller in system) */ \
- CTRL &= 0x1D \
- /* Disable Native PCIe AER handling from OS */ \
- CTRL &= 0x17 \
- If ((Arg1 != One)) /* unknown revision */ \
- { \
- CDW1 |= 0x08 \
- } \
- If ((CDW3 != CTRL)) /* capabilities bits were masked */ \
- { \
- CDW1 |= 0x10 \
- } \
- CDW3 = CTRL \
- Return (Arg3) \
- } \
- Else \
- { \
- /* indicate unrecognized UUID */ \
- CDW1 |= 0x04 \
- IO80 = 0xEE \
- Return (Arg3) \
- } \
- } \
- }
-
-MAKE_IIO_DEV(00, 00)
-MAKE_IIO_DEV(01, 10)
-MAKE_IIO_DEV(02, 20)
-MAKE_IIO_DEV(03, 28)
-
-#if MAX_SOCKET > 1
-MAKE_IIO_DEV(06, 40)
-MAKE_IIO_DEV(07, 50)
-MAKE_IIO_DEV(08, 60)
-MAKE_IIO_DEV(09, 68)
-#endif