diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2020-09-11 07:50:32 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-09-22 07:01:22 +0000 |
commit | aca5d18efdf5e8c333be48c2ceeb46e355bf447a (patch) | |
tree | ca9f1db84606ce8927d290ba81212961d79e3880 /src/mainboard/apple/macbook21/acpi/platform.asl | |
parent | 18582237aca8051a6219093518a23ce943ba42ff (diff) |
mb/apple/macbook21/acpi: Convert *.asl to ASL 2.0 syntax
It changes the binary for apple/macbook21 because of optimization of "Store" instruction.
Generated build/dsdt.dsl files are same.
Change-Id: I16b5180f8a8c44e6bc3ef353a99ef92a381b3295
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45282
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/apple/macbook21/acpi/platform.asl')
-rw-r--r-- | src/mainboard/apple/macbook21/acpi/platform.asl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/apple/macbook21/acpi/platform.asl b/src/mainboard/apple/macbook21/acpi/platform.asl index 862292403d..abba5abf25 100644 --- a/src/mainboard/apple/macbook21/acpi/platform.asl +++ b/src/mainboard/apple/macbook21/acpi/platform.asl @@ -10,12 +10,12 @@ Method(_WAK,1) // was inserted while a sleep state was active. // Are we going to S3? - If (LEqual(Arg0, 3)) { + If (Arg0 == 3) { // .. } // Are we going to S4? - If (LEqual(Arg0, 4)) { + If (Arg0 == 4) { // .. } @@ -46,7 +46,7 @@ Scope(\_SB) * running: Windows XP SP1 needs to have C-State coordination * enabled in SMM. */ - If (LAnd(LEqual(OSYS, 2001), MPEN)) { + If ((OSYS == 2001) && MPEN) { // TRAP(61) // TODO } |