From 6d7ce2c8a00ddf6f7018782df44be23e25cf575c Mon Sep 17 00:00:00 2001 From: Jon Lin Date: Wed, 17 Nov 2021 21:23:24 +0800 Subject: [PATCH] drivers: rkflash: Support F35SQA002G Change-Id: I5d421c084ca001f061f4bec371046cf28d814555 Signed-off-by: Jon Lin --- drivers/rkflash/sfc_nand.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/rkflash/sfc_nand.c b/drivers/rkflash/sfc_nand.c index aa9c8fffe3cf..7e307978b957 100644 --- a/drivers/rkflash/sfc_nand.c +++ b/drivers/rkflash/sfc_nand.c @@ -111,6 +111,8 @@ static struct nand_info spi_nand_tbl[] = { { 0xCD, 0xEC, 0x00, 4, 0x40, 2, 2048, 0x4C, 20, 0x4, 0, { 0x04, 0x08, 0xFF, 0xFF }, &sfc_nand_get_ecc_status1 }, /* F35SQA001G */ { 0xCD, 0x71, 0x00, 4, 0x40, 1, 1024, 0x4C, 18, 0x1, 1, { 0x04, 0x08, 0xFF, 0xFF }, &sfc_nand_get_ecc_status1 }, + /* F35SQA002G */ + { 0xCD, 0x72, 0x00, 4, 0x40, 1, 2048, 0x4C, 19, 0x1, 1, { 0x04, 0x08, 0xFF, 0xFF }, &sfc_nand_get_ecc_status1 }, /* DS35Q1GA-IB */ { 0xE5, 0x71, 0x00, 4, 0x40, 1, 1024, 0x0C, 18, 0x4, 1, { 0x04, 0x14, 0xFF, 0xFF }, &sfc_nand_get_ecc_status1 },