mtd: spinand: Support new devices
XT26G04C Change-Id: I9004728fc1dfd03a54578fbf344171c4bdc3d69d Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
This commit is contained in:
parent
7bdd0eb669
commit
8d4402d317
|
|
@ -231,6 +231,15 @@ static const struct spinand_info xtx_spinand_table[] = {
|
||||||
SPINAND_HAS_QE_BIT,
|
SPINAND_HAS_QE_BIT,
|
||||||
SPINAND_ECCINFO(&xt26g01b_ooblayout,
|
SPINAND_ECCINFO(&xt26g01b_ooblayout,
|
||||||
xt26g01c_ecc_get_status)),
|
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)
|
static int xtx_spinand_detect(struct spinand_device *spinand)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue