summaryrefslogtreecommitdiff
path: root/src/soc/intel/baytrail/acpi/southcluster.asl
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-12-26 08:45:56 +0100
committerFelix Singer <felixsinger@posteo.net>2022-12-27 09:05:15 +0000
commit7b8ac0030c611ad84d9ba84b3e90c36233a32c11 (patch)
treee2dbc1e8cedf54fc1449e759deaff4e42c5f1bc6 /src/soc/intel/baytrail/acpi/southcluster.asl
parentdfbb634ae16065811894d67ff802c1e838ce0749 (diff)
{acpi,arch,soc}/acpi: Replace constant "One" with actual number
Change-Id: I3dfd7dd1de3bd27c35c195bd43c4a5b8c5a2dc53 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/71522 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-by: Subrata Banik <subratabanik@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/baytrail/acpi/southcluster.asl')
-rw-r--r--src/soc/intel/baytrail/acpi/southcluster.asl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/baytrail/acpi/southcluster.asl b/src/soc/intel/baytrail/acpi/southcluster.asl
index 03f884ab46..53f181eaad 100644
--- a/src/soc/intel/baytrail/acpi/southcluster.asl
+++ b/src/soc/intel/baytrail/acpi/southcluster.asl
@@ -155,11 +155,11 @@ Method (_CRS, 0, Serialized)
CreateDWordField (MCRS, ^LMEM._MIN, LMIN)
CreateDWordField (MCRS, ^LMEM._MAX, LMAX)
CreateDWordField (MCRS, ^LMEM._LEN, LLEN)
- If (LPFW != Zero && LPEN == One)
+ If (LPFW != Zero && LPEN == 1)
{
LMIN = LPFW
LLEN = 0x00100000
- LMAX = LMIN + LLEN - One
+ LMAX = LMIN + LLEN - 1
}
Else
{