From 92ac520821405e196c920d60921bdfa5ab6b878c Mon Sep 17 00:00:00 2001 From: Joe Hershberger Date: Mon, 4 May 2015 14:55:14 -0500 Subject: net: Remove all references to CONFIG_ETHADDR and friends We really don't want boards defining fixed MAC addresses in their config so we just remove the option to set it in a fixed way. If you must have a MAC address that was not provisioned, then use the random MAC address functionality. Signed-off-by: Joe Hershberger Reviewed-by: Simon Glass --- include/configs/bf537-srv1.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/configs/bf537-srv1.h') diff --git a/include/configs/bf537-srv1.h b/include/configs/bf537-srv1.h index d01d88f3b4..ba2ea2a27a 100644 --- a/include/configs/bf537-srv1.h +++ b/include/configs/bf537-srv1.h @@ -86,8 +86,6 @@ #define CONFIG_SYS_AUTOLOAD "no" #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 /* -- cgit v1.2.1 From 76ec988b062ed880ab23d0e0d4e9e6c137b55cc3 Mon Sep 17 00:00:00 2001 From: Joe Hershberger Date: Mon, 4 May 2015 14:55:15 -0500 Subject: net: Remove all calls to net_random_ethaddr() Remove the calls to net_random_ethaddr() that some boards and some drivers are calling. This is now implemented inside of net/eth.c Enable the feature for all boards that previously enabled it. Signed-off-by: Joe Hershberger Acked-By: Michael Walle (for the lsxl board part) Series-changes: 2 -Fixed bfin build errors --- include/configs/bf537-srv1.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include/configs/bf537-srv1.h') diff --git a/include/configs/bf537-srv1.h b/include/configs/bf537-srv1.h index ba2ea2a27a..9a7edf36b6 100644 --- a/include/configs/bf537-srv1.h +++ b/include/configs/bf537-srv1.h @@ -130,7 +130,6 @@ #define CONFIG_SYS_LONGHELP 1 #define CONFIG_CMDLINE_EDITING 1 #define CONFIG_ENV_OVERWRITE 1 -#define CONFIG_MISC_INIT_R #define CONFIG_BAUDRATE 115200 #define CONFIG_UART_CONSOLE 0 -- cgit v1.2.1