All of lore.kernel.org
 help / color / mirror / Atom feed
From: marex@denx.de (Marek Vasut)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: mxs: m28evk: Disable OCOTP OUI loading
Date: Thu, 20 Sep 2012 16:24:21 +0200	[thread overview]
Message-ID: <201209201624.21756.marex@denx.de> (raw)
In-Reply-To: <505B1FC2.2090609@free-electrons.com>

Dear Maxime Ripard,

> Hi Marek,
> 
> Le 20/09/2012 15:10, Marek Vasut a ?crit :
> >>> If barebox can't handle even basic DT fixup, it's broken.
> >> 
> >> It can. It maybe was just not needed up to now, dunno.
> > 
> > Fix it and send patch, so this problem doesn't spread.
> 
> I'm sorry, but you still miss the point.

I do see the point, I'm just trying to understand how to best avoid this issue.

Let's drop the part "remove update_fec_mac_prop()" completely from this 
discussion, that's not happening and we agree on that.

> If someone wants to use another bootloader than U-boot (or a possible
> patched barebox), or none other than the bootlets to boot directly the
> Linux (with an appended device tree), you will still have no way to get
> the NIC from the OCOTP

I wholeheartedly agree!

> and I'm sorry, but it is just wrong.

I've been pondering about this issue for a while actually. Right now, the 
update_fec_mac_prop() unconditionally overwrites the bootloader-passed setting, 
yes or am I wrong?

> The kernel shouldn't rely on a particular feature of a given bootloader.

But the device tree given to the kernel should be complete, no?

Best regards,
Marek Vasut

  reply	other threads:[~2012-09-20 14:24 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-18 22:37 [PATCH] ARM: mxs: m28evk: Disable OCOTP OUI loading Marek Vasut
2012-09-19  3:15 ` Shawn Guo
2012-09-19  9:43   ` Marek Vasut
2012-09-19 10:33   ` Maxime Ripard
2012-09-19 10:50     ` Marek Vasut
2012-09-19 11:02       ` Maxime Ripard
2012-09-19 11:25         ` Marek Vasut
2012-09-19 11:44           ` Maxime Ripard
2012-09-19 11:51             ` Marek Vasut
2012-09-20 10:47           ` Wolfram Sang
2012-09-20 12:20             ` Marek Vasut
2012-09-20 12:56               ` Wolfram Sang
2012-09-20 13:10                 ` Marek Vasut
2012-09-20 13:53                   ` Maxime Ripard
2012-09-20 14:24                     ` Marek Vasut [this message]
2012-09-20 15:10                     ` Wolfgang Denk
2012-09-20 15:24                       ` Gregory CLEMENT
2012-09-20 15:31                         ` Marek Vasut
2012-09-20 17:09                         ` Wolfgang Denk
2012-09-20 16:33                     ` Marek Vasut
2012-09-20 17:01                       ` Maxime Ripard
2012-09-20 17:31                         ` Marek Vasut
2012-09-19 14:17 ` Shawn Guo

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=201209201624.21756.marex@denx.de \
    --to=marex@denx.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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.