mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
mtd: spinand: foresee: Fix the way to program load cache
There are many restrictions on the use of the foresee devices Program Load Random Data (84H), for example it's not allow after a block erase. Change-Id: I345757016aa9b4c70b6cd5cca54f49166bb9dd99 Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
This commit is contained in:
@@ -26,7 +26,7 @@ static SPINAND_OP_VARIANTS(write_cache_variants,
|
||||
|
||||
static SPINAND_OP_VARIANTS(update_cache_variants,
|
||||
SPINAND_PROG_LOAD_X4(false, 0, NULL, 0),
|
||||
SPINAND_PROG_LOAD(false, 0, NULL, 0));
|
||||
SPINAND_PROG_LOAD(true, 0, NULL, 0));
|
||||
|
||||
static int fsxxndxxg_ooblayout_ecc(struct mtd_info *mtd, int section,
|
||||
struct mtd_oob_region *region)
|
||||
|
||||
Reference in New Issue
Block a user