{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>
This commit is contained in:
parent
c45c2fb1f6
commit
da1a58a503
|
@ -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");
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue