Thread (20 messages) 20 messages, 3 authors, 2012-01-31
STALE5234d

[PATCH] mtd/gpmi : add BBT support

From: Wolfram Sang <hidden>
Date: 2012-01-30 09:46:10

On Mon, Jan 30, 2012 at 12:36:14PM +0800, Huang Shijie wrote:
quoted hunk ↗ jump to hunk
add the BBT support to the gpmi nand driver.
Signed-off-by: Huang Shijie <redacted>
---
 drivers/mtd/nand/gpmi-nand/gpmi-nand.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c b/drivers/mtd/nand/gpmi-nand/gpmi-nand.c
index 493ec2f..4fbb341 100644
--- a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c
+++ b/drivers/mtd/nand/gpmi-nand/gpmi-nand.c
@@ -1493,6 +1493,7 @@ static int __devinit gpmi_nfc_init(struct gpmi_nand_data *this)
 	chip->ecc.mode		= NAND_ECC_HW;
 	chip->ecc.size		= 1;
 	chip->ecc.layout	= &gpmi_hw_ecclayout;
+	chip->bbt_options	= NAND_BBT_USE_FLASH | NAND_BBT_NO_OOB;
You are making this default. Is there a bootloader which supports that
on MXS?

-- 
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20120130/93dba91b/attachment.sig>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help