mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
mtd: spi-nor: winbond: Remove all devices SNOR_F_NO_READ_CR flags
All winbond particles support 35H command, but some particles do not accurately feedback information after SDFP param parsing. Change-Id: I00ad45ccd7ca7f7798a2c0699d064a58c6e411c6 Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
This commit is contained in:
@@ -226,9 +226,19 @@ static void winbond_nor_late_init(struct spi_nor *nor)
|
||||
nor->params->otp.ops = &winbond_nor_otp_ops;
|
||||
}
|
||||
|
||||
static void winbond_nor_post_sfdp(struct spi_nor *nor)
|
||||
{
|
||||
/*
|
||||
* All winbond flash support 35H command, but some flash do
|
||||
* not accurately feedback information after SDFP param parsing.
|
||||
*/
|
||||
nor->flags &= ~SNOR_F_NO_READ_CR;
|
||||
}
|
||||
|
||||
static const struct spi_nor_fixups winbond_nor_fixups = {
|
||||
.default_init = winbond_nor_default_init,
|
||||
.late_init = winbond_nor_late_init,
|
||||
.post_sfdp = winbond_nor_post_sfdp,
|
||||
};
|
||||
|
||||
const struct spi_nor_manufacturer spi_nor_winbond = {
|
||||
|
||||
Reference in New Issue
Block a user