mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
mtd: spinand: Winbond: Set W25N01KWZPIG buffer read
Change-Id: I10ed4747df9412af3a826c94822fe68dc3ead705 Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
This commit is contained in:
@@ -242,6 +242,12 @@ static int winbond_spinand_init(struct spinand_device *spinand)
|
||||
WINBOND_CFG_BUF_READ);
|
||||
}
|
||||
|
||||
/* W25N01JWZEIG enable continuous read */
|
||||
if (spinand->id.data[1] == 0xaa && spinand->id.data[2] == 0x21) {
|
||||
spinand_upd_cfg(spinand, BIT(3), BIT(3));
|
||||
dev_info(&spinand->spimem->spi->dev, "Enable buf_read\n");
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user