[coreboot-gerrit] Change in coreboot[master]: src/drivers: Fix typo

Elyes HAOUAS (Code Review) gerrit at coreboot.org
Tue Aug 7 12:26:43 CEST 2018


Elyes HAOUAS has uploaded this change for review. ( https://review.coreboot.org/27916


Change subject: src/drivers: Fix typo
......................................................................

src/drivers: Fix typo

Change-Id: I9144937b72a98517cbd41c093cff7bad543b4140
Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
M src/drivers/amd/agesa/def_callouts.c
M src/drivers/elog/elog.c
M src/drivers/i2c/designware/dw_i2c.c
M src/drivers/i2c/ww_ring/ww_ring.c
M src/drivers/intel/fsp1_1/romstage.c
M src/drivers/intel/fsp2_0/debug.c
M src/drivers/intel/fsp2_0/include/fsp/api.h
M src/drivers/intel/gma/i915_reg.h
M src/drivers/intel/gma/opregion.c
M src/drivers/maxim/max77802/max77802.h
M src/drivers/net/chip.h
M src/drivers/pc80/tpm/tis.c
M src/drivers/ti/tps65913/tps65913rtc.c
M src/drivers/xgi/common/vb_setmode.c
14 files changed, 16 insertions(+), 16 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/16/27916/1

diff --git a/src/drivers/amd/agesa/def_callouts.c b/src/drivers/amd/agesa/def_callouts.c
index 21530a1..3ef715f 100644
--- a/src/drivers/amd/agesa/def_callouts.c
+++ b/src/drivers/amd/agesa/def_callouts.c
@@ -91,7 +91,7 @@
 
 	//
 	// Perform the RESET based upon the ResetType. In case of
-	// WARM_RESET_WHENVER and COLD_RESET_WHENEVER, the request will go to
+	// WARM_RESET_WHENEVER and COLD_RESET_WHENEVER, the request will go to
 	// AmdResetManager. During the critical condition, where reset is required
 	// immediately, the reset will be invoked directly by writing 0x04 to port
 	// 0xCF9 (Reset Port).
diff --git a/src/drivers/elog/elog.c b/src/drivers/elog/elog.c
index d41457d..6fc4053 100644
--- a/src/drivers/elog/elog.c
+++ b/src/drivers/elog/elog.c
@@ -670,7 +670,7 @@
 	}
 
 	if (region_device_sz(rdev) < 4*KiB) {
-		printk(BIOS_WARNING, "ELOG: Needs a minium size of 4KiB: %zu\n",
+		printk(BIOS_WARNING, "ELOG: Needs a minimum size of 4KiB: %zu\n",
 			region_device_sz(rdev));
 		return -1;
 	}
diff --git a/src/drivers/i2c/designware/dw_i2c.c b/src/drivers/i2c/designware/dw_i2c.c
index 12284b6..d190d86 100644
--- a/src/drivers/i2c/designware/dw_i2c.c
+++ b/src/drivers/i2c/designware/dw_i2c.c
@@ -360,7 +360,7 @@
 	}
 
 	/* The assumption is that the host controller is disabled -- either
-	   after running this function or from performing the intialization
+	   after running this function or from performing the initialization
 	   sequence in dw_i2c_init(). */
 
 	/* Set target slave address */
diff --git a/src/drivers/i2c/ww_ring/ww_ring.c b/src/drivers/i2c/ww_ring/ww_ring.c
index 61dfae7..306ac4d 100644
--- a/src/drivers/i2c/ww_ring/ww_ring.c
+++ b/src/drivers/i2c/ww_ring/ww_ring.c
@@ -74,7 +74,7 @@
 #define LP55231_RESET_VALUE	0xff
 
 /*
- * The controller has 192 bytes of SRAM for code/data, availabe as six 32 byte
+ * The controller has 192 bytes of SRAM for code/data, available as six 32 byte
  * pages.
  */
 #define LP55231_PROG_PAGE_SIZE  32
