This patch re-implements support for the CS5536 companion chip for the
[coreboot.git] / src / southbridge / amd / cs5536 / cs5536_smbus2.h
index 3f5dad002ec09994ff6c907b9866e74fb009b782..cb4a1e731dbed1f6029f0ae4970fe47730b5e775 100644 (file)
 #define SMBUS_TIMEOUT (100*1000*10)
 #define SMBUS_STATUS_MASK 0xfbff
 
-#define SMBUS_IO_BASE 0x6000
 
 static void smbus_delay(void)
 {
-       outb(0x80, 0x80);
+       inb(0x80);
 }
 
 static int smbus_wait(unsigned smbus_io_base) {