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>
This commit is contained in:
Elyes HAOUAS 2022-01-19 22:33:55 +01:00 committed by Martin L Roth
parent 90e4d744cc
commit dd75aaf3f5
1 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ Scope (GFX0)
Method (XBCM, 1, NotSerialized) Method (XBCM, 1, NotSerialized)
{ {
Store (Or(ShiftLeft (Arg0, 4), 0xf), ^^DSPC.BRTC) ^^DSPC.BRTC = (Arg0 << 4) | 0xf
#ifdef SMI_SAVE_CMOS #ifdef SMI_SAVE_CMOS
Trap(SMI_SAVE_CMOS) Trap(SMI_SAVE_CMOS)
#endif #endif
@ -34,8 +34,8 @@ Scope (GFX0)
Method (XBQC, 0, NotSerialized) Method (XBQC, 0, NotSerialized)
{ {
Store (^^DSPC.BRTC, Local0) Local0 = ^^DSPC.BRTC
ShiftRight (Local0, 4, Local0) Local0 >>= 4
Return (Local0) Return (Local0)
} }
#include <drivers/intel/gma/acpi/common.asl> #include <drivers/intel/gma/acpi/common.asl>