summaryrefslogtreecommitdiff
path: root/src
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
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')
-rw-r--r--src/drivers/wifi/generic/acpi.c2
-rw-r--r--src/drivers/wifi/generic/chip.h2
-rw-r--r--src/mainboard/google/brya/variants/baseboard/brask/devicetree.cb2
-rw-r--r--src/mainboard/google/brya/variants/baseboard/brya/devicetree.cb2
-rw-r--r--src/mainboard/google/brya/variants/baseboard/nissa/devicetree.cb2
-rw-r--r--src/mainboard/google/brya/variants/baseboard/skolas/devicetree.cb2
-rw-r--r--src/mainboard/google/brya/variants/joxer/overridetree.cb2
-rw-r--r--src/mainboard/google/brya/variants/nereid/overridetree.cb2
-rw-r--r--src/mainboard/google/brya/variants/pujjo/overridetree.cb2
-rw-r--r--src/mainboard/google/brya/variants/xivu/overridetree.cb2
-rw-r--r--src/mainboard/google/brya/variants/yaviks/overridetree.cb2
-rw-r--r--src/mainboard/google/rex/variants/rex0/overridetree.cb2
12 files changed, 12 insertions, 12 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
diff --git a/src/mainboard/google/brya/variants/baseboard/brask/devicetree.cb b/src/mainboard/google/brya/variants/baseboard/brask/devicetree.cb
index 29fb5d076b..38535a4773 100644
--- a/src/mainboard/google/brya/variants/baseboard/brask/devicetree.cb
+++ b/src/mainboard/google/brya/variants/baseboard/brask/devicetree.cb
@@ -119,7 +119,7 @@ chip soc/intel/alderlake
device ref cnvi_wifi on
chip drivers/wifi/generic
register "wake" = "GPE0_PME_B0"
- register "is_untrusted" = "true"
+ register "add_acpi_dma_property" = "true"
device generic 0 on end
end
end
diff --git a/src/mainboard/google/brya/variants/baseboard/brya/devicetree.cb b/src/mainboard/google/brya/variants/baseboard/brya/devicetree.cb
index b6ede38cd9..70e7779545 100644
--- a/src/mainboard/google/brya/variants/baseboard/brya/devicetree.cb
+++ b/src/mainboard/google/brya/variants/baseboard/brya/devicetree.cb
@@ -136,7 +136,7 @@ chip soc/intel/alderlake
device ref cnvi_wifi on
chip drivers/wifi/generic
register "wake" = "GPE0_PME_B0"
- register "is_untrusted" = "true"
+ register "add_acpi_dma_property" = "true"
device generic 0 on end
end
end
diff --git a/src/mainboard/google/brya/variants/baseboard/nissa/devicetree.cb b/src/mainboard/google/brya/variants/baseboard/nissa/devicetree.cb
index 24b5b70b4a..16c7ce02df 100644
--- a/src/mainboard/google/brya/variants/baseboard/nissa/devicetree.cb
+++ b/src/mainboard/google/brya/variants/baseboard/nissa/devicetree.cb
@@ -161,7 +161,7 @@ chip soc/intel/alderlake
device ref cnvi_wifi on
chip drivers/wifi/generic
register "wake" = "GPE0_PME_B0"
- register "is_untrusted" = "true"
+ register "add_acpi_dma_property" = "true"
device generic 0 on end
end
end
diff --git a/src/mainboard/google/brya/variants/baseboard/skolas/devicetree.cb b/src/mainboard/google/brya/variants/baseboard/skolas/devicetree.cb
index c861c9b84c..6ca0c9e1b5 100644
--- a/src/mainboard/google/brya/variants/baseboard/skolas/devicetree.cb
+++ b/src/mainboard/google/brya/variants/baseboard/skolas/devicetree.cb
@@ -140,7 +140,7 @@ chip soc/intel/alderlake
device ref cnvi_wifi on
chip drivers/wifi/generic
register "wake" = "GPE0_PME_B0"
- register "is_untrusted" = "true"
+ register "add_acpi_dma_property" = "true"
device generic 0 on end
end
end
diff --git a/src/mainboard/google/brya/variants/joxer/overridetree.cb b/src/mainboard/google/brya/variants/joxer/overridetree.cb
index 0aaeda2e3a..5ae8a2fefc 100644
--- a/src/mainboard/google/brya/variants/joxer/overridetree.cb
+++ b/src/mainboard/google/brya/variants/joxer/overridetree.cb
@@ -176,7 +176,7 @@ chip soc/intel/alderlake
}"
chip drivers/wifi/generic
register "wake" = "GPE0_DW1_03"
- register "is_untrusted" = "true"
+ register "add_acpi_dma_property" = "true"
device pci 00.0 on end
end
end
diff --git a/src/mainboard/google/brya/variants/nereid/overridetree.cb b/src/mainboard/google/brya/variants/nereid/overridetree.cb
index 4baca1dac0..ef9bca757d 100644
--- a/src/mainboard/google/brya/variants/nereid/overridetree.cb
+++ b/src/mainboard/google/brya/variants/nereid/overridetree.cb
@@ -208,7 +208,7 @@ chip soc/intel/alderlake
}"
chip drivers/wifi/generic
register "wake" = "GPE0_DW1_03"
- register "is_untrusted" = "true"
+ register "add_acpi_dma_property" = "true"
device pci 00.0 on end
end
end
diff --git a/src/mainboard/google/brya/variants/pujjo/overridetree.cb b/src/mainboard/google/brya/variants/pujjo/overridetree.cb
index 4bc96f9b43..e3d8acce67 100644
--- a/src/mainboard/google/brya/variants/pujjo/overridetree.cb
+++ b/src/mainboard/google/brya/variants/pujjo/overridetree.cb
@@ -528,7 +528,7 @@ chip soc/intel/alderlake
}"
chip drivers/wifi/generic
register "wake" = "GPE0_DW1_03"
- register "is_untrusted" = "true"
+ register "add_acpi_dma_property" = "true"
device pci 00.0 on end
end
end
diff --git a/src/mainboard/google/brya/variants/xivu/overridetree.cb b/src/mainboard/google/brya/variants/xivu/overridetree.cb
index 3c45ff47d3..0c8ed39b3b 100644
--- a/src/mainboard/google/brya/variants/xivu/overridetree.cb
+++ b/src/mainboard/google/brya/variants/xivu/overridetree.cb
@@ -328,7 +328,7 @@ chip soc/intel/alderlake
}"
chip drivers/wifi/generic
register "wake" = "GPE0_DW1_03"
- register "is_untrusted" = "true"
+ register "add_acpi_dma_property" = "true"
device pci 00.0 on end
end
end
diff --git a/src/mainboard/google/brya/variants/yaviks/overridetree.cb b/src/mainboard/google/brya/variants/yaviks/overridetree.cb
index 6b57adae33..6c58e4eb7e 100644
--- a/src/mainboard/google/brya/variants/yaviks/overridetree.cb
+++ b/src/mainboard/google/brya/variants/yaviks/overridetree.cb
@@ -207,7 +207,7 @@ chip soc/intel/alderlake
}"
chip drivers/wifi/generic
register "wake" = "GPE0_DW1_03"
- register "is_untrusted" = "true"
+ register "add_acpi_dma_property" = "true"
device pci 00.0 on end
end
end
diff --git a/src/mainboard/google/rex/variants/rex0/overridetree.cb b/src/mainboard/google/rex/variants/rex0/overridetree.cb
index f3b0fab35a..a1baf0a021 100644
--- a/src/mainboard/google/rex/variants/rex0/overridetree.cb
+++ b/src/mainboard/google/rex/variants/rex0/overridetree.cb
@@ -228,7 +228,7 @@ chip soc/intel/meteorlake
device ref cnvi_wifi on
chip drivers/wifi/generic
register "wake" = "GPE0_PME_B0"
- register "is_untrusted" = "true"
+ register "add_acpi_dma_property" = "true"
register "enable_cnvi_ddr_rfim" = "true"
device generic 0 on end
end