mirror of https://github.com/acidanthera/audk.git
66 lines
2.0 KiB
Plaintext
66 lines
2.0 KiB
Plaintext
/**************************************************************************;
|
|
;* *;
|
|
;* *;
|
|
;* Intel Corporation - ACPI Reference Code for the Baytrail *;
|
|
;* Family of Customer Reference Boards. *;
|
|
;* *;
|
|
;* *;
|
|
;* Copyright (c) 2012 - 2014, Intel Corporation. All rights reserved *;
|
|
;
|
|
; This program and the accompanying materials are licensed and made available under
|
|
; the terms and conditions of the BSD License that accompanies this distribution.
|
|
; The full text of the license may be found at
|
|
; http://opensource.org/licenses/bsd-license.php.
|
|
;
|
|
; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
;
|
|
;* *;
|
|
;* *;
|
|
;**************************************************************************/
|
|
|
|
|
|
// LPC Bridge - Device 31, Function 0
|
|
// Define the needed LPC registers used by ASL.
|
|
|
|
scope(\_SB)
|
|
{
|
|
OperationRegion(ILBR, SystemMemory, \IBAS, 0x8C)
|
|
Field(ILBR, AnyAcc, NoLock, Preserve)
|
|
{
|
|
Offset(0x08), // 0x08
|
|
PARC, 8,
|
|
PBRC, 8,
|
|
PCRC, 8,
|
|
PDRC, 8,
|
|
PERC, 8,
|
|
PFRC, 8,
|
|
PGRC, 8,
|
|
PHRC, 8,
|
|
Offset(0x88), // 0x88
|
|
, 3,
|
|
UI3E, 1,
|
|
UI4E, 1
|
|
}
|
|
|
|
Include ("98_LINK.ASL")
|
|
}
|
|
|
|
OperationRegion(LPC0, PCI_Config, 0x00, 0xC0)
|
|
Field(LPC0, AnyAcc, NoLock, Preserve)
|
|
{
|
|
Offset(0x08), // 0x08
|
|
SRID, 8, // Revision ID
|
|
Offset(0x080), // 0x80
|
|
C1EN, 1, // COM1 Enable
|
|
, 31
|
|
}
|
|
|
|
|
|
Include ("LPC_DEV.ASL")
|
|
|
|
|
|
|
|
|
|
|