summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/utils.c')
-rw-r--r--arch/arm/mach-omap2/utils.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/utils.c b/arch/arm/mach-omap2/utils.c
index 2e8778043b7..d11670c0eee 100644
--- a/arch/arm/mach-omap2/utils.c
+++ b/arch/arm/mach-omap2/utils.c
@@ -215,6 +215,9 @@ void omap_die_id_usbethaddr(void)
mac[5] = (die_id[0] >> 8) & 0xff;
eth_env_set_enetaddr("usbethaddr", mac);
+
+ if (!env_get("ethaddr"))
+ eth_env_set_enetaddr("ethaddr", mac);
}
}