diff options
author | Duncan Laurie <dlaurie@chromium.org> | 2013-11-04 17:28:19 -0800 |
---|---|---|
committer | Aaron Durbin <adurbin@google.com> | 2014-04-30 23:12:03 +0200 |
commit | 93966e859234d4aca84a78b45933a74e973497c5 (patch) | |
tree | 833cd28349b5e34dd8e20001a9d9ae48e5722040 /src/soc | |
parent | 053bd0753bc4433236ed21c1d4ce5bf5842bb434 (diff) |
baytrail: Add default _OSC method
This is needed to let the kernel know it can control everything
and not to disable features.
BUG=chrome-os-partner:23505
BRANCH=rambi
TEST=build and boot on rambi
Change-Id: I40ff15bb931a9be7c31509ec84489083b5af0a82
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/175629
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/4939
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/soc')
-rw-r--r-- | src/soc/intel/baytrail/acpi/southcluster.asl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/soc/intel/baytrail/acpi/southcluster.asl b/src/soc/intel/baytrail/acpi/southcluster.asl index af5dcfee56..87b5b6e386 100644 --- a/src/soc/intel/baytrail/acpi/southcluster.asl +++ b/src/soc/intel/baytrail/acpi/southcluster.asl @@ -193,3 +193,20 @@ Device (PDRC) Return(PDRS) } } + +Method (_OSC, 4) +{ + /* Check for proper GUID */ + If (LEqual (Arg0, ToUUID("33DB4D5B-1FF7-401C-9657-7441C03DD766"))) + { + /* Let OS control everything */ + Return (Arg3) + } + Else + { + /* Unrecognized UUID */ + CreateDWordField (Arg3, 0, CDW1) + Or (CDW1, 4, CDW1) + Return (Arg3) + } +} |