summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Roth <martin.roth@se-eng.com>2013-07-09 21:39:46 -0600
committerStefan Reinauer <stefan.reinauer@coreboot.org>2013-07-10 20:18:15 +0200
commit5688979fbd190af1a6c5181a837341761043a8b2 (patch)
tree3dcb5d04eb20bbb9354c8b3478c2a0fcd885eb99
parent8940d3e2a7678eabbdd6b3b79498a69019bde77a (diff)
downloadcoreboot-5688979fbd190af1a6c5181a837341761043a8b2.tar.xz
drivers: Fix spelling
Change-Id: Ib0d98e3ab5b2943c36f88765587e8963a4f49604 Signed-off-by: Martin Roth <martin.roth@se-eng.com> Reviewed-on: http://review.coreboot.org/3754 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
-rw-r--r--src/drivers/ati/ragexl/mach64.h4
-rw-r--r--src/drivers/elog/elog.c2
-rw-r--r--src/drivers/elog/gsmi.c2
-rw-r--r--src/drivers/i2c/w83795/w83795.c4
-rw-r--r--src/drivers/i2c/w83795/w83795.h4
-rw-r--r--src/drivers/oxford/oxpcie/oxpcie_early.c2
-rw-r--r--src/drivers/pc80/i8259.c2
-rw-r--r--src/drivers/pc80/mc146818rtc.c2
-rw-r--r--src/drivers/pc80/tpm.c2
9 files changed, 12 insertions, 12 deletions
diff --git a/src/drivers/ati/ragexl/mach64.h b/src/drivers/ati/ragexl/mach64.h
index e0dae0df28..3acbef45dd 100644
--- a/src/drivers/ati/ragexl/mach64.h
+++ b/src/drivers/ati/ragexl/mach64.h
@@ -1045,7 +1045,7 @@
#define SCISSOR_TOP_FLAG 0x40
#define SCISSOR_BOTTOM_FLAG 0x80
-/* ATI VGA Extended Regsiters */
+/* ATI VGA Extended Registers */
#define sioATIEXT 0x1ce
#define bioATIEXT 0x3ce
@@ -1057,7 +1057,7 @@
#define VGAGRA 0x3ce
#define GRA06 0x06
-/* VGA Seququencer Registers */
+/* VGA Sequencer Registers */
#define VGASEQ 0x3c4
#define SEQ02 0x02
#define SEQ04 0x04
diff --git a/src/drivers/elog/elog.c b/src/drivers/elog/elog.c
index 71e908b4a9..6e89b5f0f4 100644
--- a/src/drivers/elog/elog.c
+++ b/src/drivers/elog/elog.c
@@ -629,7 +629,7 @@ static int elog_flash_area_bootstrap(void)
/*
* Shrink the log, deleting old entries and moving the
- * remining ones to the front of the log.
+ * remaining ones to the front of the log.
*/
static int elog_shrink(void)
{
diff --git a/src/drivers/elog/gsmi.c b/src/drivers/elog/gsmi.c
index dac1af413a..b8bc253b59 100644
--- a/src/drivers/elog/gsmi.c
+++ b/src/drivers/elog/gsmi.c
@@ -96,7 +96,7 @@ u32 gsmi_exec(u8 command, u32 *param)
break;
case GSMI_CMD_CLEAR_EVENT_LOG:
- /* Get paramter buffer even though we don't use it */
+ /* Get parameter buffer even though we don't use it */
cel = (struct gsmi_clear_eventlog_param *)(*param);
if (!cel)
break;
diff --git a/src/drivers/i2c/w83795/w83795.c b/src/drivers/i2c/w83795/w83795.c
index d2bd348154..9c51fff944 100644
--- a/src/drivers/i2c/w83795/w83795.c
+++ b/src/drivers/i2c/w83795/w83795.c
@@ -77,7 +77,7 @@ static void w83795_dts_enable(u8 dts_src)
/* store bank3 regs first before enable DTS */
/*
- * TD/TR1-4 termal diode by default
+ * TD/TR1-4 thermal diode by default
* 0x00 Disable
* 0x01 thermistors on motherboard
* 0x10 different mode voltage
@@ -169,7 +169,7 @@ static void w83795_set_fan(w83795_fan_mode_t mode)
//SFIV TODO
}
- /* Set Hystersis of Temperature (HT) */
+ /* Set Hysteresis of Temperature (HT) */
//TODO
}
diff --git a/src/drivers/i2c/w83795/w83795.h b/src/drivers/i2c/w83795/w83795.h
index f8d516478e..e18cd280ff 100644
--- a/src/drivers/i2c/w83795/w83795.h
+++ b/src/drivers/i2c/w83795/w83795.h
@@ -38,9 +38,9 @@
#define DTS_SRC_AMD_SBTSI (1 << 0)
#define W83795_REG_TSS(n) (0x209 + (n)) /* Temperature Source Selection Register */
-#define W83795_REG_TTTI(n) (0x260 + (n)) /* tarrget temperature W83795G/ADG will try to tune the fan output to keep */
+#define W83795_REG_TTTI(n) (0x260 + (n)) /* Target temperature W83795G/ADG will try to tune the fan output to keep */
#define W83795_REG_CTFS(n) (0x268 + (n)) /* Critical Temperature to Full Speed all fan */
-#define W83795_REG_HT(n) (0x270 + (n)) /* Hystersis of Temperature */
+#define W83795_REG_HT(n) (0x270 + (n)) /* Hysteresis of Temperature */
#define W83795_REG_DTSC 0x301 /* Digital Temperature Sensor Configuration */
#define W83795_REG_DTSE 0x302 /* Digital Temperature Sensor Enable */
diff --git a/src/drivers/oxford/oxpcie/oxpcie_early.c b/src/drivers/oxford/oxpcie/oxpcie_early.c
index 98996197e7..2bca5c7056 100644
--- a/src/drivers/oxford/oxpcie/oxpcie_early.c
+++ b/src/drivers/oxford/oxpcie/oxpcie_early.c
@@ -64,7 +64,7 @@ void oxford_init(void)
CONFIG_OXFORD_OXPCIE_BRIDGE_SUBORDINATE);
/* Memory window for the OXPCIe952 card */
- // XXX is the calculation of base and limit corect?
+ // XXX is the calculation of base and limit correct?
pci_write_config32(PCIE_BRIDGE, PCI_MEMORY_BASE,
((CONFIG_OXFORD_OXPCIE_BASE_ADDRESS & 0xffff0000) |
((CONFIG_OXFORD_OXPCIE_BASE_ADDRESS >> 16) & 0xff00)));
diff --git a/src/drivers/pc80/i8259.c b/src/drivers/pc80/i8259.c
index 78880c9361..6f97c56dcf 100644
--- a/src/drivers/pc80/i8259.c
+++ b/src/drivers/pc80/i8259.c
@@ -94,7 +94,7 @@ void setup_i8259(void)
/* Now clear the interrupts through OCW1.
* First we mask off all interrupts on the slave interrupt controller
* then we mask off all interrupts but interrupt 2 on the master
- * controller. This way the cascading stays alife.
+ * controller. This way the cascading stays alive.
*/
outb(ALL_IRQS, SLAVE_PIC_OCW1);
outb(ALL_IRQS & ~IRQ2, MASTER_PIC_OCW1);
diff --git a/src/drivers/pc80/mc146818rtc.c b/src/drivers/pc80/mc146818rtc.c
index d91f207427..be524541fd 100644
--- a/src/drivers/pc80/mc146818rtc.c
+++ b/src/drivers/pc80/mc146818rtc.c
@@ -132,7 +132,7 @@ void rtc_init(int invalid)
/*
* Avoid clearing pending interrupts in the resume path because
* the Linux kernel relies on this to know if it should restart
- * the RTC timerqueue if the wake was due to the RTC alarm.
+ * the RTC timer queue if the wake was due to the RTC alarm.
*/
if (acpi_slp_type == 3)
return;
diff --git a/src/drivers/pc80/tpm.c b/src/drivers/pc80/tpm.c
index 9a4fc096ff..0ea0017b47 100644
--- a/src/drivers/pc80/tpm.c
+++ b/src/drivers/pc80/tpm.c
@@ -565,7 +565,7 @@ int tis_open(void)
/*
* tis_close()
*
- * terminate the currect session with the TPM by releasing the locked
+ * terminate the current session with the TPM by releasing the locked
* locality. Returns 0 on success of TPM_DRIVER_ERR on failure (in case lock
* removal did not succeed).
*/