[U-Boot] [PATCH] NAND: Have nboot accept .e and .i as legacy no-ops.
Scott Wood
scottwood at freescale.com
Tue Mar 17 18:10:15 CET 2009
This was intended to happen before, but a trivial bug prevented it.
Signed-off-by: Scott Wood <scottwood at freescale.com>
---
Applied to u-boot-nand-flash.
common/cmd_nand.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/common/cmd_nand.c b/common/cmd_nand.c
index f915fb6..e6623ca 100644
--- a/common/cmd_nand.c
+++ b/common/cmd_nand.c
@@ -502,7 +502,7 @@ static int nand_load_image(cmd_tbl_t *cmdtp, nand_info_t *nand,
s = strchr(cmd, '.');
if (s != NULL &&
- (strcmp(s, ".jffs2") && !strcmp(s, ".e") && !strcmp(s, ".i"))) {
+ (strcmp(s, ".jffs2") && strcmp(s, ".e") && strcmp(s, ".i"))) {
printf("Unknown nand load suffix '%s'\n", s);
show_boot_progress(-53);
return 1;
--
1.5.3
More information about the U-Boot
mailing list