From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gregoire Gentil Date: Wed, 01 Oct 2014 12:16:02 -0700 Subject: [U-Boot] u-boot compilation broken for OMAP4 if no USB_HOST_ETHER In-Reply-To: <20141001173456.GZ25506@bill-the-cat> References: <542AE7B0.6000300@gentil.com> <20141001173456.GZ25506@bill-the-cat> Message-ID: <542C52F2.9000702@gentil.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello, If you try to compile u-boot head for OMAP4 without CONFIG_USB_HOST_ETHER, it's failing. --- a/arch/arm/cpu/armv7/omap-common/utils.c +++ b/arch/arm/cpu/armv7/omap-common/utils.c @@ -57,6 +57,8 @@ void __weak usb_fake_mac_from_die_id(u32 *id) device_mac[4] = id[0] & 0xff; device_mac[5] = (id[0] >> 8) & 0xff; +#ifdef CONFIG_USB_HOST_ETHER eth_setenv_enetaddr("usbethaddr", device_mac); +#endif } } Gr?goire