]> git.ipfire.org Git - people/ms/u-boot.git/commit
board: icore-rqs: Fix mmc get env device
authorJagan Teki <jagannadh.teki@gmail.com>
Mon, 20 Nov 2017 18:32:15 +0000 (00:02 +0530)
committerStefano Babic <sbabic@denx.de>
Mon, 27 Nov 2017 09:36:40 +0000 (10:36 +0100)
commit539b1e228f0dda602e4b64ccbdf0d338988dec6c
tree1f71ff3ccae54dd157c35b2902fcc1f906c5c85f
parent152038ea1886782fff6f1c7ca5f3aaa2da9a66fb
board: icore-rqs: Fix mmc get env device

As per USDHC boot eFUSE descriptions:
USDHC3 => devno 2
USDHC4 => devno 3

Linux will detect mmc0, mmc1, mmc2 based on the status
"okay" on usdhc so imx6qdl-icore-rqs.dtsi has enabled
usdhc1, usdhc3 and usdhc4.But U-Boot can detect based
on the aliases so add mmc1, mmc2 for usdhc3 and usdhc4
respectively and return the board_mmc_get_env_dev
by subtracting -1

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
arch/arm/dts/imx6qdl-icore-rqs.dtsi
board/engicam/icorem6_rqs/icorem6_rqs.c