From ffac7d90dae961967c503da51e349e7ec8c619a6 Mon Sep 17 00:00:00 2001 From: Sean Rhodes Date: Tue, 23 Dec 2025 16:17:41 +0000 Subject: [PATCH] soc/intel/cnvi: Correct error values for _RST The saved error values were reversed, so correct these. This isn't a functional change, as the value isn't used in ACPI. Change-Id: I9d3abcb4b17c36d33f2660e5d20fd5e6fb15fc34 Signed-off-by: Sean Rhodes Reviewed-on: https://review.coreboot.org/c/coreboot/+/90606 Tested-by: build bot (Jenkins) Reviewed-by: Matt DeVillier --- src/soc/intel/common/block/cnvi/cnvi.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/soc/intel/common/block/cnvi/cnvi.c b/src/soc/intel/common/block/cnvi/cnvi.c index 9314c989ed..d7c07819de 100644 --- a/src/soc/intel/common/block/cnvi/cnvi.c +++ b/src/soc/intel/common/block/cnvi/cnvi.c @@ -205,12 +205,12 @@ static void cnvw_fill_ssdt(const struct device *dev) * } * Else * { - * PRRS = CNVI_PLDR_NOT_COMPLETE + * PRRS = CNVI_PLDR_TIMEOUT * } * } * Else * { - * PRRS = CNVI_PLDR_TIMEOUT + * PRRS = CNVI_PLDR_NOT_COMPLETE * } * } * Release (\_SB.PCI0.CNMT) @@ -363,13 +363,13 @@ static void cnvw_fill_ssdt(const struct device *dev) } acpigen_write_else(); { - acpigen_write_store_int_to_namestr(CNVI_PLDR_NOT_COMPLETE, "PRRS"); + acpigen_write_store_int_to_namestr(CNVI_PLDR_TIMEOUT, "PRRS"); } acpigen_pop_len(); } acpigen_write_else(); { - acpigen_write_store_int_to_namestr(CNVI_PLDR_TIMEOUT, "PRRS"); + acpigen_write_store_int_to_namestr(CNVI_PLDR_NOT_COMPLETE, "PRRS"); } acpigen_pop_len(); }