diff options
Diffstat (limited to 'src/soc')
-rw-r--r-- | src/soc/intel/baytrail/acpi/southcluster.asl | 4 | ||||
-rw-r--r-- | src/soc/intel/braswell/acpi/lpc.asl | 2 | ||||
-rw-r--r-- | src/soc/intel/braswell/acpi/southcluster.asl | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/soc/intel/baytrail/acpi/southcluster.asl b/src/soc/intel/baytrail/acpi/southcluster.asl index 551bf08c7b..61700bcb08 100644 --- a/src/soc/intel/baytrail/acpi/southcluster.asl +++ b/src/soc/intel/baytrail/acpi/southcluster.asl @@ -175,8 +175,8 @@ Method (_CRS, 0, Serialized) /* TOLM is BMBOUND accessible from IOSF so is saved in NVS */ Store (\TOLM, PMIN) - Store (Subtract(CONFIG_ECAM_MMCONF_BASE_ADDRESS, 1), PMAX) - PLEN = Subtract (PMAX, PMIN) + 1 + Store (CONFIG_ECAM_MMCONF_BASE_ADDRESS - 1, PMAX) + PLEN = PMAX - PMIN + 1 Return (MCRS) } diff --git a/src/soc/intel/braswell/acpi/lpc.asl b/src/soc/intel/braswell/acpi/lpc.asl index 2b540180a7..fca80170b8 100644 --- a/src/soc/intel/braswell/acpi/lpc.asl +++ b/src/soc/intel/braswell/acpi/lpc.asl @@ -39,7 +39,7 @@ Device (LPCB) CreateDwordField (^RBUF, ^FBAR._LEN, FLEN) Multiply(CONFIG_COREBOOT_ROMSIZE_KB, 1024, Local0) Store(Local0, FLEN) - FBAS = Subtract(0xffffffff, Local0) + 1 + FBAS = 0xffffffff - Local0 + 1 Return (^RBUF) } } diff --git a/src/soc/intel/braswell/acpi/southcluster.asl b/src/soc/intel/braswell/acpi/southcluster.asl index 0a4dbd1e80..ade6441888 100644 --- a/src/soc/intel/braswell/acpi/southcluster.asl +++ b/src/soc/intel/braswell/acpi/southcluster.asl @@ -174,8 +174,8 @@ Method (_CRS, 0, Serialized) /* TOLM is BMBOUND accessible from IOSF so is saved in NVS */ Store (\TOLM, PMIN) - Store (Subtract(CONFIG_ECAM_MMCONF_BASE_ADDRESS, 1), PMAX) - PLEN = Subtract (PMAX, PMIN) + 1 + Store (CONFIG_ECAM_MMCONF_BASE_ADDRESS - 1, PMAX) + PLEN = PMAX - PMIN + 1 Return (MCRS) } |