• Brian Norris's avatar
    mtd: nand: support new Toshiba SLC · 13ed7aed
    Brian Norris authored
    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: default avatarBrian Norris <norris@broadcom.com>
    Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
    Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
    13ed7aed
nand_base.c 87.2 KB