Linux-mtd Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Huang Shijie <b32955@freescale.com>
To: Brian Norris <computersforpeace@gmail.com>
Cc: linux-mtd@lists.infradead.org, dwmw2@infradead.org, dedekind1@gmail.com
Subject: Re: [PATCH for mtd-utils 0/4] about the SLC/MLC
Date: Wed, 23 Oct 2013 10:29:27 +0800	[thread overview]
Message-ID: <52673487.40908@freescale.com> (raw)
In-Reply-To: <20131022233349.GR23337@ld-irv-0074.broadcom.com>

于 2013年10月23日 07:33, Brian Norris 写道:
> You're missing flash_erase.c, which still has:
>
> 	isNAND = mtd.type == MTD_NANDFLASH ? 1 : 0;
I missed it on purpose.

The "isNAND" is used for the jffs2 to write the cleanmarker.

Since the jffs2 does not support the MLC now, the above line is used to 
check the SLC nand now.
Only the SLC nand can be written with the cleanmarker.

Am i right?

thanks
Huang Shijie

  reply	other threads:[~2013-10-23  2:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-20  5:58 [PATCH for mtd-utils 0/4] about the SLC/MLC Huang Shijie
2013-08-20  5:58 ` [PATCH for mtd-utils 1/4] add the MTD_MLCNANDFLASH case Huang Shijie
2013-08-20  5:58 ` [PATCH for mtd-utils 2/4] mtd: mtd-abi: add a helper to detect the nand type Huang Shijie
2013-08-20  5:58 ` [PATCH for mtd-utils 3/4] Use the mtd_type_is_nand_user() to check the nand Huang Shijie
2013-08-20  5:58 ` [PATCH for mtd-utils 4/4] check the MLC nand type Huang Shijie
2013-10-22 23:33 ` [PATCH for mtd-utils 0/4] about the SLC/MLC Brian Norris
2013-10-23  2:29   ` Huang Shijie [this message]
2013-10-23  3:28     ` Brian Norris

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=52673487.40908@freescale.com \
    --to=b32955@freescale.com \
    --cc=computersforpeace@gmail.com \
    --cc=dedekind1@gmail.com \
    --cc=dwmw2@infradead.org \
    --cc=linux-mtd@lists.infradead.org \
    /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