drivers: rkflash: add new SPI Nannd flash

GD5F1GQ4R

Change-Id: I652526171576bd51d10dc8923bbb5e2c69f28975
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
This commit is contained in:
Jon Lin
2019-07-16 11:53:51 +08:00
committed by Tao Huang
parent f73668a6c4
commit 258dd7d3a8

View File

@@ -76,6 +76,8 @@ static struct nand_info spi_nand_tbl[] = {
{0xD503, 8, 64, 1, 2048, 0x13, 0x10, 0x03, 0x02, 0x6B, 0x32, 0xD8, 0x4C, 20, 8, 0xB0, 0, 4, 40, NULL},
/* GD5F2GQ5UEYIG */
{0xC852, 4, 64, 1, 2048, 0x13, 0x10, 0x03, 0x02, 0x6B, 0x32, 0xD8, 0x4C, 19, 4, 0xB0, 0, 4, 20, &sfc_nand_ecc_status_sp2},
/* GD5F1GQ4R */
{0xC8C1, 4, 64, 1, 1024, 0x13, 0x10, 0x03, 0x02, 0x6B, 0x32, 0xD8, 0x0C, 18, 8, 0xB0, 0, 4, 8, &sfc_nand_ecc_status_sp3},
};
static u8 id_byte[8];