From 739968f2adabe4b0e9eca2ad6c59dfeb89fd1e8b Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Fri, 17 Jul 2015 20:26:06 +0900 Subject: zynq: enable CONFIG_NET_RANDOM_ETHADDR We have to set a MAC address to use network. Otherwise, the tftpboot command fails with the following message: Gem.e000b000 Waiting for PHY auto negotiation to complete........ done *** ERROR: `ethaddr' not set Since commit 92ac52082140 ("net: Remove all references to CONFIG_ETHADDR and friends"), we can not use CONFIG_ETHADDR. The easiest way to set a MAC address is to enable CONFIG_NET_RANDOM_ETHADDR. Signed-off-by: Masahiro Yamada Acked-by: Joe Hershberger Signed-off-by: Michal Simek --- configs/zynq_zc770_xm011_defconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'configs/zynq_zc770_xm011_defconfig') diff --git a/configs/zynq_zc770_xm011_defconfig b/configs/zynq_zc770_xm011_defconfig index cae8fe0504..123e461fbe 100644 --- a/configs/zynq_zc770_xm011_defconfig +++ b/configs/zynq_zc770_xm011_defconfig @@ -12,3 +12,4 @@ CONFIG_SYS_EXTRA_OPTIONS="ZC770_XM011" # CONFIG_CMD_FLASH is not set # CONFIG_CMD_SETEXPR is not set CONFIG_OF_EMBED=y +CONFIG_NET_RANDOM_ETHADDR=y -- cgit v1.2.3