From f7f826d47e92b87c3aa32072122fa407bdb8b434 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Tue, 1 Apr 2014 09:21:50 +0200 Subject: do_fuse: remove fusing of ethaddr We decided to have the MAC addr only in the configblock --- board/toradex/apalis_imx6/do_fuse.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/board/toradex/apalis_imx6/do_fuse.c b/board/toradex/apalis_imx6/do_fuse.c index 55ac7af18e..e1b36310de 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; } -- cgit v1.2.3