summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/soc/intel/broadwell/pch/smihandler.c2
-rw-r--r--src/soc/intel/common/block/smm/smitraphandler.c2
-rw-r--r--src/southbridge/intel/bd82x6x/smihandler.c2
-rw-r--r--src/southbridge/intel/i82801gx/smihandler.c2
-rw-r--r--src/southbridge/intel/ibexpeak/smihandler.c2
-rw-r--r--src/southbridge/intel/lynxpoint/smihandler.c2
6 files changed, 6 insertions, 6 deletions
diff --git a/src/soc/intel/broadwell/pch/smihandler.c b/src/soc/intel/broadwell/pch/smihandler.c
index a8e206783d..b9d5e50482 100644
--- a/src/soc/intel/broadwell/pch/smihandler.c
+++ b/src/soc/intel/broadwell/pch/smihandler.c
@@ -429,7 +429,7 @@ static void southbridge_smi_monitor(void)
trap_cycle = RCBA32(0x1e10);
for (i = 16; i < 20; i++) {
if (trap_cycle & (1 << i))
- mask |= (0xff << ((i - 16) << 2));
+ mask |= (0xff << ((i - 16) << 3));
}
/* IOTRAP(3) SMI function call */
diff --git a/src/soc/intel/common/block/smm/smitraphandler.c b/src/soc/intel/common/block/smm/smitraphandler.c
index 99825f10ba..42bab8388b 100644
--- a/src/soc/intel/common/block/smm/smitraphandler.c
+++ b/src/soc/intel/common/block/smm/smitraphandler.c
@@ -70,7 +70,7 @@ void smihandler_southbridge_monitor(
trap_cycle = pcr_read32(PID_PSTH, PCR_PSTH_TRPC);
for (i = 16; i < 20; i++) {
if (trap_cycle & (1 << i))
- mask |= (0xff << ((i - 16) << 2));
+ mask |= (0xff << ((i - 16) << 3));
}
/* IOTRAP(3) SMI function call */
diff --git a/src/southbridge/intel/bd82x6x/smihandler.c b/src/southbridge/intel/bd82x6x/smihandler.c
index bf03b1a51d..351751ec4b 100644
--- a/src/southbridge/intel/bd82x6x/smihandler.c
+++ b/src/southbridge/intel/bd82x6x/smihandler.c
@@ -100,7 +100,7 @@ void southbridge_smi_monitor(void)
trap_cycle = RCBA32(0x1e10);
for (i=16; i<20; i++) {
if (trap_cycle & (1 << i))
- mask |= (0xff << ((i - 16) << 2));
+ mask |= (0xff << ((i - 16) << 3));
}
/* IOTRAP(3) SMI function call */
diff --git a/src/southbridge/intel/i82801gx/smihandler.c b/src/southbridge/intel/i82801gx/smihandler.c
index 67a8cf8cf4..9fbca38e9d 100644
--- a/src/southbridge/intel/i82801gx/smihandler.c
+++ b/src/southbridge/intel/i82801gx/smihandler.c
@@ -49,7 +49,7 @@ void southbridge_smi_monitor(void)
trap_cycle = RCBA32(0x1e10);
for (i = 16; i < 20; i++) {
if (trap_cycle & (1 << i))
- mask |= (0xff << ((i - 16) << 2));
+ mask |= (0xff << ((i - 16) << 3));
}
/* IOTRAP(3) SMI function call */
diff --git a/src/southbridge/intel/ibexpeak/smihandler.c b/src/southbridge/intel/ibexpeak/smihandler.c
index 5fb3077053..81dde32499 100644
--- a/src/southbridge/intel/ibexpeak/smihandler.c
+++ b/src/southbridge/intel/ibexpeak/smihandler.c
@@ -85,7 +85,7 @@ void southbridge_smi_monitor(void)
trap_cycle = RCBA32(0x1e10);
for (i = 16; i < 20; i++) {
if (trap_cycle & (1 << i))
- mask |= (0xff << ((i - 16) << 2));
+ mask |= (0xff << ((i - 16) << 3));
}
/* IOTRAP(3) SMI function call */
diff --git a/src/southbridge/intel/lynxpoint/smihandler.c b/src/southbridge/intel/lynxpoint/smihandler.c
index 769cacb792..52c9a000d3 100644
--- a/src/southbridge/intel/lynxpoint/smihandler.c
+++ b/src/southbridge/intel/lynxpoint/smihandler.c
@@ -393,7 +393,7 @@ static void southbridge_smi_monitor(void)
trap_cycle = RCBA32(0x1e10);
for (i = 16; i < 20; i++) {
if (trap_cycle & (1 << i))
- mask |= (0xff << ((i - 16) << 2));
+ mask |= (0xff << ((i - 16) << 3));
}
/* IOTRAP(3) SMI function call */