Fix spelling; minor code cleanup.
authorWolfgang Denk <wd@pollux.denx.de>
Thu, 12 Oct 2006 09:43:47 +0000 (11:43 +0200)
committerWolfgang Denk <wd@pollux.denx.de>
Thu, 12 Oct 2006 09:43:47 +0000 (11:43 +0200)
CHANGELOG
common/cmd_nand.c
drivers/nand/nand_util.c

index 68aa65ae3c39ed489a9899fce6f652b45f82f8c2..166cfa3a4ed30b3f9695ae7e5be68bb33fc8d677 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,8 @@
 Changes since U-Boot 1.1.4:
 ======================================================================
 
+* Fix spelling; minor code cleanup.
+
 * Fix JFFS2 compilation problem
   Patch by Stefan Roese, 12 Oct 2006
 
index fdbe7c78a63a6e574e7ff778a04e2bc99f896ccc..7042a9c22662cd08ac811912be690916b21ac3ad 100644 (file)
@@ -251,7 +251,7 @@ int do_nand(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
                               "Use this command only for testing purposes "
                               "if you\n"
                               "         "
-                              "are shure of what you are doing!\n"
+                              "are sure of what you are doing!\n"
                               "\nReally scrub this NAND flash? <y/N>\n"
                                );
 
index 5a8e58a741ca917481466440e7ae0a8598400c7a..7570210d5caee17593494d04ccf417b2cbbfa31d 100644 (file)
@@ -170,9 +170,9 @@ int nand_erase_opts(nand_info_t *meminfo, const nand_erase_options_t *opts)
                        if (ret > 0) {
                                if (!opts->quiet)
                                        printf("\rSkipping bad block at  "
-                                               "0x%08x                   "
-                                               "                         \n",
-                                               erase.addr);
+                                              "0x%08x                   "
+                                              "                         \n",
+                                              erase.addr);
                                continue;
 
                        } else if (ret < 0) {