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>
This commit is contained in:
Hannah Williams 2016-01-19 16:02:28 -08:00 committed by Patrick Georgi
parent e223e895a8
commit 530e1f7455
1 changed files with 10 additions and 0 deletions

View File

@ -42,7 +42,17 @@ DefinitionBlock(
/* Dynamic Platform Thermal Framework */ /* Dynamic Platform Thermal Framework */
#include "acpi/dptf.asl" #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 "acpi/chromeos.asl"
#include <vendorcode/google/chromeos/acpi/chromeos.asl> #include <vendorcode/google/chromeos/acpi/chromeos.asl>