mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 22:52:19 +02:00
mtd: spi-nor: core: Make spi_nor_set_4byte_addr_mode_brwr public
This method can be retrieved at BFPT parsing time. The method is described in JESD216 BFPT[SFDP_DWORD(16)], BIT(28) and BIT(20). Reviewed-by: Michael Walle <michael@walle.cc> Link: https://lore.kernel.org/r/20230331074606.3559258-6-tudor.ambarus@linaro.org Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
This commit is contained in:
parent
d75c22f376
commit
3a4d5f4af9
|
|
@ -579,7 +579,7 @@ int spi_nor_set_4byte_addr_mode_wren_en4b_ex4b(struct spi_nor *nor, bool enable)
|
|||
*
|
||||
* Return: 0 on success, -errno otherwise.
|
||||
*/
|
||||
static int spi_nor_set_4byte_addr_mode_brwr(struct spi_nor *nor, bool enable)
|
||||
int spi_nor_set_4byte_addr_mode_brwr(struct spi_nor *nor, bool enable)
|
||||
{
|
||||
int ret;
|
||||
|
||||
|
|
|
|||
|
|
@ -650,6 +650,7 @@ int spi_nor_write_disable(struct spi_nor *nor);
|
|||
int spi_nor_set_4byte_addr_mode_en4b_ex4b(struct spi_nor *nor, bool enable);
|
||||
int spi_nor_set_4byte_addr_mode_wren_en4b_ex4b(struct spi_nor *nor,
|
||||
bool enable);
|
||||
int spi_nor_set_4byte_addr_mode_brwr(struct spi_nor *nor, bool enable);
|
||||
int spi_nor_wait_till_ready(struct spi_nor *nor);
|
||||
int spi_nor_global_block_unlock(struct spi_nor *nor);
|
||||
int spi_nor_prep_and_lock(struct spi_nor *nor);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user