mtd: spinand: Fix etron devices read id information

Change to SPINAND_READID_METHOD_OPCODE_ADDR

Change-Id: Ie159a0ede287d2c157890d768b2c73238ed53608
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
This commit is contained in:
Jon Lin
2021-11-15 17:20:01 +08:00
committed by Tao Huang
parent ab64e61f7f
commit 1b6a02851b

View File

@@ -78,7 +78,7 @@ static int em73c044vcf_oh_ecc_get_status(struct spinand_device *spinand,
static const struct spinand_info etron_spinand_table[] = {
SPINAND_INFO("EM73C044VCF-0H",
SPINAND_ID(SPINAND_READID_METHOD_OPCODE_DUMMY, 0x36),
SPINAND_ID(SPINAND_READID_METHOD_OPCODE_ADDR, 0x36),
NAND_MEMORG(1, 2048, 64, 64, 1024, 20, 1, 1, 1),
NAND_ECCREQ(4, 512),
SPINAND_INFO_OP_VARIANTS(&read_cache_variants,