[U-Boot] [PATCHv2 07/21] net: cosmetic: A MAC address is not limited to SROM

Olliver Schinagl oliver at schinagl.nl
Mon Apr 10 15:33:42 UTC 2017


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 <oliver at schinagl.nl>
---
 net/eth_legacy.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/eth_legacy.c b/net/eth_legacy.c
index ca63e43c1d..8c3a1750ea 100644
--- a/net/eth_legacy.c
+++ b/net/eth_legacy.c
@@ -146,7 +146,7 @@ int eth_write_hwaddr(struct eth_device *dev, const char *base_name,
 		    memcmp(dev->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",
 			       dev->enetaddr);
 			printf("Address in environment is  %pM\n",
 			       env_enetaddr);
-- 
2.11.0



More information about the U-Boot mailing list