[U-Boot] [PATCH] fix accidental erase of OneNand whole chip
Geiger Ho
geiger.ho at fmp.fujitsu.com
Mon May 18 14:00:43 CEST 2009
This patch fixes the accidental erase of OneNand whole chip when issuing
command "onenand erase".
Signed-off-by: Geiger Ho <geiger.ho at fmp.fujitsu.com>
--- u-boot-2009.03/common/cmd_onenand.c 2009-03-22 05:04:41.000000000 +0800
+++ u-boot-2009.03-dev/common/cmd_onenand.c 2009-05-18
17:57:27.000000000 +0800
@@ -367,6 +367,8 @@ int do_onenand(cmd_tbl_t * cmdtp, int fl
return 0;
}
+ goto usage;
+
default:
/* At least 4 args */
More information about the U-Boot
mailing list