Browse Source

Fix spelling; minor code cleanup.

Wolfgang Denk 18 years ago
parent
commit
87621bc247
3 changed files with 6 additions and 4 deletions
  1. 2 0
      CHANGELOG
  2. 1 1
      common/cmd_nand.c
  3. 3 3
      drivers/nand/nand_util.c

+ 2 - 0
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
 

+ 1 - 1
common/cmd_nand.c

@@ -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"
 				);
 

+ 3 - 3
drivers/nand/nand_util.c

@@ -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) {