summaryrefslogtreecommitdiff
path: root/src/soc/intel
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel')
-rw-r--r--src/soc/intel/cannonlake/lpc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/cannonlake/lpc.c b/src/soc/intel/cannonlake/lpc.c
index 6cc34515d7..1fe04169c1 100644
--- a/src/soc/intel/cannonlake/lpc.c
+++ b/src/soc/intel/cannonlake/lpc.c
@@ -201,10 +201,10 @@ static void pch_misc_init(void)
/* Setup NMI on errors, disable SERR */
reg8 = (inb(0x61)) & 0xf0;
- outb(0x61, (reg8 | (1 << 2)));
+ outb((reg8 | (1 << 2)), 0x61);
/* Disable NMI sources */
- outb(0x70, (1 << 7));
+ outb((1 << 7), 0x70);
};
void lpc_soc_init(struct device *dev)