summaryrefslogtreecommitdiff
path: root/src/southbridge/broadcom/bcm5785/smbus.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/broadcom/bcm5785/smbus.h')
-rw-r--r--src/southbridge/broadcom/bcm5785/smbus.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/southbridge/broadcom/bcm5785/smbus.h b/src/southbridge/broadcom/bcm5785/smbus.h
index 76c593ba19..8ebe203523 100644
--- a/src/southbridge/broadcom/bcm5785/smbus.h
+++ b/src/southbridge/broadcom/bcm5785/smbus.h
@@ -85,7 +85,7 @@ static int do_smbus_recv_byte(unsigned smbus_io_base, unsigned device)
return -2; // not ready
}
- /* set the device I'm talking too */
+ /* set the device I'm talking to */
outb(((device & 0x7f) << 1)|1 , smbus_io_base + SMBHSTADDR);
byte = inb(smbus_io_base + SMBHSTCTRL);
@@ -115,7 +115,7 @@ static int do_smbus_send_byte(unsigned smbus_io_base, unsigned device, unsigned
/* set the command... */
outb(val, smbus_io_base + SMBHSTCMD);
- /* set the device I'm talking too */
+ /* set the device I'm talking to */
outb(((device & 0x7f) << 1)|0 , smbus_io_base + SMBHSTADDR);
byte = inb(smbus_io_base + SMBHSTCTRL);
@@ -142,7 +142,7 @@ static int do_smbus_read_byte(unsigned smbus_io_base, unsigned device, unsigned
/* set the command/address... */
outb(address & 0xff, smbus_io_base + SMBHSTCMD);
- /* set the device I'm talking too */
+ /* set the device I'm talking to */
outb(((device & 0x7f) << 1)|1 , smbus_io_base + SMBHSTADDR);
byte = inb(smbus_io_base + SMBHSTCTRL);
@@ -172,7 +172,7 @@ static int do_smbus_write_byte(unsigned smbus_io_base, unsigned device, unsigned
/* set the command/address... */
outb(address & 0xff, smbus_io_base + SMBHSTCMD);
- /* set the device I'm talking too */
+ /* set the device I'm talking to */
outb(((device & 0x7f) << 1)|0 , smbus_io_base + SMBHSTADDR);
/* output value */