aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/romcc/tests/raminit_test.c2
-rw-r--r--util/romcc/tests/raminit_test1.c2
-rw-r--r--util/romcc/tests/raminit_test2.c2
-rw-r--r--util/romcc/tests/simple_test4.c4
-rw-r--r--util/romcc/tests/simple_test5.c4
-rw-r--r--util/romcc/tests/simple_test6.c4
-rw-r--r--util/romcc/tests/simple_test61.c2
7 files changed, 10 insertions, 10 deletions
diff --git a/util/romcc/tests/raminit_test.c b/util/romcc/tests/raminit_test.c
index 569d75ba62..b1baf7e49d 100644
--- a/util/romcc/tests/raminit_test.c
+++ b/util/romcc/tests/raminit_test.c
@@ -314,7 +314,7 @@ int smbus_read_byte(unsigned device, unsigned address)
/* setup transaction */
/* disable interrupts */
outb(inb(SMBUS_IO_BASE + SMBHSTCTL) & (~1), SMBUS_IO_BASE + SMBHSTCTL);
- /* set the device I'm talking too */
+ /* set the device I'm talking to */
outb(((device & 0x7f) << 1) | 1, SMBUS_IO_BASE + SMBHSTADD);
/* set the command/address... */
outb(address & 0xFF, SMBUS_IO_BASE + SMBHSTCMD);
diff --git a/util/romcc/tests/raminit_test1.c b/util/romcc/tests/raminit_test1.c
index 569d75ba62..b1baf7e49d 100644
--- a/util/romcc/tests/raminit_test1.c
+++ b/util/romcc/tests/raminit_test1.c
@@ -314,7 +314,7 @@ int smbus_read_byte(unsigned device, unsigned address)
/* setup transaction */
/* disable interrupts */
outb(inb(SMBUS_IO_BASE + SMBHSTCTL) & (~1), SMBUS_IO_BASE + SMBHSTCTL);
- /* set the device I'm talking too */
+ /* set the device I'm talking to */
outb(((device & 0x7f) << 1) | 1, SMBUS_IO_BASE + SMBHSTADD);
/* set the command/address... */
outb(address & 0xFF, SMBUS_IO_BASE + SMBHSTCMD);
diff --git a/util/romcc/tests/raminit_test2.c b/util/romcc/tests/raminit_test2.c
index d20ae6d431..c5b366ff5a 100644
--- a/util/romcc/tests/raminit_test2.c
+++ b/util/romcc/tests/raminit_test2.c
@@ -314,7 +314,7 @@ int smbus_read_byte(unsigned device, unsigned address)
/* setup transaction */
/* disable interrupts */
outb(inb(SMBUS_IO_BASE + SMBHSTCTL) & (~1), SMBUS_IO_BASE + SMBHSTCTL);
- /* set the device I'm talking too */
+ /* set the device I'm talking to */
outb(((device & 0x7f) << 1) | 1, SMBUS_IO_BASE + SMBHSTADD);
/* set the command/address... */
outb(address & 0xFF, SMBUS_IO_BASE + SMBHSTCMD);
diff --git a/util/romcc/tests/simple_test4.c b/util/romcc/tests/simple_test4.c
index 2ac6a4d5f4..bd3f52a822 100644
--- a/util/romcc/tests/simple_test4.c
+++ b/util/romcc/tests/simple_test4.c
@@ -313,7 +313,7 @@ int smbus_read_byte(unsigned device, unsigned address)
/* setup transaction */
/* disable interrupts */
outb(inb(SMBUS_IO_BASE + SMBHSTCTL) & (~1), SMBUS_IO_BASE + SMBHSTCTL);
- /* set the device I'm talking too */
+ /* set the device I'm talking to */
outb(((device & 0x7f) << 1) | 1, SMBUS_IO_BASE + SMBHSTADD);
/* set the command/address... */
outb(address & 0xFF, SMBUS_IO_BASE + SMBHSTCMD);
@@ -383,7 +383,7 @@ short smbus_read_byte(unsigned char device, unsigned char address)
/* setup transaction */
/* disable interrupts */
outb(inb(SMBUS_IO_HSTCTL) & (~1), SMBUS_IO_HSTCTL);
- /* set the device I'm talking too */
+ /* set the device I'm talking to */
outb(((device & 0x7f) << 1) | 1, SMBUS_IO_HSTADD);
/* set the command/address... */
outb(address & 0xFF, SMBUS_IO_HSTCMD);
diff --git a/util/romcc/tests/simple_test5.c b/util/romcc/tests/simple_test5.c
index 976fa3d498..e744f8f81e 100644
--- a/util/romcc/tests/simple_test5.c
+++ b/util/romcc/tests/simple_test5.c
@@ -141,7 +141,7 @@ int smbus_read_byte(unsigned device, unsigned address)
/* setup transaction */
/* disable interrupts */
outb(inb(SMBUS_IO_BASE + SMBHSTCTL) & (~1), SMBUS_IO_BASE + SMBHSTCTL);
- /* set the device I'm talking too */
+ /* set the device I'm talking to */
outb(((device & 0x7f) << 1) | 1, SMBUS_IO_BASE + SMBHSTADD);
/* set the command/address... */
outb(address & 0xFF, SMBUS_IO_BASE + SMBHSTCMD);
@@ -211,7 +211,7 @@ int smbus_read_byte(unsigned device, unsigned address)
/* setup transaction */
/* disable interrupts */
outb(inb(SMBUS_IO_HSTCTL) & (~1), SMBUS_IO_HSTCTL);
- /* set the device I'm talking too */
+ /* set the device I'm talking to */
outb(((device & 0x7f) << 1) | 1, SMBUS_IO_HSTADD);
/* set the command/address... */
outb(address & 0xFF, SMBUS_IO_HSTCMD);
diff --git a/util/romcc/tests/simple_test6.c b/util/romcc/tests/simple_test6.c
index 147614e84b..8aee0cdf41 100644
--- a/util/romcc/tests/simple_test6.c
+++ b/util/romcc/tests/simple_test6.c
@@ -137,7 +137,7 @@ int smbus_read_byte(unsigned device, unsigned address)
/* setup transaction */
/* disable interrupts */
outb(inb(SMBUS_IO_BASE + SMBHSTCTL) & (~1), SMBUS_IO_BASE + SMBHSTCTL);
- /* set the device I'm talking too */
+ /* set the device I'm talking to */
outb(((device & 0x7f) << 1) | 1, SMBUS_IO_BASE + SMBHSTADD);
/* set the command/address... */
outb(address & 0xFF, SMBUS_IO_BASE + SMBHSTCMD);
@@ -207,7 +207,7 @@ short smbus_read_byte(unsigned char device, unsigned char address)
/* setup transaction */
/* disable interrupts */
outb(inb(SMBUS_IO_HSTCTL) & (~1), SMBUS_IO_HSTCTL); /* 3 */
- /* set the device I'm talking too */
+ /* set the device I'm talking to */
outb(((device & 0x7f) << 1) | 1, SMBUS_IO_HSTADD); /* 1 + 3 */
/* set the command/address... */
outb(address & 0xFF, SMBUS_IO_HSTCMD); /* 1 + 3 */
diff --git a/util/romcc/tests/simple_test61.c b/util/romcc/tests/simple_test61.c
index 2b235ccd5e..c0446e22aa 100644
--- a/util/romcc/tests/simple_test61.c
+++ b/util/romcc/tests/simple_test61.c
@@ -14,7 +14,7 @@ static void spd_set_nbxcfg(void)
/* 0 == None, 1 == Parity, 2 == ECC */
if (byte != 2) continue;
- /* set the device I'm talking too */
+ /* set the device I'm talking to */
__builtin_outb(device, 0x1004);
/* poll for transaction completion */