public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] spl: mmc: use block device number, not hard-coded 0
Date: Sun, 13 Dec 2015 20:21:09 -0500	[thread overview]
Message-ID: <20151214012109.GA3253@bill-the-cat> (raw)
In-Reply-To: <1449343948-14839-1-git-send-email-eric@nelint.com>

On Sat, Dec 05, 2015 at 12:32:28PM -0700, Eric Nelson wrote:
> In order to support boot from multiple devices through board_boot_order,
> it's necessary to use the block number of a device.
> 
> The use of a hard-coded 0 for the device number also creates a need
> to re-order block devices for use in SPL like this:
> 	http://git.denx.de/?p=u-boot.git;a=blob;f=board/freescale/mx6slevk/mx6slevk.c;hb=HEAD#l195

We also do similar'ish things for TI parts (we only register what we're
booting from).  So, before this can be applied don't we also need a
patch for mx6slevk and for TI ones too (but that should be "easier"
since I think it just becomes we always use the normal board_mmc_init) ?
Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151213/42af5c30/attachment.sig>

  reply	other threads:[~2015-12-14  1:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-05 19:32 [U-Boot] [PATCH] spl: mmc: use block device number, not hard-coded 0 Eric Nelson
2015-12-14  1:21 ` Tom Rini [this message]
2015-12-14  2:19   ` [U-Boot] " Eric Nelson
2015-12-15 23:28 ` 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=20151214012109.GA3253@bill-the-cat \
    --to=trini@konsulko.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