MLK-21852 imx: Update runtime SD/MMC boot env device and env variables
authorYe Li <ye.li@nxp.com>
Fri, 10 May 2019 06:48:16 +0000 (23:48 -0700)
committerYe Li <ye.li@nxp.com>
Thu, 29 Apr 2021 07:56:07 +0000 (00:56 -0700)
commitb709f85064c002c83f211bad9bda57d7f6a812df
tree8e6c608f4a6395b7877e27ef0399dc55cde0ebbf
parent5b40b6dff9043645e1b88b9c229a8f83bfb2732f
MLK-21852 imx: Update runtime SD/MMC boot env device and env variables

Since we enabled MMC alias, the USDHC index in u-boot is the usdhc port.
So we don't need to convert them for kernel and u-boot env device.

Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 8fd6e14f5c1598684bc08a7917f89cd94e988d8f)
(cherry picked from commit 96bc8f724159a3a9e2ba9f605b84f53534bc3e1f)
(cherry picked from commit 83a2f62405d0aa3b1fe7140e320a1b297d6b4883)
(cherry picked from commit 733b8ad42e057bd025cd97a570ecbcb2ebc4191c)
12 files changed:
arch/arm/mach-imx/imx8/cpu.c
arch/arm/mach-imx/mmc_env.c
arch/arm/mach-imx/mx6/soc.c
arch/arm/mach-imx/mx7ulp/soc.c
board/freescale/imx8mm_evk/imx8mm_evk.c
board/freescale/imx8mq_evk/imx8mq_evk.c
board/freescale/imx8qm_mek/imx8qm_mek.c
board/freescale/imx8qxp_mek/imx8qxp_mek.c
board/freescale/mx6sabreauto/mx6sabreauto.c
board/freescale/mx6sabresd/mx6sabresd.c
board/freescale/mx6slevk/mx6slevk.c
board/freescale/mx7ulp_evk/mx7ulp_evk.c