From dd75aaf3f573e11fda4e039e458a4a5f6de72081 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Wed, 19 Jan 2022 22:33:55 +0100 Subject: [PATCH] northbridge/intel/i945: Convert to ASL 2.0 Change-Id: Iea9630ce7e5bfcc9d1c8699a81bd1c61a0705de8 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/61240 Tested-by: build bot (Jenkins) Reviewed-by: Martin L Roth --- src/northbridge/intel/i945/acpi/igd.asl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/northbridge/intel/i945/acpi/igd.asl b/src/northbridge/intel/i945/acpi/igd.asl index 4fc2da2558..d778bee925 100644 --- a/src/northbridge/intel/i945/acpi/igd.asl +++ b/src/northbridge/intel/i945/acpi/igd.asl @@ -26,7 +26,7 @@ Scope (GFX0) Method (XBCM, 1, NotSerialized) { - Store (Or(ShiftLeft (Arg0, 4), 0xf), ^^DSPC.BRTC) + ^^DSPC.BRTC = (Arg0 << 4) | 0xf #ifdef SMI_SAVE_CMOS Trap(SMI_SAVE_CMOS) #endif @@ -34,8 +34,8 @@ Scope (GFX0) Method (XBQC, 0, NotSerialized) { - Store (^^DSPC.BRTC, Local0) - ShiftRight (Local0, 4, Local0) + Local0 = ^^DSPC.BRTC + Local0 >>= 4 Return (Local0) } #include