From: =?UTF-8?q?Andreas=20Bie=C3=9Fmann?= Date: Mon, 17 Nov 2014 13:14:25 +0100 Subject: [U-Boot] =?utf-8?q?net=3A_macb=3A_write_mac_address_when_initiali?= =?utf-8?q?zation?= In-Reply-To: <1413960356-9582-1-git-send-email-voice.shen@atmel.com> from Bo Shen on Wed, 22 Oct 2014 14:45:56 +0800 References: <1413960356-9582-1-git-send-email-voice.shen@atmel.com> Message-ID: <1416226465-23713-1-git-send-email-andreas.devel@googlemail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Bo Shen, Bo Shen writes: >When boot up without mac address setting, it will give the warning >message like: "Warning: failed to set MAC address", however when >execute network related command, it still execute them without any >warning information. > >With this patch, it will exit directly with following information: >"gmac0: mac address is not valid" > >It also solve the problem after bootup then set mac address and the >mac address won't set to net device issue. > >Signed-off-by: Bo Shen >Tested-by: Boris Brezillon >--- > > drivers/net/macb.c | 9 +++++++++ > 1 file changed, 9 insertions(+) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bie?mann