[PATCH v6 00/14] mtd: spi-nor: Clean params init

Tudor Ambarus tudor.ambarus at microchip.com
Tue Dec 7 07:07:18 PST 2021


On Tue, 7 Dec 2021 16:02:40 +0200, Tudor Ambarus wrote:
> Clean spi_nor_scan() and the flash parameters initialization code.
> Reworked how the flags are handled for the flash_info entries.
> Tested all the flashes from patch set.
> 
> Changes in v6:
> patch 2/14: drop Fixes tag
> patch 6/14: fix alignment of flash declarations in micron-st,
>             spansion, and sst drivers
> patch 9/14:
> - fix missing variable in if condition in spi_nor_init_params_deprecated()
> - call spi_nor_no_sfdp_init_params() if(nor->info->no_sfdp_flags & SPI_NOR_SKIP_SFDP)
> - remove redundant !(nor->info->no_sfdp_flags & SPI_NOR_SKIP_SFDP) check
> in spi_nor_init_params_deprecated()
> - update description of spi_nor_init_params() with spi_nor_no_sfdp_init_params()
> - add Pratyush's R-b tag
> patches 11, 12, 13, 14: dump jedec_id, manufacturer partname and sfdp (including
> sfdp sha1sum)
> 
> [...]

Applied to spi-nor/next, thanks!

[01/14] mtd: spi-nor: Fix mtd size for s3an flashes
        https://git.kernel.org/mtd/c/f656b419d41a
[02/14] mtd: spi-nor: core: Don't use mtd_info in the NOR's probe sequence of calls
        https://git.kernel.org/mtd/c/eb726c322020
[03/14] mtd: spi-nor: Introduce spi_nor_set_mtd_info()
        https://git.kernel.org/mtd/c/ff67592cbdfc
[04/14] mtd: spi-nor: core: Call spi_nor_post_sfdp_fixups() only when SFDP is defined
        https://git.kernel.org/mtd/c/5273cc6df984
[05/14] mtd: spi-nor: core: Introduce flash_info mfr_flags
        https://git.kernel.org/mtd/c/7683b39d6030
[06/14] mtd: spi-nor: Rework the flash_info flags
        https://git.kernel.org/mtd/c/ec1c0e996035
[07/14] mtd: spi-nor: Introduce spi_nor_init_flags()
        https://git.kernel.org/mtd/c/5429300db98c
[08/14] mtd: spi-nor: Introduce spi_nor_init_fixup_flags()
        https://git.kernel.org/mtd/c/a1ede1cce493
[09/14] mtd: spi-nor: core: Init all flash parameters based on SFDP where possible
        https://git.kernel.org/mtd/c/5dabf5770f7d
[10/14] mtd: spi-nor: core: Move spi_nor_set_addr_width() in spi_nor_setup()
        https://git.kernel.org/mtd/c/b7ed1a3731a9
[11/14] mtd: spi-nor: winbond: w25q256jvm: Init flash based on SFDP
        https://git.kernel.org/mtd/c/1c513c986b0a
[12/14] mtd: spi-nor: spansion: s25fl256s0: Skip SFDP parsing
        https://git.kernel.org/mtd/c/5eefc2dc0319
[13/14] mtd: spi-nor: gigadevice: gd25q256: Init flash based on SFDP
        https://git.kernel.org/mtd/c/047275f7de18
[14/14] mtd: spi-nor: issi: is25lp256: Init flash based on SFDP
        https://git.kernel.org/mtd/c/22bfe94528d7

Best regards,
-- 
Tudor Ambarus <tudor.ambarus at microchip.com>



More information about the linux-arm-kernel mailing list