summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorHannah Williams <hannah.williams@intel.com>2015-12-01 11:35:57 -0800
committerPatrick Georgi <pgeorgi@google.com>2016-01-22 14:12:37 +0100
commit822fb8773716c38052c38185f765d28909fc7f47 (patch)
tree8137f13f57eb02a2b3105dd9176cf21f49f9dada /src/mainboard
parentdc6c43182eb0fd7049d06659119a6bd99c76962e (diff)
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>
Diffstat (limited to 'src/mainboard')
-rwxr-xr-xsrc/mainboard/intel/strago/dsdt.asl10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mainboard/intel/strago/dsdt.asl b/src/mainboard/intel/strago/dsdt.asl
index 84c0c245e5..f1248d8d7c 100755
--- a/src/mainboard/intel/strago/dsdt.asl
+++ b/src/mainboard/intel/strago/dsdt.asl
@@ -43,7 +43,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>