imx: mmc_env: update runtime SD/MMC boot env device
authorPeng Fan <peng.fan@nxp.com>
Tue, 27 Aug 2019 06:25:54 +0000 (06:25 +0000)
committerStefano Babic <sbabic@denx.de>
Tue, 8 Oct 2019 14:36:36 +0000 (16:36 +0200)
commite89d211f30277e8d1600ed00b5c9244d8f891aaf
treec95ced741589a6fc3b8d783e17a62747d83efcbc
parent5f24d0cb9c690b32068c9903cd1bc4e78e044865
imx: mmc_env: update runtime SD/MMC boot env device

When DM_MMC enabled, the USDHC index in U-Boot is the USDHC port.
To directly return devno, we could avoid add board specific code.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/mmc_env.c