[U-Boot] [PATCH 05/14] net: core: cosmetic: A MAC address is not limited to SROM

Olliver Schinagl oliver at schinagl.nl
Fri Nov 25 16:30:23 CET 2016


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-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);
-- 
2.10.2



More information about the U-Boot mailing list