summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlexey Buyanov <alexey.buyanov@intel.com>2020-06-16 17:53:22 -0700
committerSubrata Banik <subrata.banik@intel.com>2020-06-18 02:50:14 +0000
commitd182425af2611a5d59218948bd230ee374687881 (patch)
tree3f444aa3f47f062c185b5d795acf9c5c0d94ba47 /src
parentab673cee087fbf2915d42df0befe1742232da924 (diff)
downloadcoreboot-d182425af2611a5d59218948bd230ee374687881.tar.xz
soc/intel/common: Introduce ASL2.0 syntax
Fix last legacy ASL syntax match in acpi/pcr.asl BUG=none TEST=Deltan coreboot binary remains the same after the changes are applied Signed-off-by: Alexey Buyanov <alexey.buyanov@intel.com> Change-Id: Ia1021851b42b8fad52b3197d9003056d3dd2db04 Reviewed-on: https://review.coreboot.org/c/coreboot/+/42437 Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Subrata Banik <subrata.banik@intel.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/soc/intel/common/acpi/pcr.asl3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/soc/intel/common/acpi/pcr.asl b/src/soc/intel/common/acpi/pcr.asl
index 81e496185a..2a940a3160 100644
--- a/src/soc/intel/common/acpi/pcr.asl
+++ b/src/soc/intel/common/acpi/pcr.asl
@@ -8,8 +8,7 @@
*/
Method (PCRB, 1, NotSerialized)
{
- Return (Add (CONFIG_PCR_BASE_ADDRESS,
- ShiftLeft (Arg0, PCR_PORTID_SHIFT)))
+ Return (CONFIG_PCR_BASE_ADDRESS + (Arg0 << PCR_PORTID_SHIFT))
}
/*