summaryrefslogtreecommitdiff
path: root/src/northbridge/intel
diff options
context:
space:
mode:
Diffstat (limited to 'src/northbridge/intel')
-rw-r--r--src/northbridge/intel/i945/acpi/igd.asl6
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>