mtd: spi-nor: core: Move generic method to core - micron_st_nor_set_4byte_addr_mode
authorTudor Ambarus <tudor.ambarus@linaro.org>
Fri, 31 Mar 2023 07:45:57 +0000 (07:45 +0000)
committerTudor Ambarus <tudor.ambarus@linaro.org>
Tue, 4 Apr 2023 06:43:49 +0000 (09:43 +0300)
commit076aa4eac8b3f7e8ade56a64a7197836d6bd3a72
treea1df5a9f49e976b08c2cdc85a5005917ec25ca79
parentf0a499acb4b6f4c9a169ce35195b8021578ea14a
mtd: spi-nor: core: Move generic method to core - micron_st_nor_set_4byte_addr_mode

This method is described in JESD216 BFPT[SFDP_DWORD(16)], BIT(30) and
BIT(22). Move the method to core.

Reviewed-by: Michael Walle <michael@walle.cc>
Link: https://lore.kernel.org/r/20230331074606.3559258-2-tudor.ambarus@linaro.org
Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
drivers/mtd/spi-nor/core.c
drivers/mtd/spi-nor/core.h
drivers/mtd/spi-nor/micron-st.c