diff mbox

[U-Boot,2/2] nand: remote biterr command stub

Message ID 20120328222743.GA14889@schlenkerla.am.freescale.net
State Deferred
Delegated to: Scott Wood
Headers show

Commit Message

Scott Wood March 28, 2012, 10:27 p.m. UTC
It can be scripted instead with .raw accesses.

Signed-off-by: Scott Wood <scottwood@freescale.com>
---
 common/cmd_nand.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

Comments

Stefan Roese March 29, 2012, 6:15 a.m. UTC | #1
On Thursday 29 March 2012 00:27:43 Scott Wood wrote:
> It can be scripted instead with .raw accesses.

Typo in the subject: s/remote/remove

Thanks,
Stefan
Wolfgang Denk March 29, 2012, 6:23 a.m. UTC | #2
Dear Scott Wood,

In message <20120328222743.GA14889@schlenkerla.am.freescale.net> you wrote:
> It can be scripted instead with .raw accesses.
> 
> Signed-off-by: Scott Wood <scottwood@freescale.com>

Can you please add an example how to do that to the commit message?
Thanks.

Best regards,

Wolfgang Denk
diff mbox

Patch

diff --git a/common/cmd_nand.c b/common/cmd_nand.c
index 4456706..368c9f2 100644
--- a/common/cmd_nand.c
+++ b/common/cmd_nand.c
@@ -723,11 +723,6 @@  int do_nand(cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
 		return ret;
 	}
 
-	if (strcmp(cmd, "biterr") == 0) {
-		/* todo */
-		return 1;
-	}
-
 #ifdef CONFIG_CMD_NAND_LOCK_UNLOCK
 	if (strcmp(cmd, "lock") == 0) {
 		int tight = 0;
@@ -804,7 +799,6 @@  U_BOOT_CMD(
 	"nand scrub [-y] off size | scrub.part partition | scrub.chip\n"
 	"    really clean NAND erasing bad blocks (UNSAFE)\n"
 	"nand markbad off [...] - mark bad block(s) at offset (UNSAFE)\n"
-	"nand biterr off - make a bit error at offset (UNSAFE)"
 #ifdef CONFIG_CMD_NAND_LOCK_UNLOCK
 	"\n"
 	"nand lock [tight] [status]\n"