spinand_upd_cfg
ret = spinand_upd_cfg(spinand, CFG_OTP_ENABLE, 0);
return spinand_upd_cfg(spinand, CFG_QUAD_ENABLE,
return spinand_upd_cfg(spinand, CFG_ECC_ENABLE,
ret = spinand_upd_cfg(spinand, ESMT_F50L1G41LB_CFG_OTP_LOCK,
if (spinand_upd_cfg(spinand, ESMT_F50L1G41LB_CFG_OTP_LOCK, 0)) {
ret = spinand_upd_cfg(spinand, GD_FEATURE_NR,
ret = spinand_upd_cfg(spinand, MACRONIX_CFG_CONT_READ,
ret = spinand_upd_cfg(spinand,
if (spinand_upd_cfg(spinand, MICRON_MT29F2G01ABAGD_CFG_OTP_LOCK,
ret = spinand_upd_cfg(spinand,
if (spinand_upd_cfg(spinand, MICRON_MT29F2G01ABAGD_CFG_OTP_LOCK, 0)) {
return spinand_upd_cfg(spinand, MICRON_CFG_CR, 0);
if (spinand_upd_cfg(spinand, CFG_OTP_ENABLE, 0)) {
ret = spinand_upd_cfg(spinand, CFG_OTP_ENABLE, CFG_OTP_ENABLE);
spinand_upd_cfg(spinand, WINBOND_CFG_BUF_READ,
int spinand_upd_cfg(struct spinand_device *spinand, u8 mask, u8 val);