Attention is currently required from: Tim Wawrzynczak. Felix Singer has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/60475 )
Change subject: ec/google/chromeec/acpi: Replace Subtract(a,b,c) with ASL 2.0 syntax ......................................................................
ec/google/chromeec/acpi: Replace Subtract(a,b,c) with ASL 2.0 syntax
Replace `Subtract (a, b, c)` with `c = a - b`.
Change-Id: If35c90d0e7d523f67f94d542e37fdca43bb16d7c Signed-off-by: Felix Singer felixsinger@posteo.net --- M src/ec/google/chromeec/acpi/ec.asl 1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/75/60475/1
diff --git a/src/ec/google/chromeec/acpi/ec.asl b/src/ec/google/chromeec/acpi/ec.asl index f521e27..5974e2c 100644 --- a/src/ec/google/chromeec/acpi/ec.asl +++ b/src/ec/google/chromeec/acpi/ec.asl @@ -426,7 +426,7 @@ Divide (ToInteger (Arg1), 10, , Local1)
/* Adjust by EC temperature offset */ - Subtract (Local1, ^TOFS, ^PATT) + ^PATT = Local1 - ^TOFS
/* Set commit value with SELECT=0 and ENABLE=1 */ Store (0x02, ^PATC) @@ -453,7 +453,7 @@ Divide (ToInteger (Arg1), 10, , Local1)
/* Adjust by EC temperature offset */ - Subtract (Local1, ^TOFS, ^PATT) + ^PATT = Local1 - ^TOFS
/* Set commit value with SELECT=1 and ENABLE=1 */ Store (0x03, ^PATC) @@ -542,7 +542,7 @@ If (LEqual (^DDPN, 0)) { Return (^TBMD) } Else { - Subtract (^DDPN, 1, Local0) + Local0 = ^DDPN - 1 Return (Local0) } }