On 1 September 2017 at 02:26, Wenyou Yang <wenyou.y...@microchip.com> wrote: > 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.y...@microchip.com> > --- > > Changes in v4: > - Follow up the env function renaming. > > Changes in v3: None > Changes in v2: None > > arch/arm/mach-at91/include/mach/at91_common.h | 2 ++ > board/atmel/common/Makefile | 11 ++++++++ > board/atmel/common/board.c | 12 +++++++++ > board/atmel/common/mac_eeprom.c | 36 > +++++++++++++++++++++++++++ > 4 files changed, 61 insertions(+) > create mode 100644 board/atmel/common/Makefile > create mode 100644 board/atmel/common/board.c > create mode 100644 board/atmel/common/mac_eeprom.c
Reviewed-by: Simon Glass <s...@chromium.org> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot