[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100817113644.GA31317@gibson.comsick.at>
Date: Tue, 17 Aug 2010 13:36:44 +0200
From: Michael Guntsche <mike@...loops.com>
To: Brian Norris <norris@...adcom.com>, linux-mtd@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: [BUG] Nand support broken with v2.6.36-rc1
Hello again,
Answering my own question here. Yes indeed with the new code a driver
change seems to be needed. The badblock pattern used with this nand is no longer
supported with the stock kernel code. I added this to the nand driver
itself.
static uint8_t scan_ff_pattern[] = { 0xff, 0xff };
static struct nand_bbt_descr rbppc_nand_smallpage = {
.options = NAND_BBT_SCAN2NDPAGE,
.offs = NAND_SMALL_BADBLOCK_POS,
.len = 1,
.pattern = scan_ff_pattern
};
and the driver is working again. But shouldn't this be supported by the stock level code as well?
Kind regards,
Michael Guntsche
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists