rkflash: add new SPI Nannd flash

GD5F1GQ4R

Change-Id: Ie2077814963f564318cda4777a0c91bbacb4c1fb
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
This commit is contained in:
Jon Lin 2019-07-16 11:50:11 +08:00 committed by Jianhong Chen
parent 9f7520289f
commit 26e23df7b8
1 changed files with 2 additions and 0 deletions

View File

@ -77,6 +77,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];