Intel 82801ax/82801bx: Fix and hook up i82801xx_smbus.c.
[coreboot.git] / src / southbridge / intel / i82801ax / i82801ax_early_smbus.c
index 14fa924beadf63ad7c7d82d3871ae9216e39e5a5..d313613cea2e21e8f3bcdb897f365f3248413850 100644 (file)
@@ -63,19 +63,6 @@ static void enable_smbus(void)
 
 static inline int smbus_read_byte(unsigned device, unsigned address)
 {
-       return do_smbus_read_byte(device, address);
+       return do_smbus_read_byte(SMBUS_IO_BASE, device, address);
 }
 
-static void smbus_write_byte(unsigned device, unsigned address,
-                            unsigned char val)
-{
-       print_err("Unimplemented smbus_write_byte() called\n");
-       return;
-}
-
-static inline int smbus_write_block(unsigned device, unsigned length,
-                                   unsigned cmd, unsigned data1,
-                                   unsigned data2)
-{
-       return do_smbus_write_block(device, length, cmd, data1, data2);
-}