soc/intel/cmn/cnvi: Drop CNIP ACPI method
This method is used in the Intel/AMI reference code to verify that the device is present (vendor ID != 0xFFFFFFFF), but that's neither used nor needed here, as coreboot only generates SSDT code for devices which are actually present. TEST=build/boot Linux, verify no ACPI issues after dropping Change-Id: Ib60c48852923e965620f4eee6a886c8c0f5c1783 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/86091 Reviewed-by: Sean Rhodes <sean@starlabs.systems> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jérémy Compostella <jeremy.compostella@intel.com>
This commit is contained in:
parent
f87dbe2261
commit
4ee42d8792
1 changed files with 0 additions and 25 deletions
|
|
@ -358,31 +358,6 @@ static void cnvw_fill_ssdt(const struct device *dev)
|
|||
acpigen_pop_len();
|
||||
}
|
||||
acpigen_pop_len();
|
||||
|
||||
/*
|
||||
* Method (CNIP, 0, NotSerialized)
|
||||
* {
|
||||
* If (^CNVW.VDID == 0xFFFFFFFF)
|
||||
* {
|
||||
* Return (Zero)
|
||||
* } Else {
|
||||
* Return (One)
|
||||
* }
|
||||
* }
|
||||
*/
|
||||
acpigen_write_method("CNIP", 0);
|
||||
{
|
||||
acpigen_write_if_lequal_namestr_int("^CNVW.VDID", 0xffffffff);
|
||||
{
|
||||
acpigen_write_return_integer(0);
|
||||
}
|
||||
acpigen_write_else();
|
||||
{
|
||||
acpigen_write_return_integer(1);
|
||||
}
|
||||
acpigen_pop_len();
|
||||
}
|
||||
acpigen_pop_len();
|
||||
}
|
||||
|
||||
static struct device_operations cnvi_wifi_ops = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue