From e42e142d9fc0048574664c3c92bdc1bbca35c9be Mon Sep 17 00:00:00 2001 From: Ed Swierk Date: Fri, 10 Jul 2009 15:05:35 +0000 Subject: Apparently I'm not the only one who forgets which way the outb and outl arguments go. Signed-off-by: Ed Swierk Acked-by: Peter Stuge git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4422 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/southbridge/nvidia/ck804/ck804_lpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/southbridge/nvidia/ck804') diff --git a/src/southbridge/nvidia/ck804/ck804_lpc.c b/src/southbridge/nvidia/ck804/ck804_lpc.c index 5bdcecd78f..546c27a8fd 100644 --- a/src/southbridge/nvidia/ck804/ck804_lpc.c +++ b/src/southbridge/nvidia/ck804/ck804_lpc.c @@ -245,7 +245,7 @@ static void lpc_init(device_t dev) byte |= (1 << 7); /* Can't mask NMI from PCI-E and NMI_NOW. */ } if (byte != byte_old) - outb(0x70, byte); + outb(byte, 0x70); /* Initialize the real time clock (RTC). */ rtc_init(0); -- cgit v1.2.3