Skip to content

Commit 79321e7

Browse files
committed
mtd: spi-nor: core: Update comment about the default flash parameters
s/legacy/default. spi_nor_info_init_params initializes some default flash parameters and settings that can be overwritten when parsing SFDP, or by fixup hooks. There's nothing legacy about them, they are just some default settings, if not otherwise discovered or specified. Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com> Reviewed-by: Pratyush Yadav <p.yadav@ti.com> Link: https://lore.kernel.org/r/20210315055634.17332-1-tudor.ambarus@microchip.com
1 parent a580293 commit 79321e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/mtd/spi-nor/core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2914,7 +2914,7 @@ static void spi_nor_info_init_params(struct spi_nor *nor)
29142914
struct device_node *np = spi_nor_get_flash_node(nor);
29152915
u8 i, erase_mask;
29162916

2917-
/* Initialize legacy flash parameters and settings. */
2917+
/* Initialize default flash parameters and settings. */
29182918
params->quad_enable = spi_nor_sr2_bit1_quad_enable;
29192919
params->set_4byte_addr_mode = spansion_set_4byte_addr_mode;
29202920
params->setup = spi_nor_default_setup;

0 commit comments

Comments
 (0)