[U-Boot] spl: mmc: use block device number, not hard-coded 0

Tom Rini trini at konsulko.com
Wed Dec 16 00:28:38 CET 2015


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
> 
> Signed-off-by: Eric Nelson <eric at nelint.com>

Applied to u-boot/master, 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/20151215/ac76ce1e/attachment.sig>


More information about the U-Boot mailing list