mtd: spinand: Support new devices

XT26G04C

Change-Id: I9004728fc1dfd03a54578fbf344171c4bdc3d69d
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
This commit is contained in:
Jon Lin 2021-02-22 09:09:15 +08:00 committed by Jianhong Chen
parent 7bdd0eb669
commit 8d4402d317
1 changed files with 9 additions and 0 deletions

View File

@ -231,6 +231,15 @@ static const struct spinand_info xtx_spinand_table[] = {
SPINAND_HAS_QE_BIT,
SPINAND_ECCINFO(&xt26g01b_ooblayout,
xt26g01c_ecc_get_status)),
SPINAND_INFO("XT26G04C", 0x13,
NAND_MEMORG(1, 4096, 128, 64, 2048, 1, 1, 1),
NAND_ECCREQ(8, 512),
SPINAND_INFO_OP_VARIANTS(&read_cache_variants,
&write_cache_variants,
&update_cache_variants),
SPINAND_HAS_QE_BIT,
SPINAND_ECCINFO(&xt26g01b_ooblayout,
xt26g01c_ecc_get_status)),
};
static int xtx_spinand_detect(struct spinand_device *spinand)