blackfin: replace bfin_gen_rand_mac() with eth_random_addr()
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Fri, 18 Apr 2014 10:09:49 +0000 (19:09 +0900)
committerTom Rini <trini@ti.com>
Mon, 12 May 2014 19:19:46 +0000 (15:19 -0400)
commitc42f56d96d1ec642496ee0fdf741dc13fbbec2e2
treeb1aaa48fc2356b36d981d2732b0b25400a5a30e9
parentda384a9d7628c77140023e7c095f79ecfe5a4e2d
blackfin: replace bfin_gen_rand_mac() with eth_random_addr()

bfin_gen_rand_mac() uses __DATE__ as the seed for random ethernet
address. This makes the build non-deterministic.

In the first place, it should not be implemented as a Bfin-specific
function. Use eth_random_addr() instead.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Sonic Zhang <sonic.zhang@analog.com>
31 files changed:
arch/blackfin/include/asm/net.h [deleted file]
board/bct-brettl2/bct-brettl2.c
board/bf518f-ezbrd/bf518f-ezbrd.c
board/bf526-ezbrd/bf526-ezbrd.c
board/bf527-ezkit/bf527-ezkit.c
board/bf537-minotaur/bf537-minotaur.c
board/bf537-pnav/bf537-pnav.c
board/bf537-srv1/bf537-srv1.c
board/bf537-stamp/bf537-stamp.c
board/cm-bf527/cm-bf527.c
board/cm-bf537e/cm-bf537e.c
board/cm-bf537u/cm-bf537u.c
board/dnp5370/dnp5370.c
board/ip04/ip04.c
board/tcm-bf518/tcm-bf518.c
board/tcm-bf537/tcm-bf537.c
include/configs/bct-brettl2.h
include/configs/bf518f-ezbrd.h
include/configs/bf526-ezbrd.h
include/configs/bf527-ezkit.h
include/configs/bf537-minotaur.h
include/configs/bf537-pnav.h
include/configs/bf537-srv1.h
include/configs/bf537-stamp.h
include/configs/cm-bf527.h
include/configs/cm-bf537e.h
include/configs/cm-bf537u.h
include/configs/dnp5370.h
include/configs/ip04.h
include/configs/tcm-bf518.h
include/configs/tcm-bf537.h