public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Geiger Ho <geiger.ho@fmp.fujitsu.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] fix accidental erase of OneNand whole chip
Date: Mon, 18 May 2009 20:00:43 +0800	[thread overview]
Message-ID: <4A114DEB.1020508@fmp.fujitsu.com> (raw)

This patch fixes the accidental erase of OneNand whole chip when issuing 
command "onenand erase".

Signed-off-by: Geiger Ho <geiger.ho@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 */

             reply	other threads:[~2009-05-18 12:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-18 12:00 Geiger Ho [this message]
2009-05-19 22:36 ` [U-Boot] [PATCH] fix accidental erase of OneNand whole chip Scott Wood

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A114DEB.1020508@fmp.fujitsu.com \
    --to=geiger.ho@fmp.fujitsu.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox