summaryrefslogtreecommitdiff
path: root/src/southbridge/amd/sb600
diff options
context:
space:
mode:
authorZheng Bao <zheng.bao@amd.com>2010-10-10 15:18:53 +0000
committerZheng Bao <Zheng.Bao@amd.com>2010-10-10 15:18:53 +0000
commit2a5101aba49315b6c46aa3dc4c6c07633e453c06 (patch)
tree4344b0efb6fa81cf05f5ff3249b41370c579ed15 /src/southbridge/amd/sb600
parent115c5b982495f8495968e0ea4fd77f63df6e5d71 (diff)
downloadcoreboot-2a5101aba49315b6c46aa3dc4c6c07633e453c06.tar.xz
Trivial. Spelling check.
Signed-off-by: Zheng Bao <zheng.bao@amd.com> Acked-by: Zheng Bao <zheng.bao@amd.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5930 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/amd/sb600')
-rw-r--r--src/southbridge/amd/sb600/sb600_hda.c6
-rw-r--r--src/southbridge/amd/sb600/sb600_sata.c4
-rw-r--r--src/southbridge/amd/sb600/sb600_sm.c2
-rw-r--r--src/southbridge/amd/sb600/sb600_usb.c2
4 files changed, 7 insertions, 7 deletions
diff --git a/src/southbridge/amd/sb600/sb600_hda.c b/src/southbridge/amd/sb600/sb600_hda.c
index 1768350686..84df3f169f 100644
--- a/src/southbridge/amd/sb600/sb600_hda.c
+++ b/src/southbridge/amd/sb600/sb600_hda.c
@@ -53,7 +53,7 @@ static int set_bits(u32 port, u32 mask, u32 val)
dword &= mask;
} while ((dword != val) && --count);
- /* Timeout occured */
+ /* Timeout occurred */
if (!count)
return -1;
return 0;
@@ -169,7 +169,7 @@ static u32 find_verb(u32 viddid, u32 ** verb)
}
/**
- * Wait 50usec for for the codec to indicate it is ready
+ * Wait 50usec for the codec to indicate it is ready
* no response would imply that the codec is non-operative
*/
static int wait_for_ready(u32 base)
@@ -190,7 +190,7 @@ static int wait_for_ready(u32 base)
}
/**
- * Wait 50usec for for the codec to indicate that it accepted
+ * Wait 50usec for the codec to indicate that it accepted
* the previous command. No response would imply that the code
* is non-operative
*/
diff --git a/src/southbridge/amd/sb600/sb600_sata.c b/src/southbridge/amd/sb600/sb600_sata.c
index 0feebac92f..055e7daa85 100644
--- a/src/southbridge/amd/sb600/sb600_sata.c
+++ b/src/southbridge/amd/sb600/sb600_sata.c
@@ -39,7 +39,7 @@ static int sata_drive_detect(int portnum, u16 iobar)
if (byte != (0xA0 + 0x10 * (portnum % 2))) {
/* This will happen at the first iteration of this loop
* if the first SATA port is unpopulated and the
- * second SATA port is poulated.
+ * second SATA port is populated.
*/
printk(BIOS_DEBUG, "drive no longer selected after %i ms, "
"retrying init\n", i * 10);
@@ -83,7 +83,7 @@ static void sata_init(struct device *dev)
byte = 0x6 << 2;
pci_write_config8(sm_dev, 0xaf, byte);
- /* get base addresss */
+ /* get base address */
sata_bar5 = pci_read_config32(dev, 0x24) & ~0x3FF;
sata_bar0 = pci_read_config16(dev, 0x10) & ~0x7;
sata_bar1 = pci_read_config16(dev, 0x14) & ~0x3;
diff --git a/src/southbridge/amd/sb600/sb600_sm.c b/src/southbridge/amd/sb600/sb600_sm.c
index 66e93e6e33..71e546beca 100644
--- a/src/southbridge/amd/sb600/sb600_sm.c
+++ b/src/southbridge/amd/sb600/sb600_sm.c
@@ -338,7 +338,7 @@ static void sb600_sm_set_resources(struct device *dev)
pci_dev_set_resources(dev);
- /* rpr2.14: Make HPET MMIO decoding controlled by the memory enable bit in command register of LPC ISA bridage */
+ /* rpr2.14: Make HPET MMIO decoding controlled by the memory enable bit in command register of LPC ISA bridge */
byte = pm_ioread(0x52);
byte |= 1 << 6;
pm_iowrite(0x52, byte);
diff --git a/src/southbridge/amd/sb600/sb600_usb.c b/src/southbridge/amd/sb600/sb600_usb.c
index 942f2309d6..7539f083c6 100644
--- a/src/southbridge/amd/sb600/sb600_usb.c
+++ b/src/southbridge/amd/sb600/sb600_usb.c
@@ -96,7 +96,7 @@ static void usb_init2(struct device *dev)
usb2_bar0 = pci_read_config32(dev, 0x10) & ~0xFF;
printk(BIOS_INFO, "usb2_bar0=0x%x\n", usb2_bar0);
- /* RPR5.4 Enables the USB PHY auto calibration resister to match 45ohm resistence */
+ /* RPR5.4 Enables the USB PHY auto calibration resister to match 45ohm resistance */
dword = 0x00020F00;
write32(usb2_bar0 + 0xC0, dword);