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>
diff --git a/src/drivers/ati/ragexl/mach64.h b/src/drivers/ati/ragexl/mach64.h
index e0dae0d..3acbef4 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 71e908b..6e89b5f 100644
--- a/src/drivers/elog/elog.c
+++ b/src/drivers/elog/elog.c
@@ -629,7 +629,7 @@
/*
* 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 dac1af4..b8bc253 100644
--- a/src/drivers/elog/gsmi.c
+++ b/src/drivers/elog/gsmi.c
@@ -96,7 +96,7 @@
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 d2bd348..9c51fff 100644
--- a/src/drivers/i2c/w83795/w83795.c
+++ b/src/drivers/i2c/w83795/w83795.c
@@ -77,7 +77,7 @@
/* 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 @@
//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 f8d51647..e18cd28 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 9899619..2bca5c7 100644
--- a/src/drivers/oxford/oxpcie/oxpcie_early.c
+++ b/src/drivers/oxford/oxpcie/oxpcie_early.c
@@ -64,7 +64,7 @@
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 78880c9..6f97c56 100644
--- a/src/drivers/pc80/i8259.c
+++ b/src/drivers/pc80/i8259.c
@@ -94,7 +94,7 @@
/* 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 d91f207..be52454 100644
--- a/src/drivers/pc80/mc146818rtc.c
+++ b/src/drivers/pc80/mc146818rtc.c
@@ -132,7 +132,7 @@
/*
* 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 9a4fc09..0ea0017 100644
--- a/src/drivers/pc80/tpm.c
+++ b/src/drivers/pc80/tpm.c
@@ -565,7 +565,7 @@
/*
* 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).
*/