@@ -119,7 +119,7 @@
 	while (max_attempts--) {
 		rv = i2c_transfer(ledc->i2c_bus, segs, seg_count);
 
-		/* Accessing reset regsiter is expected to fail. */
+		/* Accessing reset register is expected to fail. */
 		if (!rv || reset)
 			break;
 	}
diff --git a/src/drivers/intel/fsp1_1/romstage.c b/src/drivers/intel/fsp1_1/romstage.c
index 51f9a75..0f13efe 100644
--- a/src/drivers/intel/fsp1_1/romstage.c
+++ b/src/drivers/intel/fsp1_1/romstage.c
@@ -128,7 +128,7 @@
 			params->pei_data->saved_data_size =
 				region_device_sz(&rdev);
 			params->pei_data->saved_data = rdev_mmap_full(&rdev);
-			/* Assum boot device is memory mapped. */
+			/* Assume boot device is memory mapped. */
 			assert(IS_ENABLED(CONFIG_BOOT_DEVICE_MEMORY_MAPPED));
 		} else if (params->pei_data->boot_mode == ACPI_S3) {
 			/* Waking from S3 and no cache. */
diff --git a/src/drivers/intel/fsp2_0/debug.c b/src/drivers/intel/fsp2_0/debug.c
index f36f6de..8f4dc1e 100644
--- a/src/drivers/intel/fsp2_0/debug.c
+++ b/src/drivers/intel/fsp2_0/debug.c
@@ -36,7 +36,7 @@
 	if (IS_ENABLED(CONFIG_DISPLAY_UPD_DATA))
 		fspm_display_upd_values(fspm_old_upd, fspm_new_upd);
 
-	/* Display the call entry point and paramters */
+	/* Display the call entry point and parameters */
 	if (!IS_ENABLED(CONFIG_DISPLAY_FSP_CALLS_AND_STATUS))
 		return;
 	printk(BIOS_SPEW, "Calling FspMemoryInit: 0x%p\n", memory_init);
diff --git a/src/drivers/intel/fsp2_0/include/fsp/api.h b/src/drivers/intel/fsp2_0/include/fsp/api.h
index 123db30..5ed3801 100644
--- a/src/drivers/intel/fsp2_0/include/fsp/api.h
+++ b/src/drivers/intel/fsp2_0/include/fsp/api.h
@@ -107,7 +107,7 @@
  *
  * This function is responsible for loading and executing the notify code from
  * the FSP-S binary. It expects that fsp_silicon_init() has already been called
- * succesfully, and that the FSP-S binary is still loaded into memory.
+ * successfully, and that the FSP-S binary is still loaded into memory.
  */
 
 #endif /* _FSP2_0_API_H_ */
diff --git a/src/drivers/intel/gma/i915_reg.h b/src/drivers/intel/gma/i915_reg.h
index ae774a5..01c73f2 100644
--- a/src/drivers/intel/gma/i915_reg.h
+++ b/src/drivers/intel/gma/i915_reg.h
@@ -1636,9 +1636,9 @@
 #define   BLM_PIPE_C			(2 << 29) /* ivb + */
 #define   BLM_PIPE(pipe)		((pipe) << 29)
 #define   BLM_POLARITY_I965		(1 << 28) /* gen4 only */
-#define   BLM_PHASE_IN_INTERUPT_STATUS	(1 << 26)
+#define   BLM_PHASE_IN_INTERRUPT_STATUS	(1 << 26)
 #define   BLM_PHASE_IN_ENABLE		(1 << 25)
-#define   BLM_PHASE_IN_INTERUPT_ENABL	(1 << 24)
+#define   BLM_PHASE_IN_INTERRUPT_ENABL	(1 << 24)
 #define   BLM_PHASE_IN_TIME_BASE_SHIFT	(16)
 #define   BLM_PHASE_IN_TIME_BASE_MASK	(0xff << 16)
 #define   BLM_PHASE_IN_COUNT_SHIFT	(8)
diff --git a/src/drivers/intel/gma/opregion.c b/src/drivers/intel/gma/opregion.c
index 70cbccc..5def085 100644
--- a/src/drivers/intel/gma/opregion.c
+++ b/src/drivers/intel/gma/opregion.c
@@ -318,7 +318,7 @@
 	opregion->header.size = sizeof(igd_opregion_t) / 1024;
 
 	/*
-	 * Left-shift version field to accomodate Intel Windows driver quirk
+	 * Left-shift version field to accommodate Intel Windows driver quirk
 	 * when not using a VBIOS.
 	 * Required for Legacy boot + NGI, UEFI + NGI, and UEFI + GOP driver.
 	 *
diff --git a/src/drivers/maxim/max77802/max77802.h b/src/drivers/maxim/max77802/max77802.h
index af2a80c..1284a1d 100644
--- a/src/drivers/maxim/max77802/max77802.h
+++ b/src/drivers/maxim/max77802/max77802.h
@@ -227,7 +227,7 @@
 
 /*
  * MAX77802_REG_PMIC_BBAT set to
- * Back up batery charger on and
+ * Back up battery charger on and
  * limit voltage setting to 3.5v
  */
 #define MAX77802_BBCHOSTEN	(1 << 0)
diff --git a/src/drivers/net/chip.h b/src/drivers/net/chip.h
index 81dbefa..383614f 100644
--- a/src/drivers/net/chip.h
+++ b/src/drivers/net/chip.h
@@ -19,7 +19,7 @@
 	unsigned wake;	/* Wake pin for ACPI _PRW */
 	/*
 	 * There maybe many NIC cards in a system.
-	 * This paramter is for driver to identify what
+	 * This parameter is for driver to identify what
 	 * the device number is and the valid range is [1-10].
 	 */
 	uint8_t device_index;
diff --git a/src/drivers/pc80/tpm/tis.c b/src/drivers/pc80/tpm/tis.c
index 495bb4a..67aff43 100644
--- a/src/drivers/pc80/tpm/tis.c
+++ b/src/drivers/pc80/tpm/tis.c
@@ -743,7 +743,7 @@
 	/* Set TPM interrupt vector */
 	tpm_write_int_vector(vector, locality);
 
-	/* Set TPM interupt polarity and disable interrupts */
+	/* Set TPM interrupt polarity and disable interrupts */
 	tpm_write_int_polarity(polarity, locality);
 
 	/* Close connection if it was opened */
diff --git a/src/drivers/ti/tps65913/tps65913rtc.c b/src/drivers/ti/tps65913/tps65913rtc.c
index 0c19b16..b25fe35 100644
--- a/src/drivers/ti/tps65913/tps65913rtc.c
+++ b/src/drivers/ti/tps65913/tps65913rtc.c
@@ -29,7 +29,7 @@
 	TPS65913_WEEKS_REG		= 0x06,
 	TPS65913_RTC_CTRL_REG		= 0x10,
 	TPS65913_RTC_STATUS_REG	= 0x11,
-	TPS65913_RTC_INTERRUPS_REG	= 0x12,
+	TPS65913_RTC_INTERRUPTS_REG	= 0x12,
 };
 
 enum {
diff --git a/src/drivers/xgi/common/vb_setmode.c b/src/drivers/xgi/common/vb_setmode.c
index 1678b75..9ea8e79 100644
--- a/src/drivers/xgi/common/vb_setmode.c
+++ b/src/drivers/xgi/common/vb_setmode.c
@@ -958,7 +958,7 @@
 
 	data = xgifb_reg_get(pVBInfo->P3c4, 0x3D);
 	data &= 0xfe;
-	xgifb_reg_set(pVBInfo->P3c4, 0x3D, data); /* diable auto-threshold */
+	xgifb_reg_set(pVBInfo->P3c4, 0x3D, data); /* disable auto-threshold */
 
 	xgifb_reg_set(pVBInfo->P3c4, 0x08, 0x34);
 	data = xgifb_reg_get(pVBInfo->P3c4, 0x09);

-- 
To view, visit https://review.coreboot.org/27916
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9144937b72a98517cbd41c093cff7bad543b4140
Gerrit-Change-Number: 27916
Gerrit-PatchSet: 1
Gerrit-Owner: Elyes HAOUAS <ehaouas at noos.fr>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180807/ea460604/attachment-0001.html>


More information about the coreboot-gerrit mailing list