Lippert Fam14 DSDT: Add OSC method
commit061c66406ffebb298ba06ac7ecf7e14c5d55cc24
authorMike Loptien <mike.loptien@se-eng.com>
Fri, 15 Mar 2013 19:24:53 +0000 (15 13:24 -0600)
committerStefan Reinauer <stefan.reinauer@coreboot.org>
Sun, 17 Mar 2013 18:54:07 +0000 (17 19:54 +0100)
treebab0b1857597389562171071bb5b648aa9a3f992
parent71346c064b4f2d27e5a5a0499d1a4eed2f40ffbc
Lippert Fam14 DSDT: Add OSC method

The _OSC method is used to tell the OS what capabilities
it can take control over from the firmware.  This method
is described in chapter 6.2.9 of the ACPI spec v3.0.
The method takes 4 inputs (UUID, Rev ID, Input Count,
and Capabilities Buffer) and returns a Capabilites
Buffer the same size as the input Buffer.  This Buffer
is generally 3 Dwords long consisting of an Errors
Dword, a Supported Capabilities Dword, and a Control
Dword.  The OS will request control of certain
capabilities and the firmware must grant or deny control
of those features.  We do not want to have control over
anything so let the OS control as much as it can.

The _OSC method is required for PCIe devices and dmesg
checks for its existence and issues an error if it is
not found.

This is the same change made to Persimmon with Change-ID
I149428:
http://review.coreboot.org/#/c/2684/

Change-Id: Iaf7b8153cec4d730efbceae3e6957d2904b8fae4
Signed-off-by: Mike Loptien <mike.loptien@se-eng.com>
Reviewed-on: http://review.coreboot.org/2740
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
src/mainboard/lippert/frontrunner-af/dsdt.asl
src/mainboard/lippert/toucan-af/dsdt.asl