]> git.sur5r.net Git - u-boot/commitdiff
NAND: Have nboot accept .e and .i as legacy no-ops.
authorScott Wood <scottwood@freescale.com>
Tue, 17 Mar 2009 17:06:04 +0000 (12:06 -0500)
committerScott Wood <scottwood@freescale.com>
Tue, 17 Mar 2009 17:06:04 +0000 (12:06 -0500)
This was intended to happen before, but a trivial bug prevented it.

Signed-off-by: Scott Wood <scottwood@freescale.com>
common/cmd_nand.c

index f915fb65c025d162942480157982b183538f5b9f..e6623caf176d84035c47c9a150a3d5f53a3524e5 100644 (file)
@@ -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;