diff options
author | Felix Singer <felixsinger@posteo.net> | 2022-12-12 01:27:55 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2022-12-12 22:16:04 +0000 |
commit | 4bbd807c01defa0c88af7635b4c7d27c67dde15d (patch) | |
tree | 13e84a95dd5ba037a34dab8bd0f15206b5b7e03f /src/soc/intel/baytrail | |
parent | bf1de40853e4ead8755d46588964032c6ff6d92c (diff) |
soc/intel/acpi: Replace Subtract(a,b) with ASL 2.0 syntax
Replace `Subtract (a, b)` with `a - b`.
Change-Id: I77028c17dcd7925a392d56488d34090837d660f2
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/70626
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Diffstat (limited to 'src/soc/intel/baytrail')
-rw-r--r-- | src/soc/intel/baytrail/acpi/southcluster.asl | 4 |
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 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) } |