]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: nand: support new Toshiba SLC
authorBrian Norris <norris@broadcom.com>
Fri, 20 Aug 2010 19:36:12 +0000 (12:36 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sun, 24 Oct 2010 22:38:30 +0000 (23:38 +0100)
commit45209ebad574de61b1e2db41035629bf5c89702c
tree8f559b677e3629263ef5d3bd5cfc26bc540c8155
parentbaa14f22de2ae3ca6800d36499d8f8ab5528154f
mtd: nand: support new Toshiba SLC

Toshiba does not use ONFI for their NAND flash. So we have to continue
to add new IDs used by Toshiba devices as well as heuristic detection
for scanning the 2nd page for a BBM. This is a relatively harmless
start at supporting many of them.

These chips mostly follow the same ID fields of previous generations,
but there is a need for a tweak.

These chips introduce a strange 576 byte OOB (that's 36 bytes per
512 bytes of page). In the preliminary data, Toshiba has not
defined exactly how their ID strings should decode. In the future,
a new tweak must be added.

Data is taken from, among others, Toshiba TC58TxG4S2FBAxx

Signed-off-by: Brian Norris <norris@broadcom.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/nand_base.c
drivers/mtd/nand/nand_ids.c