Skip to content

mtd: spi: spi-nor-core: Add SST vendor specific SFDP parser

Tudor.Ambarus at microchip.com u-boot 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 0 repliesNew
  2. v14 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- s/SFDP_MICROCHIP_ID/SFDP_SST_ID
- don't drop all information we extracted from BFPT if optional table parsers fail. In case of failing, each optional SFDP parser is responsible to roll back to the previously known spi_nor data.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4mtd: spi: spi-nor-core: Add SST vendor specific SFDP parserdrivers/mtd/spi/spi-nor-core.c include/linux/mtd/spi-nor.h+46 -21 reply
2/4board: atmel: sama5d27_wlsom1_ek: Set ethaddr from spi-nor flasharch/arm/mach-at91/include/mach/at91_common.h board/atmel/common/Makefile board/atmel/common/mac-spi-nor.c +1 more+132 -00 replies
3/4configs: sama5d27_wlsom1_ek: qspiflash: Enable SPI NOR ethaddr retrievalconfigs/sama5d27_wlsom1_ek_qspiflash_defconfig+1 -00 replies
4/4configs: sama5d27_wlsom1_ek: mmc: Enable SPI NOR ethaddr retrievalconfigs/sama5d27_wlsom1_ek_mmc_defconfig+5 -00 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchVignesh Raghavendra
1/4R-b
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [U-Boot] [PATCH v2 0/4] mtd: spi: spi-nor-core: Add SST vendor specific SFDP parser

From: Tudor Ambarus <[email protected]>

Parse manufacturer specific SFDP table. The SST SFDP table contains pre-programmed globally unique MAC addresses. Retrieve the MAC address from the SPI NOR flash and set it in ethaddr in env.

v2:
- s/SFDP_MICROCHIP_ID/SFDP_SST_ID
- don't drop all information we extracted from BFPT if optional table parsers fail. In case of failing, each optional SFDP parser is responsible to roll back to the previously known spi_nor data.

Tudor Ambarus (4):
mtd: spi: spi-nor-core: Add SST vendor specific SFDP parser
board: atmel: sama5d27_wlsom1_ek: Set ethaddr from spi-nor flash
configs: sama5d27_wlsom1_ek: qspiflash: Enable SPI NOR ethaddr
retrieval
configs: sama5d27_wlsom1_ek: mmc: Enable SPI NOR ethaddr retrieval

 arch/arm/mach-at91/include/mach/at91_common.h      |   1 +
 board/atmel/common/Makefile                        |   1 +
 board/atmel/common/mac-spi-nor.c                   | 127 +++++++++++++++++++++
 .../atmel/sama5d27_wlsom1_ek/sama5d27_wlsom1_ek.c  |   3 +
 configs/sama5d27_wlsom1_ek_mmc_defconfig           |   5 +
 configs/sama5d27_wlsom1_ek_qspiflash_defconfig     |   1 +
 drivers/mtd/spi/spi-nor-core.c                     |  46 +++++++-
 include/linux/mtd/spi-nor.h                        |   2 +
 8 files changed, 184 insertions(+), 2 deletions(-)
 create mode 100644 board/atmel/common/mac-spi-nor.c
Signature · 1 line
2.9.5