All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] ATA driver in U-Boot
Date: Fri, 08 Oct 2004 22:31:46 +0200	[thread overview]
Message-ID: <20041008203151.34CFDC1430@atlas.denx.de> (raw)
In-Reply-To: Your message of "Fri, 08 Oct 2004 12:17:55 -0800." <41668573.16343.3D098D@localhost>

In message <41668573.16343.3D098D@localhost> you wrote:
> 
> Is there any reason that U-Boot needs ATA support compiled in?  I ask because 

No, there is not. Which is the reason that this is an option which is
configurable. And actually most of the boards don't enable it.

> I'm trying to speed up booting on a small system with a hard drive.  U-Boot 
> waits for the devices to become available, scanning the ATA bus, before 
> proceeding to load the Linux kernel.  It appears to me that the kernel then 
> does the same thing again, whereas if it went ahead and went straight to 
> loading the kernel, it would give the drive another second or two to spin up 
> and be ready for a bus scan.

If you enable ATA support in U-Boot you do this because you intend to
use the disk in U-Boot. If this will never be the  case  then  simply
don't enable it. You get what you ask for.

> Given that the kernel is being loaded out of flash (with all drivers compiled 
> in), and that the only reference to the IDE drive that U-Boot really knows 
> about is a commandline parameter passed to the kernel, would it cause any 
> conspicuous problems to remove ATA support from U-Boot, or does the kernel 
> depend on hardware information that U-Boot is providing (I notice there's a 
> "U-Boot" section in the kernel config)?

The kernel does not know which boot loader was running. Just  deiable
ATA support (or anything else) in U-Boot if you don't need it.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
1 1 was a race-horse, 2 2 was 1 2. When 1 1 1 1 race, 2 2 1 1 2.

      parent reply	other threads:[~2004-10-08 20:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-08 20:17 [U-Boot-Users] ATA driver in U-Boot Victor Wren
2004-10-08 19:21 ` John W. Linville
2004-10-08 20:31 ` Wolfgang Denk [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=20041008203151.34CFDC1430@atlas.denx.de \
    --to=wd@denx.de \
    --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.