summaryrefslogtreecommitdiff
path: root/board/technexion/twister/twister.c
diff options
context:
space:
mode:
authorAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-09-05 20:20:04 +0200
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-09-05 20:20:04 +0200
commit057df193b40d31799d41d43bc832a972f658bfe4 (patch)
tree597e81f4f6e9e2e921f8aba89de830e055a3b2f1 /board/technexion/twister/twister.c
parent6342fa00b20fa01e93c8c6886376ea27ee9a7a73 (diff)
parent14dace70580df099deb9cdce8f9cfb16a31e9d1b (diff)
downloadu-boot-imx-057df193b40d31799d41d43bc832a972f658bfe4.zip
u-boot-imx-057df193b40d31799d41d43bc832a972f658bfe4.tar.gz
u-boot-imx-057df193b40d31799d41d43bc832a972f658bfe4.tar.bz2
Merge remote-tracking branch 'u-boot-ti/master' into m
Diffstat (limited to 'board/technexion/twister/twister.c')
-rw-r--r--board/technexion/twister/twister.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/board/technexion/twister/twister.c b/board/technexion/twister/twister.c
index c2b10ac..7429e93 100644
--- a/board/technexion/twister/twister.c
+++ b/board/technexion/twister/twister.c
@@ -100,8 +100,18 @@ int board_init(void)
int misc_init_r(void)
{
+ char *eth_addr;
+
dieid_num_r();
+ eth_addr = getenv("ethaddr");
+ if (eth_addr)
+ return 0;
+
+#ifndef CONFIG_SPL_BUILD
+ TAM3517_READ_MAC_FROM_EEPROM;
+#endif
+
return 0;
}