diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2014-04-01 09:21:50 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2014-04-01 09:21:50 +0200 |
commit | f7f826d47e92b87c3aa32072122fa407bdb8b434 (patch) | |
tree | bb0ba9bc0c1e94023ab0ebc16f69b440e20817ef | |
parent | 26ddd931bf983503b07fe0f58c9c6476b1c9d6ae (diff) |
do_fuse: remove fusing of ethaddr
We decided to have the MAC addr only in the configblock
-rw-r--r-- | board/toradex/apalis_imx6/do_fuse.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/board/toradex/apalis_imx6/do_fuse.c b/board/toradex/apalis_imx6/do_fuse.c index 55ac7af18ec..e1b36310de5 100644 --- a/board/toradex/apalis_imx6/do_fuse.c +++ b/board/toradex/apalis_imx6/do_fuse.c @@ -31,23 +31,10 @@ unsigned mfgr_fuse(void) puts("BT_FUSE_SEL already fused, will do nothing\n"); return 1; } - - if (!eth_getenv_enetaddr("ethaddr", mac_id)) - { - puts("ethaddr not set or not valid in environment, will do nothing\n"); - return 1; - } - mac_hi = (mac_id[0] << 8) + mac_id[1]; - mac_lo = (mac_id[2] << 24) + (mac_id[3] << 16) + (mac_id[4] << 8) + mac_id[5]; - /* boot cfg */ fuse_prog(0, 5, 0x00005062); /* BT_FUSE_SEL */ fuse_prog(0, 6, 0x00000010); - /* MAC addr */ - fuse_prog(4, 3, mac_hi); - fuse_prog(4, 2, mac_lo); - return 0; } |