Lines Matching +full:data +full:- +full:sheet
1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Author: Boris Brezillon <boris.brezillon@free-electrons.com>
16 memorg = nanddev_get_memorg(&chip->base); in amd_nand_decode_id()
24 * Data sheet (5 byte ID): Spansion S30ML-P ORNAND (p.39) in amd_nand_decode_id()
26 if (chip->id.data[4] != 0x00 && chip->id.data[5] == 0x00 && in amd_nand_decode_id()
27 chip->id.data[6] == 0x00 && chip->id.data[7] == 0x00 && in amd_nand_decode_id()
28 memorg->pagesize == 512) { in amd_nand_decode_id()
29 memorg->pages_per_eraseblock = 256; in amd_nand_decode_id()
30 memorg->pages_per_eraseblock <<= ((chip->id.data[3] & 0x03) << 1); in amd_nand_decode_id()
31 mtd->erasesize = memorg->pages_per_eraseblock * in amd_nand_decode_id()
32 memorg->pagesize; in amd_nand_decode_id()
44 chip->options |= NAND_BBM_FIRSTPAGE | NAND_BBM_SECONDPAGE | in amd_nand_init()