Skip to content

Commit fc0b594

Browse files
robertpjdaytrini
authored andcommitted
Various, accumulated typos collected from around the tree.
Fix various misspellings of: * deprecated * partition * preceding,preceded * preparation * its versus it's * export * existing * scenario * redundant * remaining * value * architecture Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Reviewed-by: Jagan Teki <jteki@openedev.com> Reviewed-by: Stefan Roese <sr@denx.de>
1 parent 81049ba commit fc0b594

18 files changed

Lines changed: 27 additions & 28 deletions

File tree

arch/arm/include/asm/memory.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ static inline void *phys_to_virt(unsigned long x)
4545
/*
4646
* Virtual <-> DMA view memory address translations
4747
* Again, these are *only* valid on the kernel direct mapped RAM
48-
* memory. Use of these is *depreciated*.
48+
* memory. Use of these is *deprecated*.
4949
*/
5050
#define virt_to_bus(x) (__virt_to_bus((unsigned long)(x)))
5151
#define bus_to_virt(x) ((void *)(__bus_to_virt((unsigned long)(x))))
@@ -127,7 +127,7 @@ static inline void *phys_to_virt(unsigned long x)
127127
#endif
128128

129129
/*
130-
* We should really eliminate virt_to_bus() here - it's depreciated.
130+
* We should really eliminate virt_to_bus() here - it's deprecated.
131131
*/
132132
#define page_to_bus(page) (virt_to_bus(page_address(page)))
133133

arch/arm/include/asm/setup.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ struct tag_ramdisk {
132132
/* describes where the compressed ramdisk image lives (virtual address) */
133133
/*
134134
* this one accidentally used virtual addresses - as such,
135-
* its depreciated.
135+
* it's deprecated.
136136
*/
137137
#define ATAG_INITRD 0x54410005
138138

arch/powerpc/cpu/mpc85xx/cpu.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ static void dump_spd_ddr_reg(void)
489489
for (i = 0; i < CONFIG_NUM_DDR_CONTROLLERS; i++)
490490
fsl_ddr_get_spd(spd[i], i, CONFIG_DIMM_SLOTS_PER_CTLR);
491491

492-
puts("SPD data of all dimms (zero vaule is omitted)...\n");
492+
puts("SPD data of all dimms (zero value is omitted)...\n");
493493
puts("Byte (hex) ");
494494
k = 1;
495495
for (i = 0; i < CONFIG_NUM_DDR_CONTROLLERS; i++) {
@@ -543,7 +543,7 @@ static void dump_spd_ddr_reg(void)
543543
}
544544
}
545545
printf("DDR registers dump for all controllers "
546-
"(zero vaule is omitted)...\n");
546+
"(zero value is omitted)...\n");
547547
puts("Offset (hex) ");
548548
for (i = 0; i < CONFIG_NUM_DDR_CONTROLLERS; i++)
549549
printf(" Base + 0x%04x", (u32)ddr[i] & 0xFFFF);

board/technexion/twister/twister.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ int board_mmc_init(bd_t *bis)
140140

141141
#ifdef CONFIG_SPL_OS_BOOT
142142
/*
143-
* Do board specific preperation before SPL
143+
* Do board specific preparation before SPL
144144
* Linux boot
145145
*/
146146
void spl_board_prepare_for_linux(void)

board/timll/devkit8000/devkit8000.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ int board_eth_init(bd_t *bis)
157157

158158
#ifdef CONFIG_SPL_OS_BOOT
159159
/*
160-
* Do board specific preperation before SPL
160+
* Do board specific preparation before SPL
161161
* Linux boot
162162
*/
163163
void spl_board_prepare_for_linux(void)

