i.MX6Q: icorem6_rqs: Add mmc_late_init
authorJagan Teki <jagan@amarulasolutions.com>
Fri, 24 Feb 2017 10:15:25 +0000 (15:45 +0530)
committerStefano Babic <sbabic@denx.de>
Fri, 17 Mar 2017 08:27:08 +0000 (09:27 +0100)
commitd98fd1323c7e4ad687bfdc002a8a7e7d9e8ab144
tree883d01c53ff1de0a36f2a449608e6430f54c9d76
parent8c998a85a3df9cabf9701835b82ccbbfcdf9ee36
i.MX6Q: icorem6_rqs: Add mmc_late_init

Let the runtime code can set the mmcdev and mmcroot based
on the devno using mmc_get_env_dev instead of defining
separately in build-time configs using mmc_late_init func.

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