From: Scott Wood Date: Tue, 17 Mar 2009 17:06:04 +0000 (-0500) Subject: NAND: Have nboot accept .e and .i as legacy no-ops. X-Git-Tag: v2009.03~16^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=65d8bc94d8214812ccdf3372d3fef845cf4ec2e5;p=u-boot NAND: Have nboot accept .e and .i as legacy no-ops. This was intended to happen before, but a trivial bug prevented it. Signed-off-by: Scott Wood --- diff --git a/common/cmd_nand.c b/common/cmd_nand.c index f915fb65c0..e6623caf17 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;