aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/amd/sb800/smbus.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/amd/sb800/smbus.c')
-rw-r--r--src/southbridge/amd/sb800/smbus.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/southbridge/amd/sb800/smbus.c b/src/southbridge/amd/sb800/smbus.c
index d9bb746f46..89244f4c4c 100644
--- a/src/southbridge/amd/sb800/smbus.c
+++ b/src/southbridge/amd/sb800/smbus.c
@@ -67,7 +67,7 @@ int do_smbus_recv_byte(u32 smbus_io_base, u32 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);
@@ -97,7 +97,7 @@ int do_smbus_send_byte(u32 smbus_io_base, u32 device, u8 val)
/* 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);
@@ -125,7 +125,7 @@ int do_smbus_read_byte(u32 smbus_io_base, u32 device,
/* 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);
@@ -156,7 +156,7 @@ int do_smbus_write_byte(u32 smbus_io_base, u32 device,
/* 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 */