[U-Boot] u-boot compilation broken for OMAP4 if no USB_HOST_ETHER

Gregoire Gentil gregoire at gentil.com
Wed Oct 1 21:16:02 CEST 2014


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



More information about the U-Boot mailing list