diff options
author | Wenyou Yang <wenyou.yang@microchip.com> | 2017-09-01 11:26:16 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-09-11 23:23:06 +0300 |
commit | d9b23e26f0b663752e915763d6e2da2fd12fe4b2 (patch) | |
tree | 5cb19eced1797c3b8499f588ac6166cb09c30552 /arch | |
parent | 08318317afb365a35f06df788feeed56825dbe61 (diff) | |
download | u-boot-d9b23e26f0b663752e915763d6e2da2fd12fe4b2.tar.xz |
board: atmel: Create board/$(VENDOR)/common folder
Create board/$(VENDOR)/common folder to accommodate the common code
shared by other atmel boards, now put the code to set ethernet mac
address from eeprom, which uses the i2c eeprom driver.
Signed-off-by: Wenyou Yang <wenyou.yang@microchip.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-at91/include/mach/at91_common.h | 2 |
1 files changed, 2 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 0742ffc56f..a95fe41610 100644 --- a/arch/arm/mach-at91/include/mach/at91_common.h +++ b/arch/arm/mach-at91/include/mach/at91_common.h @@ -36,4 +36,6 @@ void matrix_init(void); void redirect_int_from_saic_to_aic(void); void configure_2nd_sram_as_l2_cache(void); +int at91_set_ethaddr(int offset); + #endif /* AT91_COMMON_H */ |