summaryrefslogtreecommitdiff
path: root/src/mainboard/google/cyan
diff options
context:
space:
mode:
authorHannah Williams <hannah.williams@intel.com>2016-01-19 16:02:28 -0800
committerPatrick Georgi <pgeorgi@google.com>2016-01-22 14:14:52 +0100
commit530e1f7455de8c5dbd3e4f12fa77b0d6cf8be69f (patch)
tree6e3a3e9b80b791e1926eca398e1198b3e6699e62 /src/mainboard/google/cyan
parente223e895a810eed269f34e1f5a2be2819e3a6e32 (diff)
downloadcoreboot-530e1f7455de8c5dbd3e4f12fa77b0d6cf8be69f.tar.xz
google/cyan: Add Wifi regulatory method
WRDD method in wifi.asl returns the regulatory domain code. This value is read from VPD in wifi_regulatory_domain() and saved to global nvs if CONFIG_HAVE_REGULATORY_DOMAIN is enabled. It returns default code if CONFIG_HAVE_REGULATORY_DOMAIN is not enabled. Change-Id: I6e96bdf0fe93ae30a3afdcb63a0f89ce21023704 Signed-off-by: Hannah Williams <hannah.williams@intel.com> Reviewed-on: https://review.coreboot.org/13055 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/google/cyan')
-rwxr-xr-xsrc/mainboard/google/cyan/dsdt.asl10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mainboard/google/cyan/dsdt.asl b/src/mainboard/google/cyan/dsdt.asl
index e9e1997726..b3c970ddb8 100755
--- a/src/mainboard/google/cyan/dsdt.asl
+++ b/src/mainboard/google/cyan/dsdt.asl
@@ -42,7 +42,17 @@ DefinitionBlock(
/* Dynamic Platform Thermal Framework */
#include "acpi/dptf.asl"
}
+ Scope (\_SB.PCI0)
+ {
+ Device (RP03)
+ {
+ Name (_ADR, 0x001C0002) // _ADR: Address
+ OperationRegion(RPXX, PCI_Config, 0x00, 0x10)
+ /* Wifi Device */
+ #include <soc/intel/common/acpi/wifi.asl>
+ }
+ }
#include "acpi/chromeos.asl"
#include <vendorcode/google/chromeos/acpi/chromeos.asl>