All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Pont <andy.pont@sdcsystems.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] MMC interfaces on AM335x
Date: Tue, 26 Aug 2014 13:57:23 +0100	[thread overview]
Message-ID: <01cf01cfc12d$4c33b560$e49b2020$@pont@sdcsystems.com> (raw)

Hello,

I am working on a port of U-Boot to a custom hardware platform based on the
TI AM3354.  According to the schematics from the hardware design company,
the AM3354 has a 4bit MMC interface (MMC0) which has been connected to a uSD
card connector.
There is a second interface (8bit) connected to GPMC signals which is
connected to a Micron eMMC device labelled as MMC1.

U-Boot and the Linux kernel will be stored in a separate SPI flash device
and the eMMC card will hold the root file system and the uSD card for
removable storage.  Am I correct in thinking that if U-Boot boots with no
uSD card installed the eMMC device will be accessed as device 0 e.g.

U-Boot> fatload mmc 0 ...

but if it boots with a uSD card fitted then the eMMC device will be device
1, e.g.

U-Boot> fatload mmc 1 ...

Is there any way to force U-Boot always to map the eMMC device as device 0?

Thanks,

Andy.

             reply	other threads:[~2014-08-26 12:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-26 12:57 Andy Pont [this message]
     [not found] <53fc8458.0b5ab40a.49d7.fffff9f5SMTPIN_ADDED_BROKEN@mx.google.com>
2014-08-26 15:17 ` [U-Boot] MMC interfaces on AM335x Tom Rini

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='01cf01cfc12d$4c33b560$e49b2020$@pont@sdcsystems.com' \
    --to=andy.pont@sdcsystems.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.