aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2009-11-17 21:27:39 +0100
committerWolfgang Denk <wd@denx.de>2010-05-21 22:05:05 +0200
commit445093d175b06226549680b6894923bb0f5e50fa (patch)
tree3ec32c2b5e44d766a73ec7080518d803c6987b7e /common
parent2f05e394fccf62a4693c6b8323de725f90d1f003 (diff)
downloadu-boot-midas-445093d175b06226549680b6894923bb0f5e50fa.tar.gz
u-boot-midas-445093d175b06226549680b6894923bb0f5e50fa.tar.bz2
u-boot-midas-445093d175b06226549680b6894923bb0f5e50fa.zip
Fix "par[t]ition" typo.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'common')
-rw-r--r--common/cmd_flash.c6
-rw-r--r--common/cmd_nand.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/common/cmd_flash.c b/common/cmd_flash.c
index 3773412549..6361c4ef9b 100644
--- a/common/cmd_flash.c
+++ b/common/cmd_flash.c
@@ -34,7 +34,7 @@
#if defined(CONFIG_CMD_JFFS2) && defined(CONFIG_CMD_MTDPARTS)
#include <jffs2/jffs2.h>
-/* parition handling routines */
+/* partition handling routines */
int mtdparts_init(void);
int mtd_id_parse(const char *id, const char **ret_id, u8 *dev_type, u8 *dev_num);
int find_dev_and_part(const char *id, struct mtd_device **dev,
@@ -368,7 +368,7 @@ int do_flerase (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
addr_first = part->offset + info->start[0];
addr_last = addr_first + part->size - 1;
- printf ("Erase Flash Parition %s, "
+ printf ("Erase Flash Partition %s, "
"bank %ld, 0x%08lx - 0x%08lx ",
argv[1], bank, addr_first,
addr_last);
@@ -576,7 +576,7 @@ int do_protect (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
addr_first = part->offset + info->start[0];
addr_last = addr_first + part->size - 1;
- printf ("%sProtect Flash Parition %s, "
+ printf ("%sProtect Flash Partition %s, "
"bank %ld, 0x%08lx - 0x%08lx\n",
p ? "" : "Un", argv[1],
bank, addr_first, addr_last);
diff --git a/common/cmd_nand.c b/common/cmd_nand.c
index 9b0c930530..f611fd7717 100644
--- a/common/cmd_nand.c
+++ b/common/cmd_nand.c
@@ -19,7 +19,7 @@
#if defined(CONFIG_CMD_MTDPARTS)
-/* parition handling routines */
+/* partition handling routines */
int mtdparts_init(void);
int id_parse(const char *id, const char **ret_id, u8 *dev_type, u8 *dev_num);
int find_dev_and_part(const char *id, struct mtd_device **dev,