mtd: spinand: dosilicon: Modify redundant ECC status bits

Change-Id: I80d37af0ecec18744bf6b3e1a8ef5b101330cce5
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
This commit is contained in:
Jon Lin
2023-07-06 00:12:31 +08:00
committed by Tao Huang
parent 18390c37e3
commit f893305c91

View File

@@ -9,7 +9,7 @@
#define SPINAND_MFR_DOSILICON 0xE5
#define DOSICON_STATUS_ECC_MASK GENMASK(7, 4)
#define DOSICON_STATUS_ECC_MASK GENMASK(6, 4)
#define DOSICON_STATUS_ECC_NO_BITFLIPS (0 << 4)
#define DOSICON_STATUS_ECC_1TO3_BITFLIPS (1 << 4)
#define DOSICON_STATUS_ECC_4TO6_BITFLIPS (3 << 4)