Create board/$(VENDOR)/common directory to accommodate the common
code for the boards from atmel. Now put the code to set the ethernet
mac address here.


Wenyou Yang (2):
  board: sama5d2_xplained: Move setting ethaddr to common
  board: sama5d4_xplained: Set 'ethaddr' got from AT24MAC

 arch/arm/mach-at91/include/mach/at91_common.h   |  2 +
 board/atmel/common/Makefile                     |  8 ++++
 board/atmel/common/i2c_ethaddr.c                | 35 ++++++++++++++++++
 board/atmel/sama5d2_xplained/sama5d2_xplained.c | 49 +++----------------------
 board/atmel/sama5d4_xplained/sama5d4_xplained.c | 14 +++++++
 configs/sama5d4_xplained_mmc_defconfig          |  2 +
 configs/sama5d4_xplained_nandflash_defconfig    |  2 +
 configs/sama5d4_xplained_spiflash_defconfig     |  2 +
 include/configs/sama5d2_xplained.h              |  4 --
 include/configs/sama5d4_xplained.h              |  2 +
 10 files changed, 73 insertions(+), 47 deletions(-)
 create mode 100644 board/atmel/common/Makefile
 create mode 100644 board/atmel/common/i2c_ethaddr.c

-- 
2.13.0

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to