aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShyam Saini <mayhs11saini@gmail.com>2018-06-07 19:47:19 +0530
committerTom Rini <trini@konsulko.com>2018-06-13 07:49:13 -0400
commit919d25c9208d12a4fc3691972ad69ed4e40455ba (patch)
treeeb49d63a0a3e9bf18fbf41a5be7fd3fd98405aa6
parent94b233f443456a1cb868868b3b7f6876471a2de4 (diff)
downloadu-boot-919d25c9208d12a4fc3691972ad69ed4e40455ba.zip
u-boot-919d25c9208d12a4fc3691972ad69ed4e40455ba.tar.gz
u-boot-919d25c9208d12a4fc3691972ad69ed4e40455ba.tar.bz2
u-boot: Fix several typos
's/environemnt/environment/' and 's/Environemnt/Environment/' Signed-off-by: Shyam Saini <shyam@amarulasolutions.com>
-rw-r--r--cmd/nvedit.c2
-rw-r--r--common/image.c2
-rw-r--r--common/spl/Kconfig2
-rw-r--r--env/Kconfig6
-rw-r--r--include/configs/mx28evk.h2
-rw-r--r--include/environment.h2
-rw-r--r--tools/env/fw_env.c4
7 files changed, 10 insertions, 10 deletions
diff --git a/cmd/nvedit.c b/cmd/nvedit.c
index 11489b0..ddc888a 100644
--- a/cmd/nvedit.c
+++ b/cmd/nvedit.c
@@ -720,7 +720,7 @@ int env_get_f(const char *name, char *buf, unsigned len)
/**
* Decode the integer value of an environment variable and return it.
*
- * @param name Name of environemnt variable
+ * @param name Name of environment variable
* @param base Number base to use (normally 10, or 16 for hex)
* @param default_val Default value to return if the variable is not
* found
diff --git a/common/image.c b/common/image.c
index 214ac33..4f20128 100644
--- a/common/image.c
+++ b/common/image.c
@@ -1413,7 +1413,7 @@ int boot_get_loadable(int argc, char * const argv[], bootm_headers_t *images,
* @cmd_end: pointer to a ulong variable, will hold cmdline end
*
* boot_get_cmdline() allocates space for kernel command line below
- * BOOTMAPSZ + env_get_bootm_low() address. If "bootargs" U-Boot environemnt
+ * BOOTMAPSZ + env_get_bootm_low() address. If "bootargs" U-Boot environment
* variable is present its contents is copied to allocated kernel
* command line.
*
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 431710a..1f14797 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -334,7 +334,7 @@ config SPL_SAVEENV
example OS may set "reboot_image" environment variable to
"recovery" inorder to boot recovery image by SPL. The SPL read
"reboot_image" and act accordingly and change the reboot_image
- to default mode using setenv and save the environemnt.
+ to default mode using setenv and save the environment.
config SPL_ETH_SUPPORT
bool "Support Ethernet"
diff --git a/env/Kconfig b/env/Kconfig
index f403906..ec66c13 100644
--- a/env/Kconfig
+++ b/env/Kconfig
@@ -15,7 +15,7 @@ config ENV_IS_NOWHERE
default y
help
Define this if you don't want to or can't have an environment stored
- on a storage medium. In this case the environemnt will still exist
+ on a storage medium. In this case the environment will still exist
while U-Boot is running, but once U-Boot exits it will not be
stored. U-Boot will therefore always start up with a default
environment.
@@ -391,7 +391,7 @@ config ENV_FAT_DEVICE_AND_PART
partition table then means device D.
config ENV_FAT_FILE
- string "Name of the FAT file to use for the environemnt"
+ string "Name of the FAT file to use for the environment"
depends on ENV_IS_IN_FAT
default "uboot.env"
help
@@ -423,7 +423,7 @@ config ENV_EXT4_DEVICE_AND_PART
partition table then means device D.
config ENV_EXT4_FILE
- string "Name of the EXT4 file to use for the environemnt"
+ string "Name of the EXT4 file to use for the environment"
depends on ENV_IS_IN_EXT4
default "uboot.env"
help
diff --git a/include/configs/mx28evk.h b/include/configs/mx28evk.h
index f373b1e..dc4db2b 100644
--- a/include/configs/mx28evk.h
+++ b/include/configs/mx28evk.h
@@ -43,7 +43,7 @@
(CONFIG_ENV_OFFSET + CONFIG_ENV_RANGE)
#endif
-/* Environemnt is in SPI flash */
+/* Environment is in SPI flash */
#if defined(CONFIG_CMD_SF) && defined(CONFIG_ENV_IS_IN_SPI_FLASH)
#define CONFIG_SYS_REDUNDAND_ENVIRONMENT
#define CONFIG_ENV_OFFSET 0x40000 /* 256K */
diff --git a/include/environment.h b/include/environment.h
index 50c62c5..70b7eda 100644
--- a/include/environment.h
+++ b/include/environment.h
@@ -292,7 +292,7 @@ int env_import_redund(const char *buf1, int buf1_status,
/**
* env_get_char() - Get a character from the early environment
*
- * This reads from the pre-relocation environemnt
+ * This reads from the pre-relocation environment
*
* @index: Index of character to read (0 = first)
* @return character read, or -ve on error
diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c
index 0b22345..a5d7595 100644
--- a/tools/env/fw_env.c
+++ b/tools/env/fw_env.c
@@ -842,10 +842,10 @@ int fw_parse_script(char *fname, struct env_opts *opts)
}
/**
- * environment_end() - compute offset of first byte right after environemnt
+ * environment_end() - compute offset of first byte right after environment
* @dev - index of enviroment buffer
* Return:
- * device offset of first byte right after environemnt
+ * device offset of first byte right after environment
*/
off_t environment_end(int dev)
{