summaryrefslogtreecommitdiff
path: root/src/southbridge/sis
diff options
context:
space:
mode:
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>2017-09-23 21:39:02 +0200
committerMartin Roth <martinroth@google.com>2017-09-27 16:38:18 +0000
commit7090377a873aaef9715b9ac8e669e9ca1a3b3651 (patch)
treec73c8104df07ff056f278daab5db128f3d55dfc3 /src/southbridge/sis
parent7a2d4e56c7da1f2d8ddb70cc0a0eeba4564c75e9 (diff)
downloadcoreboot-7090377a873aaef9715b9ac8e669e9ca1a3b3651.tar.xz
smbus: Fix a typo ("Set the device I'm talking too")
Change-Id: Ia14bbdfe973cec4b366879cd2ed5602b43754260 Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Reviewed-on: https://review.coreboot.org/21653 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/southbridge/sis')
-rw-r--r--src/southbridge/sis/sis966/early_smbus.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/southbridge/sis/sis966/early_smbus.c b/src/southbridge/sis/sis966/early_smbus.c
index 99f8bd49d5..3c8998ecfb 100644
--- a/src/southbridge/sis/sis966/early_smbus.c
+++ b/src/southbridge/sis/sis966/early_smbus.c
@@ -62,7 +62,7 @@ int do_smbus_recv_byte(unsigned smbus_io_base, unsigned device)
unsigned char global_status_register;
unsigned char byte;
- /* set the device I'm talking too */
+ /* set the device I'm talking to */
outb(((device & 0x7f) << 1)|1 , smbus_io_base + SMBXMITADD);
smbus_delay();
@@ -97,7 +97,7 @@ int do_smbus_send_byte(unsigned smbus_io_base, unsigned device, unsigned char va
outb(val, smbus_io_base + SMBHSTCMD);
smbus_delay();
- /* set the device I'm talking too */
+ /* set the device I'm talking to */
outb(((device & 0x7f) << 1) | 0, smbus_io_base + SMBXMITADD);
smbus_delay();
@@ -161,7 +161,7 @@ static inline int do_smbus_write_byte(unsigned smbus_io_base, unsigned device, u
outb(val, smbus_io_base + SMBHSTDAT0);
smbus_delay();
- /* set the device I'm talking too */
+ /* set the device I'm talking to */
outb(((device & 0x7f) << 1) | 0, smbus_io_base + SMBXMITADD);
smbus_delay();