Nico Huber merged this change.

View Change

Approvals: build bot (Jenkins): Verified Nico Huber: Looks good to me, approved
Fix typos

Change-Id: I20745d5f30f9577622e27abf2f45220f026f65ac
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/28206
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
---
M atapromise.c
M buspirate_spi.c
M ch341a_spi.c
M flashchips.c
M mstarddc_spi.c
M physmap.c
M platform.h
M serial.c
8 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/atapromise.c b/atapromise.c
index ca63df7..ab34a1e 100644
--- a/atapromise.c
+++ b/atapromise.c
@@ -144,7 +144,7 @@

msg_pwarn("Do not use this device as a generic programmer. It will leave anything outside\n"
"the first %zu kB of the flash chip in an undefined state. It works fine for the\n"
- "purpose of updating the firmware of this device (padding may neccessary).\n",
+ "purpose of updating the firmware of this device (padding may necessary).\n",
rom_size / 1024);

return 0;
diff --git a/buspirate_spi.c b/buspirate_spi.c
index fad309f..437aa74 100644
--- a/buspirate_spi.c
+++ b/buspirate_spi.c
@@ -252,7 +252,7 @@
}
free(tmp);

- /* Extract serialspeed paramater */
+ /* Extract serialspeed parameter */
tmp = extract_programmer_param("serialspeed");
if (tmp) {
for (i = 0; serialspeeds[i].name; i++) {
diff --git a/ch341a_spi.c b/ch341a_spi.c
index f88b624..9ebda0d 100644
--- a/ch341a_spi.c
+++ b/ch341a_spi.c
@@ -315,7 +315,7 @@
/* De-assert and assert CS in one operation. */
static void pluck_cs(uint8_t *ptr)
{
- /* This was measured to give a minumum deassertion time of 2.25 us,
+ /* This was measured to give a minimum deassertion time of 2.25 us,
* >20x more than needed for most SPI chips (100ns). */
int delay_cnt = 2;
if (stored_delay_us) {
diff --git a/flashchips.c b/flashchips.c
index 1a73ba4..2001d8c 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -5533,7 +5533,7 @@
.model_id = EXCEL_ES25P40,
.total_size = 512,
.page_size = 256,
- /* 256-byte paramter page separate from memory array:
+ /* 256-byte parameter page separate from memory array:
* supports read (0x53), fast read (0x5B), erase (0xD5) and program (0x52) instructions. */
.feature_bits = FEATURE_WRSR_WREN,
.tested = TEST_UNTESTED,
@@ -5564,7 +5564,7 @@
.model_id = EXCEL_ES25P80,
.total_size = 1024,
.page_size = 256,
- /* 256-byte paramter page separate from memory array:
+ /* 256-byte parameter page separate from memory array:
* supports read (0x53), fast read (0x5B), erase (0xD5) and program (0x52) instructions. */
.feature_bits = FEATURE_WRSR_WREN,
.tested = TEST_UNTESTED,
@@ -5595,7 +5595,7 @@
.model_id = EXCEL_ES25P16,
.total_size = 2 * 1024,
.page_size = 256,
- /* 256-byte paramter page separate from memory array:
+ /* 256-byte parameter page separate from memory array:
* supports read (0x53), fast read (0x5B), erase (0xD5) and program (0x52) instructions. */
.feature_bits = FEATURE_WRSR_WREN,
.tested = TEST_UNTESTED,
diff --git a/mstarddc_spi.c b/mstarddc_spi.c
index f6e573a..afe4e12 100644
--- a/mstarddc_spi.c
+++ b/mstarddc_spi.c
@@ -57,7 +57,7 @@
} else {
msg_pinfo("Info: Reset command was not sent. "
"Either the noreset=1 option was used, "
- "or an error occured.\n");
+ "or an error occurred.\n");
}

if (close(mstarddc_fd) < 0) {
diff --git a/physmap.c b/physmap.c
index 8dd50a5..8e80925 100644
--- a/physmap.c
+++ b/physmap.c
@@ -364,7 +364,7 @@
}

/* MSR abstraction implementations for Linux, OpenBSD, FreeBSD/Dragonfly, OSX, libpayload
- * and a non-working default implemenation on the bottom. See also hwaccess.h for some (re)declarations. */
+ * and a non-working default implementation on the bottom. See also hwaccess.h for some (re)declarations. */
#if defined(__i386__) || defined(__x86_64__)

#ifdef __linux__
diff --git a/platform.h b/platform.h
index 4af1c48..d290afc 100644
--- a/platform.h
+++ b/platform.h
@@ -80,7 +80,7 @@
#error Unknown architecture
#endif

-/* The next big hunk tries to guess endianess from various preprocessor macros */
+/* The next big hunk tries to guess endianness from various preprocessor macros */
/* First some error checking in case some weird header has defined both.
* NB: OpenBSD always defines _BIG_ENDIAN and _LITTLE_ENDIAN. */
#if defined (__LITTLE_ENDIAN__) && defined (__BIG_ENDIAN__)
diff --git a/serial.c b/serial.c
index f08542d..e61df74 100644
--- a/serial.c
+++ b/serial.c
@@ -194,7 +194,7 @@
return 1;
}
/* We want whatever the termios looks like now, so the rest of the
- setup doesnt mess up the custom rate. */
+ setup doesn't mess up the custom rate. */
if (tcgetattr(fd, &wanted) != 0) {
/* This should pretty much never happen (see above), but.. */
msg_perr_strerror("Could not fetch serial port configuration: ");

To view, visit change 28206. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I20745d5f30f9577622e27abf2f45220f026f65ac
Gerrit-Change-Number: 28206
Gerrit-PatchSet: 5
Gerrit-Owner: Elyes HAOUAS <ehaouas@noos.fr>
Gerrit-Reviewer: Nico Huber <nico.h@gmx.de>
Gerrit-Reviewer: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>