From patchwork Fri Nov 25 15:30:23 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olliver Schinagl X-Patchwork-Id: 699283 X-Patchwork-Delegate: joe.hershberger@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 3tQKnq3zQdz9t3N for ; Sat, 26 Nov 2016 02:32:31 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=schinagl.nl header.i=@schinagl.nl header.b="Ized7MtO"; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 491A6B387E; Fri, 25 Nov 2016 16:31:33 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OTAZ6atngaN5; Fri, 25 Nov 2016 16:31:33 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E8AB2B388C; Fri, 25 Nov 2016 16:31:12 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 16566A7558 for ; Fri, 25 Nov 2016 16:30:44 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BfHZFw_n904L for ; Fri, 25 Nov 2016 16:30:44 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from 7of9.schinagl.nl (7of9.schinagl.nl [88.159.158.68]) by theia.denx.de (Postfix) with ESMTPS id C31044B98B for ; Fri, 25 Nov 2016 16:30:43 +0100 (CET) Received: from localhost.localdomain (static-98-101-100-159.thenetworkfactory.nl [159.100.101.98]) by 7of9.schinagl.nl (Postfix) with ESMTPA id 9609753ACB; Fri, 25 Nov 2016 16:30:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=schinagl.nl; s=7of9; t=1480087839; bh=MJCcere0lViMT7OZh326xIy6sfpRWOr56wglJxnh+iM=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=Ized7MtO108rdFQIqJCq06hGCTk8upzey4lLdHXit8GSABqkn5QpvEyApoVmWRO/8 rjfo9f/jsD6o2ZAtJ6Is5emxbVZFV9WQ3QLlxNBEy44Xf7NZzCGAjHL7JHKGj0ny/I lZeUQCGbJXRHHnYIaS4Sa1eheT1BLqUT0E7barZ4= From: Olliver Schinagl To: Joe Hershberger , Simon Glass , Hans de Goede Date: Fri, 25 Nov 2016 16:30:23 +0100 Message-Id: <20161125153032.14617-6-oliver@schinagl.nl> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20161125153032.14617-1-oliver@schinagl.nl> References: <[PATCHv3] Retrieve MAC address from EEPROM> <20161125153032.14617-1-oliver@schinagl.nl> Cc: Fabio Estevam , Stefan Roese , Stephen Warren , Lev Iserovich , dev@linux-sunxi.org, u-boot@lists.denx.de, Alexey Brodkin , Michal Simek , Maxime Ripard , Jeffy Chen , Olliver Schinagl Subject: [U-Boot] [PATCH 05/14] net: core: cosmetic: A MAC address is not limited to SROM X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Currently, we print that the MAC from the SROM does not match. It can be many forms of ROM, so lets drop the S. Signed-off-by: Olliver Schinagl Acked-by: Joe Hershberger --- net/eth-uclass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/eth-uclass.c b/net/eth-uclass.c index a9fc6bb..9703bea 100644 --- a/net/eth-uclass.c +++ b/net/eth-uclass.c @@ -500,7 +500,7 @@ static int eth_post_probe(struct udevice *dev) memcmp(pdata->enetaddr, env_enetaddr, ARP_HLEN)) { printf("\nWarning: %s MAC addresses don't match:\n", dev->name); - printf("Address in SROM is %pM\n", + printf("Address in ROM is %pM\n", pdata->enetaddr); printf("Address in environment is %pM\n", env_enetaddr);