All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gregoire Gentil <gregoire@gentil.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] u-boot compilation broken for OMAP4 if no USB_HOST_ETHER
Date: Wed, 01 Oct 2014 12:16:02 -0700	[thread overview]
Message-ID: <542C52F2.9000702@gentil.com> (raw)
In-Reply-To: <20141001173456.GZ25506@bill-the-cat>

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

      parent reply	other threads:[~2014-10-01 19:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-30 17:26 [U-Boot] Boot reason in SPL for OMAP4 Gregoire Gentil
2014-10-01 17:34 ` Tom Rini
2014-10-01 19:13   ` Gregoire Gentil
2014-10-02 13:53     ` Tom Rini
2014-10-01 19:16   ` Gregoire Gentil [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=542C52F2.9000702@gentil.com \
    --to=gregoire@gentil.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.