cmd/nvedit.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*
1616
* The "environment" is stored on external storage as a list of '\0'
1717
* terminated "name=value" strings. The end of the list is marked by
18-
* a double '\0'. The environment is preceeded by a 32 bit CRC over
18+
* a double '\0'. The environment is preceded by a 32 bit CRC over
1919
* the data part and, in case of redundant environment, a byte of
2020
* flags.
2121
*
@@ -838,7 +838,7 @@ static int do_env_delete(cmd_tbl_t *cmdtp, int flag,
838838
* With "-c" and size is NOT given, then the export command will
839839
* format the data as currently used for the persistent storage,
840840
* i. e. it will use CONFIG_ENV_SECT_SIZE as output block size and
841-
* prepend a valid CRC32 checksum and, in case of resundant
841+
* prepend a valid CRC32 checksum and, in case of redundant
842842
* environment, a "current" redundancy flag. If size is given, this
843843
* value will be used instead of CONFIG_ENV_SECT_SIZE; again, CRC32
844844
* checksum and redundancy flag will be inserted.
@@ -847,12 +847,12 @@ static int do_env_delete(cmd_tbl_t *cmdtp, int flag,
847847
* terminating '\0' byte) will be written; here the optional size
848848
* argument will be used to make sure not to overflow the user
849849
* provided buffer; the command will abort if the size is not
850-
* sufficient. Any remainign space will be '\0' padded.
850+
* sufficient. Any remaining space will be '\0' padded.
851851
*
852852
* On successful return, the variable "filesize" will be set.
853853
* Note that filesize includes the trailing/terminating '\0' byte(s).
854854
*
855-
* Usage szenario: create a text snapshot/backup of the current settings:
855+
* Usage scenario: create a text snapshot/backup of the current settings:
856856
*
857857
* => env export -t 100000
858858
* => era ${backup_addr} +${filesize}
@@ -970,7 +970,7 @@ NXTARG: ;
970970
/*
971971
* env import [-d] [-t [-r] | -b | -c] addr [size]
972972
* -d: delete existing environment before importing;
973-
* otherwise overwrite / append to existion definitions
973+
* otherwise overwrite / append to existing definitions
974974
* -t: assume text format; either "size" must be given or the
975975
* text data must be '\0' terminated
976976
* -r: handle CRLF like LF, that means exported variables with

common/board_f.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1058,7 +1058,7 @@ void board_init_f(ulong boot_flags)
10581058
{
10591059
#ifdef CONFIG_SYS_GENERIC_GLOBAL_DATA
10601060
/*
1061-
* For some archtectures, global data is initialized and used before
1061+
* For some architectures, global data is initialized and used before
10621062
* calling this function. The data should be preserved. For others,
10631063
* CONFIG_SYS_GENERIC_GLOBAL_DATA should be defined and use the stack
10641064
* here to host global data until relocation.
@@ -1070,7 +1070,7 @@ void board_init_f(ulong boot_flags)
10701070
/*
10711071
* Clear global data before it is accessed at debug print
10721072
* in initcall_run_list. Otherwise the debug print probably
1073-
* get the wrong vaule of gd->have_console.
1073+
* get the wrong value of gd->have_console.
10741074
*/
10751075
zero_global_data();
10761076
#endif

common/env_common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ int env_import(const char *buf, int check)
226226
return 0;
227227
}
228228

229-
/* Emport the environment and generate CRC for it. */
229+
/* Export the environment and generate CRC for it. */
230230
int env_export(env_t *env_out)
231231
{
232232
char *res;

drivers/bios_emulator/x86emu/ops.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
* to the 256 byte-"opcodes" found on the 8086. The table which
4242
* dispatches this is found in the files optab.[ch].
4343
*
44-
* Each opcode proc has a comment preceeding it which gives it's table
44+
* Each opcode proc has a comment preceding it which gives it's table
4545
* address. Several opcodes are missing (undefined) in the table.
4646
*
4747
* Each proc includes information for decoding (DECODE_PRINTF and

drivers/crypto/fsl/jobdesc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ uint32_t secmem_set_cmd(uint32_t sec_mem_cmd)
4141
/*!
4242
* CAAM page allocation:
4343
* Allocates a partition from secure memory, with the id
44-
* equal to partion_num. This will de-allocate the page
44+
* equal to partition_num. This will de-allocate the page
4545
* if it is already allocated. The partition will have
4646
* full access permissions. The permissions are set before,
4747
* running a job descriptor. A memory page of secure RAM

0 commit comments

Comments
 (0)