driver: mtd: nand: qcom_nand: Add support for gigadevice nand

GD5F1GQ5REYIH

Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: I84e9d15792a86185e444936a8fe0e5ebd061be8a
This commit is contained in:
Md Sadre Alam 2021-01-19 13:50:03 +05:30
parent 02c55e3fb0
commit 17fd8d354d

View file

@ -162,6 +162,22 @@ static struct qpic_serial_nand_params qpic_serial_nand_tbl[] = {
.check_quad_config = true,
.name = "GD5F1GQ5REYIG",
},
{
.id = { 0xc8, 0x21 },
.page_size = 2048,
.erase_blk_size = 0x00020000,
.pgs_per_blk = 64,
.no_of_blocks = 1024,
.spare_size = 64,
.density = 0x08000000,
.otp_region = 0x2000,
.no_of_addr_cycle = 0x3,
.num_bits_ecc_correctability = 4,
.timing_mode_support = 0,
.quad_mode = true,
.check_quad_config = true,
.name = "GD5F1GQ5REYIH",
},
};
struct qpic_serial_nand_params *serial_params;
#define MICRON_DEVICE_ID 0x152c152c