Skip to content

board: atmel: Move code to set ethaddr under common directory

Wenyou Yang u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2board: sama5d2_xplained: Move setting ethaddr to commonarch/arm/mach-at91/include/mach/at91_common.h board/atmel/common/Makefile board/atmel/common/i2c_ethaddr.c +2 more+51 -470 replies
2/2board: sama5d4_xplained: Set 'ethaddr' got from AT24MACboard/atmel/sama5d4_xplained/sama5d4_xplained.c configs/sama5d4_xplained_mmc_defconfig configs/sama5d4_xplained_nandflash_defconfig +2 more+22 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/2] board: atmel: Move code to set ethaddr under common directory

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
Signature · 1 line
2.13.0