1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-04-27 23:22:37 +02:00

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>
This commit is contained in:
Elyes HAOUAS 2018-08-18 09:04:41 +02:00 committed by Nico Huber
parent 5bd11dc847
commit e2c90c45f7
8 changed files with 10 additions and 10 deletions

View File

@ -144,7 +144,7 @@ int atapromise_init(void)
msg_pwarn("Do not use this device as a generic programmer. It will leave anything outside\n" 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" "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); rom_size / 1024);
return 0; return 0;

View File

@ -252,7 +252,7 @@ int buspirate_spi_init(void)
} }
free(tmp); free(tmp);
/* Extract serialspeed paramater */ /* Extract serialspeed parameter */
tmp = extract_programmer_param("serialspeed"); tmp = extract_programmer_param("serialspeed");
if (tmp) { if (tmp) {
for (i = 0; serialspeeds[i].name; i++) { for (i = 0; serialspeeds[i].name; i++) {

View File

@ -315,7 +315,7 @@ static int32_t enable_pins(bool enable)
/* De-assert and assert CS in one operation. */ /* De-assert and assert CS in one operation. */
static void pluck_cs(uint8_t *ptr) 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). */ * >20x more than needed for most SPI chips (100ns). */
int delay_cnt = 2; int delay_cnt = 2;
if (stored_delay_us) { if (stored_delay_us) {

View File

@ -5533,7 +5533,7 @@ const struct flashchip flashchips[] = {
.model_id = EXCEL_ES25P40, .model_id = EXCEL_ES25P40,
.total_size = 512, .total_size = 512,
.page_size = 256, .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. */ * supports read (0x53), fast read (0x5B), erase (0xD5) and program (0x52) instructions. */
.feature_bits = FEATURE_WRSR_WREN, .feature_bits = FEATURE_WRSR_WREN,
.tested = TEST_UNTESTED, .tested = TEST_UNTESTED,
@ -5564,7 +5564,7 @@ const struct flashchip flashchips[] = {
.model_id = EXCEL_ES25P80, .model_id = EXCEL_ES25P80,
.total_size = 1024, .total_size = 1024,
.page_size = 256, .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. */ * supports read (0x53), fast read (0x5B), erase (0xD5) and program (0x52) instructions. */
.feature_bits = FEATURE_WRSR_WREN, .feature_bits = FEATURE_WRSR_WREN,
.tested = TEST_UNTESTED, .tested = TEST_UNTESTED,
@ -5595,7 +5595,7 @@ const struct flashchip flashchips[] = {
.model_id = EXCEL_ES25P16, .model_id = EXCEL_ES25P16,
.total_size = 2 * 1024, .total_size = 2 * 1024,
.page_size = 256, .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. */ * supports read (0x53), fast read (0x5B), erase (0xD5) and program (0x52) instructions. */
.feature_bits = FEATURE_WRSR_WREN, .feature_bits = FEATURE_WRSR_WREN,
.tested = TEST_UNTESTED, .tested = TEST_UNTESTED,

View File

@ -57,7 +57,7 @@ static int mstarddc_spi_shutdown(void *data)
} else { } else {
msg_pinfo("Info: Reset command was not sent. " msg_pinfo("Info: Reset command was not sent. "
"Either the noreset=1 option was used, " "Either the noreset=1 option was used, "
"or an error occured.\n"); "or an error occurred.\n");
} }
if (close(mstarddc_fd) < 0) { if (close(mstarddc_fd) < 0) {

View File

@ -364,7 +364,7 @@ void *physmap_ro_unaligned(const char *descr, uintptr_t phys_addr, size_t len)
} }
/* MSR abstraction implementations for Linux, OpenBSD, FreeBSD/Dragonfly, OSX, libpayload /* 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__) #if defined(__i386__) || defined(__x86_64__)
#ifdef __linux__ #ifdef __linux__

View File

@ -80,7 +80,7 @@
#error Unknown architecture #error Unknown architecture
#endif #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. /* First some error checking in case some weird header has defined both.
* NB: OpenBSD always defines _BIG_ENDIAN and _LITTLE_ENDIAN. */ * NB: OpenBSD always defines _BIG_ENDIAN and _LITTLE_ENDIAN. */
#if defined (__LITTLE_ENDIAN__) && defined (__BIG_ENDIAN__) #if defined (__LITTLE_ENDIAN__) && defined (__BIG_ENDIAN__)

View File

@ -194,7 +194,7 @@ int serialport_config(fdtype fd, int baud)
return 1; return 1;
} }
/* We want whatever the termios looks like now, so the rest of the /* 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) { if (tcgetattr(fd, &wanted) != 0) {
/* This should pretty much never happen (see above), but.. */ /* This should pretty much never happen (see above), but.. */
msg_perr_strerror("Could not fetch serial port configuration: "); msg_perr_strerror("Could not fetch serial port configuration: ");