diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2022-01-19 22:33:55 +0100 |
---|---|---|
committer | Martin L Roth <gaumless@tutanota.com> | 2022-05-16 02:55:28 +0000 |
commit | dd75aaf3f573e11fda4e039e458a4a5f6de72081 (patch) | |
tree | 2567d630f90050eee5aa1f8c46519aeebb3b096a /src/northbridge/intel/i945 | |
parent | 90e4d744ccdd280007c3f83376a18818da681ab9 (diff) |
northbridge/intel/i945: Convert to ASL 2.0
Change-Id: Iea9630ce7e5bfcc9d1c8699a81bd1c61a0705de8
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/61240
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin L Roth <gaumless@tutanota.com>
Diffstat (limited to 'src/northbridge/intel/i945')
-rw-r--r-- | src/northbridge/intel/i945/acpi/igd.asl | 6 |
1 files 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 <drivers/intel/gma/acpi/common.asl> |