Parcourir la source

Blackfin: bf537-{minotaur,srv1}: do not hardcode CONFIG_ETHADDR

MAC addresses should not be hardcoded in boards to avoid random link level
conflicts.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger il y a 16 ans
Parent
commit
8d1fea2c40
2 fichiers modifiés avec 4 ajouts et 6 suppressions
  1. 2 3
      include/configs/bf537-minotaur.h
  2. 2 3
      include/configs/bf537-srv1.h

+ 2 - 3
include/configs/bf537-minotaur.h

@@ -87,9 +87,8 @@
 
 #define CONFIG_SYS_AUTOLOAD	"no"
 #define CONFIG_ROOTPATH		/romfs
-/* Use a fixed MAC address for booting up. Firstboot linux
- * must fetch a valid MAC from the production server. */
-#define CONFIG_ETHADDR	02:80:ad:20:31:42
+/* Uncomment next line to use fixed MAC address */
+/* #define CONFIG_ETHADDR	02:80:ad:20:31:42 */
 
 
 /*

+ 2 - 3
include/configs/bf537-srv1.h

@@ -87,9 +87,8 @@
 
 #define CONFIG_SYS_AUTOLOAD	"no"
 #define CONFIG_ROOTPATH		/romfs
-/* Use a fixed MAC address for booting up. Firstboot linux
- * must fetch a valid MAC from the production server. */
-#define CONFIG_ETHADDR	02:80:ad:20:31:42
+/* Uncomment next line to use fixed MAC address */
+/* #define CONFIG_ETHADDR	02:80:ad:20:31:42 */
 
 
 /*