public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Dirk Behme <dirk.behme@googlemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] Adding support for DevKit8000
Date: Mon, 17 Aug 2009 17:21:21 +0200	[thread overview]
Message-ID: <4A897571.9090404@googlemail.com> (raw)
In-Reply-To: <1250500736-20034-1-git-send-email-frederik@kriewitz.eu>

Frederik Kriewitz wrote:
> This patch adds support for the DevKit8000 board.

Wolfgang commented already most of the topics.

So, only one comment left for me:

...
> +++ b/board/omap3/devkit8000/devkit8000.c
...
> +/*
> + * Routine: misc_init_r
> + * Description: Configure board specific parts
> + */
> +int misc_init_r(void)
> +{
...
> +	/* Use OMAP DIE_ID as MAC address */
> +	if (!eth_getenv_enetaddr("ethaddr", enetaddr)) {
> +		enetaddr[0] = 0x02; /* locally administered */
> +		enetaddr[1] = readl(&id_base->die_id_1) & 0xff;
> +		*(u32*)&enetaddr[2] = readl(&id_base->die_id_0);
> +		eth_setenv_enetaddr("ethaddr", enetaddr);
> +	}

With the OMAP DIE_ID thread we know what you are doing here. But do we 
want to have this really in mainline? It looks to me like a workaround 
for broken hardware (that is, having no proper MAC address 
configured)? Or do I miss anything?

Best regards

Dirk

  parent reply	other threads:[~2009-08-17 15:21 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-17  9:18 [U-Boot] [PATCH] Adding support for DevKit8000 Frederik Kriewitz
2009-08-17  9:50 ` Wolfgang Denk
2009-08-17 13:45   ` Frederik Kriewitz
2009-08-17 15:16     ` Dirk Behme
2009-08-17 18:23       ` Dirk Behme
2009-08-17 15:21 ` Dirk Behme [this message]
2009-08-17 17:03   ` Frederik Kriewitz
2009-08-17 17:38     ` Dirk Behme
2009-08-17 20:42   ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2009-08-17 23:20 Frederik Kriewitz
2009-08-19 22:19 ` Jean-Christophe PLAGNIOL-VILLARD
2009-08-20  3:59   ` Frederik Kriewitz
2009-08-20  5:18     ` Jean-Christophe PLAGNIOL-VILLARD
2009-08-20  8:55       ` Frederik Kriewitz
2009-08-20 13:22         ` Jean-Christophe PLAGNIOL-VILLARD
2009-08-21 22:15           ` Wolfgang Denk

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=4A897571.9090404@googlemail.com \
    --to=dirk.behme@googlemail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox