From 7b8ac0030c611ad84d9ba84b3e90c36233a32c11 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Mon, 26 Dec 2022 08:45:56 +0100 Subject: {acpi,arch,soc}/acpi: Replace constant "One" with actual number Change-Id: I3dfd7dd1de3bd27c35c195bd43c4a5b8c5a2dc53 Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/71522 Reviewed-by: Eric Lai Reviewed-by: Elyes Haouas Reviewed-by: Subrata Banik Tested-by: build bot (Jenkins) --- src/soc/intel/baytrail/acpi/dptf/charger.asl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/soc/intel/baytrail/acpi/dptf/charger.asl') diff --git a/src/soc/intel/baytrail/acpi/dptf/charger.asl b/src/soc/intel/baytrail/acpi/dptf/charger.asl index 1b0bd783e1..d4a92f1af7 100644 --- a/src/soc/intel/baytrail/acpi/dptf/charger.asl +++ b/src/soc/intel/baytrail/acpi/dptf/charger.asl @@ -9,7 +9,7 @@ Device (TCHG) Method (_STA) { - If (\DPTE == One) { + If (\DPTE == 1) { Return (0xF) } Else { Return (0x0) -- cgit v1.2.3