]> git.dujemihanovic.xyz Git - u-boot.git/commit
board: atmel: sama5d27_wlsom1_ek: Set ethaddr from spi-nor flash
authorTudor Ambarus <tudor.ambarus@microchip.com>
Wed, 13 Nov 2019 15:42:54 +0000 (15:42 +0000)
committerEugen Hristev <eugen.hristev@microchip.com>
Tue, 17 Dec 2019 07:49:05 +0000 (09:49 +0200)
commitf10b4006a627d6ff4bd45c62c8f7066ed576d15d
treee7d840319379c9b34b131ae383f3819903b00eaa
parenta11c081da3dfbef309cd21ab54b7b2582d0c9f35
board: atmel: sama5d27_wlsom1_ek: Set ethaddr from spi-nor flash

The SST26VF064BEUI spi-nor flash is programmed at the factory with a
globally unique address stored in the SFDP vendor parameter table and
it is permanently writeprotected. Retrieve the EUI-48 address and set it
as ethaddr env.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
arch/arm/mach-at91/include/mach/at91_common.h
board/atmel/common/Makefile
board/atmel/common/mac-spi-nor.c [new file with mode: 0644]
board/atmel/sama5d27_wlsom1_ek/sama5d27_wlsom1_ek.c