summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorKapil Porwal <kapilporwal@google.com>2022-11-23 19:17:35 +0530
committerFelix Held <felix-coreboot@felixheld.de>2022-11-25 13:56:39 +0000
commitda1a58a50333d3a9b370a7e18ed4c3b69b17d2ba (patch)
tree6601d3512f1b633d8514d2e35a1979c8e8fc6b55 /src/drivers
parentc45c2fb1f6357ee3ee7c33e126320ac05fa9ab2d (diff)
{drivers/wifi, mb/google}: Rename `is_untrusted` to `add_acpi_dma_property`
`is_untrusted` is eventually ended up by adding DMA property _DSD which is similar to what `add_acpi_dma_property` does for WWAN drivers, hence it makes sense to have a unified name across different device drivers. BUG=b:259716145 TEST=Verified that the _DSD object is still present in the SSDT. Signed-off-by: Kapil Porwal <kapilporwal@google.com> Change-Id: I4e0829a76a193b0a1e1e0f2b7ce2119bb00dd696 Reviewed-on: https://review.coreboot.org/c/coreboot/+/69937 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Subrata Banik <subratabanik@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/wifi/generic/acpi.c2
-rw-r--r--src/drivers/wifi/generic/chip.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/wifi/generic/acpi.c b/src/drivers/wifi/generic/acpi.c
index 869b92aea6..57b7f5f74e 100644
--- a/src/drivers/wifi/generic/acpi.c
+++ b/src/drivers/wifi/generic/acpi.c
@@ -522,7 +522,7 @@ static void wifi_ssdt_write_properties(const struct device *dev, const char *sco
acpigen_write_PRW(config->wake, ACPI_S3);
/* Add _DSD for DmaProperty property. */
- if (config->is_untrusted) {
+ if (config->add_acpi_dma_property) {
struct acpi_dp *dsd, *pkg;
dsd = acpi_dp_new_table("_DSD");
diff --git a/src/drivers/wifi/generic/chip.h b/src/drivers/wifi/generic/chip.h
index 56a4afc5e4..2729a35663 100644
--- a/src/drivers/wifi/generic/chip.h
+++ b/src/drivers/wifi/generic/chip.h
@@ -11,7 +11,7 @@ struct drivers_wifi_generic_config {
unsigned int wake;
/* When set to true, this will add a _DSD which contains a single
property, `DmaProperty`, set to 1, under the ACPI Device. */
- bool is_untrusted;
+ bool add_acpi_dma_property;
/*
* Applicable for Intel chipsets that use CNVi WiFi only. Set this to 1