From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anand Moon Date: Mon, 1 Apr 2019 11:52:32 +0000 Subject: [U-Boot] [RFC 6/6] arm: exynos: add usbnet_devaddr setting to env In-Reply-To: <20190401115232.453-1-linux.amoon@gmail.com> References: <20190401115232.453-1-linux.amoon@gmail.com> Message-ID: <20190401115232.453-7-linux.amoon@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Add usbnet_devaddr mac address to extra env setting to avoid failure of ethernet driver while usb start. Odroid # usb start starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 3 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found scanning usb for ethernet devices... Error: sms0 address not set. Warning: failed to set MAC address 1 Ethernet Device(s) found Signed-off-by: Anand Moon --- include/configs/odroid.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/odroid.h b/include/configs/odroid.h index 64819cf81c..b0402e8d49 100644 --- a/include/configs/odroid.h +++ b/include/configs/odroid.h @@ -33,6 +33,7 @@ #define CONFIG_SYS_MEMTEST_END (CONFIG_SYS_SDRAM_BASE + 0x5E00000) #define CONFIG_SYS_LOAD_ADDR (CONFIG_SYS_SDRAM_BASE + 0x3E00000) #define CONFIG_SYS_ODROID_USB +#define CONFIG_USBNET_DEV_ADDR "02:DE:AD:BE:EF:FF" #include @@ -173,6 +174,7 @@ "kernel_addr_r=0x41000000\0" \ "scriptaddr=0x50000000\0" \ "pxefile_addr_r=0x51000000\0" \ + "usbethaddr=" __stringify(CONFIG_USBNET_DEV_ADDR) "\0" \ BOOTENV /* GPT */ -- 2.21.0