summaryrefslogtreecommitdiff
path: root/board/atmel/common/Makefile
diff options
context:
space:
mode:
authorTudor Ambarus <tudor.ambarus@microchip.com>2019-11-13 15:42:54 +0000
committerEugen Hristev <eugen.hristev@microchip.com>2019-12-17 09:49:05 +0200
commitf10b4006a627d6ff4bd45c62c8f7066ed576d15d (patch)
treee7d840319379c9b34b131ae383f3819903b00eaa /board/atmel/common/Makefile
parenta11c081da3dfbef309cd21ab54b7b2582d0c9f35 (diff)
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>
Diffstat (limited to 'board/atmel/common/Makefile')
-rw-r--r--board/atmel/common/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/atmel/common/Makefile b/board/atmel/common/Makefile
index 4de0912f22..6bc8cabb8d 100644
--- a/board/atmel/common/Makefile
+++ b/board/atmel/common/Makefile
@@ -5,4 +5,5 @@
obj-y += board.o
obj-$(CONFIG_I2C_EEPROM) += mac_eeprom.o
+obj-$(CONFIG_SPI_FLASH_SFDP_SUPPORT) += mac-spi-nor.o
obj-$(CONFIG_DM_VIDEO) += video_display.o