]> git.sur5r.net Git - u-boot/commit
imx6: isiotmx6ul: Update SPL board boot order for eMMC
authorJagan Teki <jagan@amarulasolutions.com>
Fri, 24 Feb 2017 10:15:16 +0000 (15:45 +0530)
committerStefano Babic <sbabic@denx.de>
Fri, 17 Mar 2017 08:27:08 +0000 (09:27 +0100)
commitcde5aa3761caec029eb1ff945c7a577e537e8544
tree466cbcb4ff705fc31be35ced42e9a9f1eed8b891
parent7b54f5a8bf13f64a019b0dd108c80c44023c98c8
imx6: isiotmx6ul: Update SPL board boot order for eMMC

SPL mmc device index is get based on the boot device, like
- BOOT_DEVICE_MMC1 for mmc device 0
- BOOT_DEVICE_MMC2 for mmc device 1

Currently BOOT_DEVICE_MMC1 is setting both SD/eSD and MMC/eMMC
boot devices in i.MX, So u-boot is loading from mmc device 0 even
"if the board booting from SD/eSD or MMC/eMMC"

So, this patch set BOOT_DEVICE_MMC2 for MMC/eMMC so for MMC/eMMC
the u-boot is loading from mmc device 1 and the board file need to
take care if the board have different mmc device order intialization.

Cc: Matteo Lisi <matteo.lisi@engicam.com>
Cc: Michael Trimarchi <michael@amarulasolutions.com>
Reviewed by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
board/engicam/isiotmx6ul/isiotmx6ul.c