mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-22 15:11:33 +00:00
ATSTK1002: Remove default ethernet addresses
Wolfgang is right: It's not a good idea to set up default initial ethernet addresses for a board, even though they belong to the local range. This will change the failure mode from "IT manager screams at you for using duplicate ethernet addresses" to a nice error message explaining that the ethernet address hasn't been set properly. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
This commit is contained in:
parent
e5c794e491
commit
8b6684a698
1 changed files with 3 additions and 8 deletions
|
@ -114,15 +114,10 @@
|
||||||
#define CONFIG_AUTOBOOT_STOP_STR " "
|
#define CONFIG_AUTOBOOT_STOP_STR " "
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* These are "locally administered ethernet addresses" generated by
|
* After booting the board for the first time, new ethernet addresses
|
||||||
* ./tools/gen_eth_addr
|
* should be generated and assigned to the environment variables
|
||||||
*
|
* "ethaddr" and "eth1addr". This is normally done during production.
|
||||||
* After booting the board for the first time, new addresses should be
|
|
||||||
* generated and assigned to the environment variables "ethaddr" and
|
|
||||||
* "eth1addr".
|
|
||||||
*/
|
*/
|
||||||
#define CONFIG_ETHADDR 6a:87:71:14:cd:cb
|
|
||||||
#define CONFIG_ETH1ADDR ca:f8:15:e6:3e:e6
|
|
||||||
#define CONFIG_OVERWRITE_ETHADDR_ONCE 1
|
#define CONFIG_OVERWRITE_ETHADDR_ONCE 1
|
||||||
#define CONFIG_NET_MULTI 1
|
#define CONFIG_NET_MULTI 1
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue