Furquan Shaikh has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/50927 )
Change subject: soc/amd/stoneyridge: Fix _INI method in SSDT for HDA ......................................................................
soc/amd/stoneyridge: Fix _INI method in SSDT for HDA
CB:40785 ("soc/amd/hda: Move HDA PCI device from DSDT to SSDT") moved the HDA device in ACPI from DSDT to SSDT. During this, _INI method generated in SSDT incorrectly inverted the values for NSEN, NSDO and NSDI. This change fixes the mistake so that the _INI in SSDT matches the original _INI in DSDT for HDA device.
Change-Id: I294b561a479b77ab8afb5f3e0de367ad24f3a764 Reported-by: Kyösti Mälkki kyosti.malkki@gmail.com Signed-off-by: Furquan Shaikh furquan@google.com --- M src/soc/amd/stoneyridge/northbridge.c 1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/27/50927/1
diff --git a/src/soc/amd/stoneyridge/northbridge.c b/src/soc/amd/stoneyridge/northbridge.c index c5ac90a..2c90d04 100644 --- a/src/soc/amd/stoneyridge/northbridge.c +++ b/src/soc/amd/stoneyridge/northbridge.c @@ -530,9 +530,9 @@
acpigen_write_if_lequal_namestr_int("OSVR", 0x03);
- acpigen_write_store_op_to_namestr(ONE_OP, "NSEN"); - acpigen_write_store_op_to_namestr(ZERO_OP, "NSDO"); - acpigen_write_store_op_to_namestr(ZERO_OP, "NSDI"); + acpigen_write_store_op_to_namestr(ZERO_OP, "NSEN"); + acpigen_write_store_op_to_namestr(ONE_OP, "NSDO"); + acpigen_write_store_op_to_namestr(ONE_OP, "NSDI");
acpigen_pop_len(); /* If */