intel/strago: Add method for Wifi regulatory domain

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.

Original-Reviewed-on: https://chromium-review.googlesource.com/315131
Original-Tested-by: Hannah Williams <hannah.williams@intel.com>
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>

Change-Id: I52e0a052d31f36c6dc04e6a0953456350e7d86c3
Signed-off-by: Hannah Williams <hannah.williams@intel.com>
Reviewed-on: https://review.coreboot.org/12746
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
Hannah Williams 2015-12-01 11:35:57 -08:00 committed by Patrick Georgi
parent dc6c43182e
commit 822fb87737
1 changed files with 10 additions and 0 deletions

View File

@ -43,7 +43,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>