soc/intel/cannonlake: Fix outb order
outb accepts a value followed by a port Change-Id: I6fe3961b4f8cb2454e3b2564c3eae6af06c9e69d Signed-off-by: Jeremy Soller <jeremy@system76.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/33940 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Lance Zhao <lance.zhao@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
5ee4c12ebb
commit
e458bcd099
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue