From 9735e7c4b96df8ce6708f880909b73d20f9a51aa Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Wed, 11 Mar 2015 17:36:26 +0100 Subject: [PATCH] configs: move ETHADDR into common.h --- u-boot/include/configs/carambola2.h | 1 - u-boot/include/configs/common.h | 3 +++ u-boot/include/configs/skylab.h | 1 - 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/u-boot/include/configs/carambola2.h b/u-boot/include/configs/carambola2.h index 57cc609e51..31b6bc01bb 100644 --- a/u-boot/include/configs/carambola2.h +++ b/u-boot/include/configs/carambola2.h @@ -46,7 +46,6 @@ #define CONFIG_IPADDR 192.168.2.100 #define CONFIG_SERVERIP 192.168.2.254 -#define CONFIG_ETHADDR 0x00:0xaa:0xbb:0xcc:0xdd:0xee #define CFG_FAULT_ECHO_LINK_DOWN 1 #define RECOVERY_FILENAME_STRING "openwrt-ar71xx-generic-sysmo-sob-ap1-squashfs-sysupgrade.bin" diff --git a/u-boot/include/configs/common.h b/u-boot/include/configs/common.h index f6595512b9..089c92389c 100644 --- a/u-boot/include/configs/common.h +++ b/u-boot/include/configs/common.h @@ -54,6 +54,9 @@ #define CONFIG_NET_MULTI +/* dummy addr - it will be read from art partition. See BOARDCAL */ +#define CONFIG_ETHADDR 0x00:0xaa:0xbb:0xcc:0xdd:0xee + #define CONFIG_MEMSIZE_IN_BYTES #ifdef COMPRESSED_UBOOT diff --git a/u-boot/include/configs/skylab.h b/u-boot/include/configs/skylab.h index 5ff3d8dc8b..49dec5d508 100644 --- a/u-boot/include/configs/skylab.h +++ b/u-boot/include/configs/skylab.h @@ -45,7 +45,6 @@ #define CONFIG_IPADDR 192.168.2.100 #define CONFIG_SERVERIP 192.168.2.254 -#define CONFIG_ETHADDR 0x00:0xaa:0xbb:0xcc:0xdd:0xee #define CFG_FAULT_ECHO_LINK_DOWN 1 #define RECOVERY_FILENAME_STRING "openwrt-ar71xx-generic-sysmo-sob-ap2-squashfs-sysupgrade.bin"