
9 Sep
2017
9 Sep
'17
6:51 a.m.
On 1 September 2017 at 02:26, Wenyou Yang wenyou.yang@microchip.com wrote:
Add the code to set the ethernet mac address from eeprom by using the common code from the common folder.
Signed-off-by: Wenyou Yang wenyou.yang@microchip.com
Changes in v4:
- Rebase the latest commit(8b3cec7da) on uboot/master.
Changes in v3:
- remove CONFIG_SPL_I2C_SUPPORT=y from the default configuration files.
- rebase on [PATCH] misc: Makefile: Add condition on build i2c_eeprom. https://lists.denx.de/pipermail/u-boot/2017-August/300783.html
Changes in v2:
- Add a new patch to create board/$(VENDOR)/common folder to accommodate the common code and put the code to set the ethernet mac address from eeprom here.
- Use the i2c_eeprom driver to read the mac address, instead of the dm i2c API directly.
arch/arm/dts/at91-sama5d4_xplained.dts | 5 +++++ board/atmel/sama5d4_xplained/sama5d4_xplained.c | 12 ++++++++++++ configs/sama5d4_xplained_mmc_defconfig | 3 +++ configs/sama5d4_xplained_nandflash_defconfig | 3 +++ configs/sama5d4_xplained_spiflash_defconfig | 3 +++ include/configs/sama5d4_xplained.h | 2 ++
Reviewed-by: Simon Glass sjg@chromium.org