drivers: qpic_nand: add support for Macronix spi nand

This change will add support for 4K Macronix spi nand
"MX35UF4GE4AD-Z4I"

Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
Change-Id: I94e07d9e25de46c67fcb679ef149990e093afc8f
This commit is contained in:
Rajkumar Ayyasamy 2021-06-24 15:38:21 +05:30 committed by Gerrit - the friendly Code Review server
parent c01f9cccc4
commit d11ded2ea4

View file

@ -274,6 +274,23 @@ static struct qpic_serial_nand_params qpic_serial_nand_tbl[] = {
.check_quad_config = true,
.name = "GD5F2GQ5REYIG",
},
{
.id = { 0xc2, 0xb7 },
.page_size = 4096,
.erase_blk_size = 0x00040000,
.pgs_per_blk = 64,
.no_of_blocks = 2048,
.spare_size = 160,
.density = 0x20000000,
.otp_region = 0x2000,
.no_of_addr_cycle = 0x3,
.num_bits_ecc_correctability = 8,
.timing_mode_support = 0,
.quad_mode = true,
.check_quad_config = true,
.name = "MX35UF4GE4AD-Z4I",
},
};
struct qpic_serial_nand_params *serial_params;
#define MICRON_DEVICE_ID 0x152c152c