summaryrefslogtreecommitdiff
path: root/src/southbridge/via/vt8237r
diff options
context:
space:
mode:
authorMartin Roth <martin.roth@se-eng.com>2014-12-09 13:49:05 -0700
committerMartin Roth <gaumless@gmail.com>2014-12-17 16:54:21 +0100
commit84422b1a20be7897e3b054ebbfc26f82b0fcdc76 (patch)
tree320d2d8fe7925d0ad01eac93801cc58204a79489 /src/southbridge/via/vt8237r
parentb348bb5cfb269ceedfea5dff3dd088cdcf31485a (diff)
downloadcoreboot-84422b1a20be7897e3b054ebbfc26f82b0fcdc76.tar.xz
southbridge/via: Spelling fixes
Change-Id: I7efc441d3da10e48c8c79e4cd51885bb14eebd55 Signed-off-by: Martin Roth <martin.roth@se-eng.com> Reviewed-on: http://review.coreboot.org/7730 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Diffstat (limited to 'src/southbridge/via/vt8237r')
-rw-r--r--src/southbridge/via/vt8237r/chip.h2
-rw-r--r--src/southbridge/via/vt8237r/ctrl.c4
-rw-r--r--src/southbridge/via/vt8237r/early_smbus.c2
-rw-r--r--src/southbridge/via/vt8237r/lpc.c6
-rw-r--r--src/southbridge/via/vt8237r/smihandler.c2
5 files changed, 8 insertions, 8 deletions
diff --git a/src/southbridge/via/vt8237r/chip.h b/src/southbridge/via/vt8237r/chip.h
index 32f34fd53e..7f25f0ff94 100644
--- a/src/southbridge/via/vt8237r/chip.h
+++ b/src/southbridge/via/vt8237r/chip.h
@@ -40,7 +40,7 @@ struct southbridge_via_vt8237r_config {
* 7 USB Device Mode 1=dis
* 6 Reserved
* 5 Internal LAN Controller Clock Gating 1=gated
- * 4 Internal LAN Controller 1=di
+ * 4 Internal LAN Controller 1=dis
* 3 Internal RTC 1=en
* 2 Internal PS2 Mouse 1=en
* 1 Internal KBC Configuration 0=dis ports 0x2e/0x2f off 0xe0-0xef
diff --git a/src/southbridge/via/vt8237r/ctrl.c b/src/southbridge/via/vt8237r/ctrl.c
index e61b8f264f..3d856a8228 100644
--- a/src/southbridge/via/vt8237r/ctrl.c
+++ b/src/southbridge/via/vt8237r/ctrl.c
@@ -136,7 +136,7 @@ static void vt8237s_vlink_init(struct device *dev)
/*
* This init code is valid only for the VT8237S! For different
- * sounthbridges (e.g. VT8237A, VT8237S, VT8237R (without plus R)
+ * southbridges (e.g. VT8237A, VT8237S, VT8237R (without plus R)
* and VT8251) a different init code is required.
*/
@@ -211,7 +211,7 @@ static void vt8237a_vlink_init(struct device *dev)
/*
* This init code is valid only for the VT8237A! For different
- * sounthbridges (e.g. VT8237S, VT8237R and VT8251) a different
+ * southbridges (e.g. VT8237S, VT8237R and VT8251) a different
* init code is required.
*
* FIXME: This is based on vt8237r_vlink_init() in
diff --git a/src/southbridge/via/vt8237r/early_smbus.c b/src/southbridge/via/vt8237r/early_smbus.c
index 02235005e5..747dc5ca77 100644
--- a/src/southbridge/via/vt8237r/early_smbus.c
+++ b/src/southbridge/via/vt8237r/early_smbus.c
@@ -282,7 +282,7 @@ void vt8237_sb_enable_fid_vid(void)
/* chipset-specific parts */
- /* VLINK: FIXME: can we drop the devid check and just look for the VLINK device? */
+ /* VLINK: FIXME: can we drop the device check and just look for the VLINK device? */
if (devid == PCI_DEVICE_ID_VIA_VT8237S_LPC ||
devid == PCI_DEVICE_ID_VIA_VT8237A_LPC) {
devctl = pci_locate_device(PCI_ID(PCI_VENDOR_ID_VIA,
diff --git a/src/southbridge/via/vt8237r/lpc.c b/src/southbridge/via/vt8237r/lpc.c
index 9e8f6f62e5..92eaa39ac6 100644
--- a/src/southbridge/via/vt8237r/lpc.c
+++ b/src/southbridge/via/vt8237r/lpc.c
@@ -165,10 +165,10 @@ static void setup_pm(device_t dev)
pci_write_config8(dev, 0x82, 0x40 | VT8237R_ACPI_IRQ);
#if CONFIG_EPIA_VT8237R_INIT
- /* Primary interupt channel, define wake events 0=IRQ0 15=IRQ15 1=en. */
+ /* Primary interrupt channel, define wake events 0=IRQ0 15=IRQ15 1=en. */
pci_write_config16(dev, 0x84, 0x3052);
#else
- /* Primary interupt channel, define wake events 0=IRQ0 15=IRQ15 1=en. */
+ /* Primary interrupt channel, define wake events 0=IRQ0 15=IRQ15 1=en. */
pci_write_config16(dev, 0x84, 0x30b2);
#endif
@@ -358,7 +358,7 @@ static void vt8237a_init(struct device *dev)
{
/*
* FIXME: This is based on vt8237s_init() and the values the AMI
- * BIOS on my M2V wrote to these registers (by loking
+ * BIOS on my M2V wrote to these registers (by looking
* at lspci -nxxx output).
* Works for me.
*/
diff --git a/src/southbridge/via/vt8237r/smihandler.c b/src/southbridge/via/vt8237r/smihandler.c
index d46c4ec7be..454636f8a2 100644
--- a/src/southbridge/via/vt8237r/smihandler.c
+++ b/src/southbridge/via/vt8237r/smihandler.c
@@ -242,7 +242,7 @@ void southbridge_smi_handler(unsigned int node, smm_state_save_area_t *state_sav
if (southbridge_smi[i])
southbridge_smi[i](node, state_save);
else {
- printk(BIOS_DEBUG, "SMI_STS[%d] occured, but no "
+ printk(BIOS_DEBUG, "SMI_STS[%d] occurred, but no "
"handler available.\n", i);
dump = 1;
}