mtd: spinand: Support GD5F4GQ6UExxG
Change-Id: Ib72399ca0166ec82fdaf900ac51059076c155de3 Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
This commit is contained in:
parent
f06413e433
commit
1f161166c6
|
|
@ -176,7 +176,7 @@ static const struct spinand_info gigadevice_spinand_table[] = {
|
||||||
SPINAND_HAS_QE_BIT,
|
SPINAND_HAS_QE_BIT,
|
||||||
SPINAND_ECCINFO(&gd5fxgq4xexxg_ooblayout,
|
SPINAND_ECCINFO(&gd5fxgq4xexxg_ooblayout,
|
||||||
gd5fxgq5xexxg_ecc_get_status)),
|
gd5fxgq5xexxg_ecc_get_status)),
|
||||||
SPINAND_INFO("GD5F2GQ4UBExxG", 0xd2,
|
SPINAND_INFO("GD5F2GQ4UBxxG", 0xd2,
|
||||||
NAND_MEMORG(1, 2048, 128, 64, 2048, 1, 1, 1),
|
NAND_MEMORG(1, 2048, 128, 64, 2048, 1, 1, 1),
|
||||||
NAND_ECCREQ(8, 512),
|
NAND_ECCREQ(8, 512),
|
||||||
SPINAND_INFO_OP_VARIANTS(&read_cache_variants,
|
SPINAND_INFO_OP_VARIANTS(&read_cache_variants,
|
||||||
|
|
@ -185,6 +185,15 @@ static const struct spinand_info gigadevice_spinand_table[] = {
|
||||||
SPINAND_HAS_QE_BIT,
|
SPINAND_HAS_QE_BIT,
|
||||||
SPINAND_ECCINFO(&gd5fxgq4xexxg_ooblayout,
|
SPINAND_ECCINFO(&gd5fxgq4xexxg_ooblayout,
|
||||||
gd5f1gq4xexxg_ecc_get_status)),
|
gd5f1gq4xexxg_ecc_get_status)),
|
||||||
|
SPINAND_INFO("GD5F4GQ6UExxG", 0x55,
|
||||||
|
NAND_MEMORG(1, 2048, 128, 64, 4096, 1, 1, 1),
|
||||||
|
NAND_ECCREQ(4, 512),
|
||||||
|
SPINAND_INFO_OP_VARIANTS(&read_cache_variants,
|
||||||
|
&write_cache_variants,
|
||||||
|
&update_cache_variants),
|
||||||
|
SPINAND_HAS_QE_BIT,
|
||||||
|
SPINAND_ECCINFO(&gd5fxgq4xexxg_ooblayout,
|
||||||
|
gd5fxgq5xexxg_ecc_get_status)),
|
||||||
};
|
};
|
||||||
|
|
||||||
static int gigadevice_spinand_detect(struct spinand_device *spinand)
|
static int gigadevice_spinand_detect(struct spinand_device *spinand)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue