All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Grandegger <wg@grandegger.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Ideas on U-Boot configuration with FDT
Date: Fri, 18 May 2007 17:20:48 +0200	[thread overview]
Message-ID: <464DC450.8040205@grandegger.com> (raw)
In-Reply-To: <464DBFC8.4050708@freescale.com>

Timur Tabi wrote:
> Wolfgang Grandegger wrote:
> 
>> RAM is _not_ available at that stage.
> 
> Do we really need RAM to parse the device tree and configure U-Boot?  I 
> think not.

But you need it anyhow in RAM for booting Linux. Why not doing it early, 
e.g. after relocation when memory is available.

> The device tree has a memory section:
> 
>     memory {
>         device_type = "memory";
>         reg = <00000000 10000000>;    // 256MB
>     };
> 
> So the question is: do we want U-Boot to use this node to determine how 
> much RAM there is, or do we want U-Boot to determine how much RAM there 
> is and update this node?

Both makes sense, I think. How we finally use FDT it U-Boot is not yet 
clear, but exhaustive usage like in the kernel seems not attractive to 
me. Currently I just need it do enable some devices dynamically, like 
PCMCIA, RTC and CAN and configure the LCD controller for various panels.

>> Depends, you might be right for FLASH on a 32-bit bus. On slow ROM 
>> devices and slow processors, it matters.
> 
> I still don't see how it's important.  If the device tree is on slow 
> memory, so what?  You have to read it sooner or later.  If your board 
> can't handle this feature, then don't enable it, and configure U-Boot 
> the "old fashioned way".

Don't like the "don't care" argument. If you can make your code faster, 
just do it.

Wolfgang.

  reply	other threads:[~2007-05-18 15:20 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-18  9:09 [U-Boot-Users] Ideas on U-Boot configuration with FDT Wolfgang Grandegger
2007-05-18 14:27 ` Timur Tabi
2007-05-18 14:44   ` Wolfgang Grandegger
2007-05-18 14:48     ` Timur Tabi
2007-05-18 15:01       ` Wolfgang Grandegger
2007-05-18 15:01         ` Timur Tabi
2007-05-18 15:20           ` Wolfgang Grandegger [this message]
2007-05-18 15:19             ` Timur Tabi
2007-05-18 19:04           ` Wolfgang Denk
2007-05-18 15:29   ` Jerry Van Baren
2007-05-18 15:35     ` Timur Tabi
2007-05-18 16:05       ` Jerry Van Baren
2007-05-18 16:12         ` Timur Tabi
2007-05-18 16:30           ` Jerry Van Baren
2007-05-20  8:36             ` Wolfgang Grandegger
2007-05-20  9:33               ` Wolfgang Denk
2007-05-20 12:39                 ` Jerry Van Baren
2007-05-20 13:05                 ` Wolfgang Grandegger
2007-05-21 15:19                   ` Timur Tabi
2007-05-21 16:58                     ` Wolfgang Grandegger
2007-05-21 17:02                       ` Timur Tabi
2007-05-21 17:18                         ` Jerry Van Baren
2007-05-21 18:31                           ` Timur Tabi
2007-05-21 19:38                             ` Wolfgang Denk
2007-05-21 17:26                         ` Wolfgang Grandegger
2007-05-21 19:34                         ` Wolfgang Denk
2007-05-21 19:39                           ` Timur Tabi
2007-05-21 15:23               ` Timur Tabi
2007-05-21 17:08                 ` Wolfgang Grandegger
2007-05-18 19:16         ` Wolfgang Denk
2007-05-18 19:26           ` Jon Loeliger
2007-05-18 19:11       ` 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=464DC450.8040205@grandegger.com \
    --to=wg@grandegger.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.