From: Sascha Hauer <s.hauer@pengutronix.de>
To: Robert Jarzmik <robert.jarzmik@free.fr>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] mtd: nand: mrvl-nand: create initial empty bbt
Date: Wed, 19 Aug 2015 16:24:53 +0200 [thread overview]
Message-ID: <20150819142453.GI18700@pengutronix.de> (raw)
In-Reply-To: <1439157258-28579-1-git-send-email-robert.jarzmik@free.fr>
On Sun, Aug 09, 2015 at 11:54:18PM +0200, Robert Jarzmik wrote:
> When creating an initial bad blocks table, create it empty. This is
> necessary because when the bad block table blocks are not
> initialized (all ff) while some partitions are, all the blocks which
> have an OOB data not beginning with 0xff 0xff will be marked as bad
> blocks in the initial bad blocks scan.
>
> As a consequence, any existing blocks are impossible to erase
> anymore. Fix this by fixing the BBT creation flag.
>
> Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
> ---
> drivers/mtd/nand/nand_mrvl_nfc.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
Applied, thanks
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2015-08-19 14:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-09 21:54 Robert Jarzmik
2015-08-19 14:24 ` Sascha Hauer [this message]
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=20150819142453.GI18700@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=robert.jarzmik@free.fr \
/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