mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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>
This commit is contained in:
committed by
Tom Rini
parent
da384a9d76
commit
c42f56d96d
@@ -75,6 +75,7 @@
|
||||
#define CONFIG_ROOTPATH "/romfs/brettl2"
|
||||
/* Uncomment next line to use fixed MAC address */
|
||||
/* #define CONFIG_ETHADDR 02:80:ad:20:31:e8 */
|
||||
#define CONFIG_LIB_RAND
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
@@ -89,7 +89,7 @@
|
||||
#define CONFIG_PHY_ADDR 3
|
||||
/* Uncomment next line to use fixed MAC address */
|
||||
/* #define CONFIG_ETHADDR 02:80:ad:20:31:e8 */
|
||||
|
||||
#define CONFIG_LIB_RAND
|
||||
|
||||
/*
|
||||
* Flash Settings
|
||||
|
||||
@@ -87,7 +87,7 @@
|
||||
#define CONFIG_HOSTNAME bf526-ezbrd
|
||||
/* Uncomment next line to use fixed MAC address */
|
||||
/* #define CONFIG_ETHADDR 02:80:ad:20:31:e8 */
|
||||
|
||||
#define CONFIG_LIB_RAND
|
||||
|
||||
/*
|
||||
* Flash Settings
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
#define CONFIG_HOSTNAME bf527-ezkit
|
||||
/* Uncomment next line to use fixed MAC address */
|
||||
/* #define CONFIG_ETHADDR 02:80:ad:20:31:e8 */
|
||||
|
||||
#define CONFIG_LIB_RAND
|
||||
|
||||
/*
|
||||
* Flash Settings
|
||||
|
||||
@@ -89,6 +89,7 @@
|
||||
/* Uncomment next line to use fixed MAC address */
|
||||
/* #define CONFIG_ETHADDR 02:80:ad:20:31:42 */
|
||||
|
||||
#define CONFIG_LIB_RAND
|
||||
|
||||
/*
|
||||
* Flash Settings
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
#define CONFIG_HOSTNAME bf537-pnav
|
||||
/* Uncomment next line to use fixed MAC address */
|
||||
/* #define CONFIG_ETHADDR 02:80:ad:24:21:18 */
|
||||
|
||||
#define CONFIG_LIB_RAND
|
||||
|
||||
/*
|
||||
* Flash Settings
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
#define CONFIG_ROOTPATH "/romfs"
|
||||
/* Uncomment next line to use fixed MAC address */
|
||||
/* #define CONFIG_ETHADDR 02:80:ad:20:31:42 */
|
||||
|
||||
#define CONFIG_LIB_RAND
|
||||
|
||||
/*
|
||||
* Flash Settings
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
#define CONFIG_HOSTNAME bf537-stamp
|
||||
/* Uncomment next line to use fixed MAC address */
|
||||
/* #define CONFIG_ETHADDR 02:80:ad:20:31:e8 */
|
||||
|
||||
#define CONFIG_LIB_RAND
|
||||
|
||||
/*
|
||||
* Flash Settings
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
#define CONFIG_HOSTNAME cm-bf527
|
||||
/* Uncomment next line to use fixed MAC address */
|
||||
/* #define CONFIG_ETHADDR 02:80:ad:20:31:e8 */
|
||||
|
||||
#define CONFIG_LIB_RAND
|
||||
|
||||
/*
|
||||
* Flash Settings
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
#define CONFIG_HOSTNAME cm-bf537e
|
||||
/* Uncomment next line to use fixed MAC address */
|
||||
/* #define CONFIG_ETHADDR 02:80:ad:20:31:e8 */
|
||||
|
||||
#define CONFIG_LIB_RAND
|
||||
|
||||
/*
|
||||
* Flash Settings
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
#define CONFIG_HOSTNAME cm-bf537u
|
||||
/* Uncomment next line to use fixed MAC address */
|
||||
/* #define CONFIG_ETHADDR 02:80:ad:20:31:e8 */
|
||||
|
||||
#define CONFIG_LIB_RAND
|
||||
|
||||
/*
|
||||
* Flash Settings
|
||||
|
||||
@@ -55,6 +55,8 @@
|
||||
|
||||
#define CONFIG_CMD_MII
|
||||
#define CONFIG_CMD_PING
|
||||
|
||||
#define CONFIG_LIB_RAND
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
||||
@@ -77,6 +77,7 @@
|
||||
#define DM9000_IO CONFIG_DM9000_BASE
|
||||
#define DM9000_DATA (CONFIG_DM9000_BASE + 2)
|
||||
|
||||
#define CONFIG_LIB_RAND
|
||||
|
||||
/*
|
||||
* Flash Settings
|
||||
|
||||
@@ -68,7 +68,7 @@
|
||||
#define CONFIG_HOSTNAME tcm-bf518
|
||||
/* Uncomment next line to use fixed MAC address */
|
||||
/* #define CONFIG_ETHADDR 02:80:ad:20:31:e8 */
|
||||
|
||||
#define CONFIG_LIB_RAND
|
||||
|
||||
/*
|
||||
* Flash Settings
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
#define CONFIG_HOSTNAME tcm-bf537
|
||||
/* Uncomment next line to use fixed MAC address */
|
||||
/* #define CONFIG_ETHADDR 02:80:ad:20:31:e8 */
|
||||
|
||||
#define CONFIG_LIB_RAND
|
||||
|
||||
/*
|
||||
* Flash Settings
|
||||
|
||||
Reference in New Issue
Block a user