summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/include
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 /arch/arm/mach-at91/include
parenta11c081da3dfbef309cd21ab54b7b2582d0c9f35 (diff)
downloadu-boot-f10b4006a627d6ff4bd45c62c8f7066ed576d15d.tar.gz
u-boot-f10b4006a627d6ff4bd45c62c8f7066ed576d15d.tar.xz
u-boot-f10b4006a627d6ff4bd45c62c8f7066ed576d15d.zip
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 'arch/arm/mach-at91/include')
-rw-r--r--arch/arm/mach-at91/include/mach/at91_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/include/mach/at91_common.h b/arch/arm/mach-at91/include/mach/at91_common.h
index e929b5e1d2..01e00c508a 100644
--- a/arch/arm/mach-at91/include/mach/at91_common.h
+++ b/arch/arm/mach-at91/include/mach/at91_common.h
@@ -40,6 +40,7 @@ void configure_ddrcfg_input_buffers(bool open);
#endif
int at91_set_ethaddr(int offset);
+void at91_spi_nor_set_ethaddr(void);
int at91_video_show_board_info(void);
#endif /* AT91_COMMON_H */