diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-04-18 19:09:49 +0900 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-05-12 15:19:46 -0400 |
commit | c42f56d96d1ec642496ee0fdf741dc13fbbec2e2 (patch) | |
tree | b1aaa48fc2356b36d981d2732b0b25400a5a30e9 /include/configs/dnp5370.h | |
parent | da384a9d7628c77140023e7c095f79ecfe5a4e2d (diff) | |
download | u-boot-c42f56d96d1ec642496ee0fdf741dc13fbbec2e2.tar.gz |
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>
Diffstat (limited to 'include/configs/dnp5370.h')
-rw-r--r-- | include/configs/dnp5370.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/dnp5370.h b/include/configs/dnp5370.h index 4f2c742a5d..3f1f9f3846 100644 --- a/include/configs/dnp5370.h +++ b/include/configs/dnp5370.h @@ -55,6 +55,8 @@ #define CONFIG_CMD_MII #define CONFIG_CMD_PING + +#define CONFIG_LIB_RAND #endif /* |