From: Tudor Ambarus <[email protected]>

Parse manufacturer specific SFDP table. The Microchip 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.

This can go through Eugen's tree if no obiections. Otherwise Eugen
should take care to apply the Microchip specific code after
Jagan's/Vignesh's tree gets merged.

Tudor Ambarus (4):
  mtd: spi: spi-nor-core: Add Microchip 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           |   7 +-
 configs/sama5d27_wlsom1_ek_qspiflash_defconfig     |   3 +-
 drivers/mtd/spi/spi-nor-core.c                     |  35 ++++++
 include/linux/mtd/spi-nor.h                        |   2 +
 8 files changed, 177 insertions(+), 2 deletions(-)
 create mode 100644 board/atmel/common/mac-spi-nor.c

-- 
2.9.5

_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot

Reply via email to