summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/board_f.c4
-rw-r--r--common/env_common.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/common/board_f.c b/common/board_f.c
index 2c885950782..1b888228ca8 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -1058,7 +1058,7 @@ void board_init_f(ulong boot_flags)
{
#ifdef CONFIG_SYS_GENERIC_GLOBAL_DATA
/*
- * For some archtectures, global data is initialized and used before
+ * For some architectures, global data is initialized and used before
* calling this function. The data should be preserved. For others,
* CONFIG_SYS_GENERIC_GLOBAL_DATA should be defined and use the stack
* here to host global data until relocation.
@@ -1070,7 +1070,7 @@ void board_init_f(ulong boot_flags)
/*
* Clear global data before it is accessed at debug print
* in initcall_run_list. Otherwise the debug print probably
- * get the wrong vaule of gd->have_console.
+ * get the wrong value of gd->have_console.
*/
zero_global_data();
#endif
diff --git a/common/env_common.c b/common/env_common.c
index 560cad02476..7fb62e8b457 100644
--- a/common/env_common.c
+++ b/common/env_common.c
@@ -226,7 +226,7 @@ int env_import(const char *buf, int check)
return 0;
}
-/* Emport the environment and generate CRC for it. */
+/* Export the environment and generate CRC for it. */
int env_export(env_t *env_out)
{
char *res;