diff options
author | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-09-05 20:20:04 +0200 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-09-05 20:20:04 +0200 |
commit | 057df193b40d31799d41d43bc832a972f658bfe4 (patch) | |
tree | 597e81f4f6e9e2e921f8aba89de830e055a3b2f1 /board/technexion/twister/twister.c | |
parent | 6342fa00b20fa01e93c8c6886376ea27ee9a7a73 (diff) | |
parent | 14dace70580df099deb9cdce8f9cfb16a31e9d1b (diff) | |
download | u-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.c | 10 |
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; } |