imx: mx6: implement mmc_get_env_dev
authorPeng Fan <peng.fan@nxp.com>
Thu, 28 Jan 2016 08:51:26 +0000 (16:51 +0800)
committerStefano Babic <sbabic@denx.de>
Thu, 4 Feb 2016 09:13:49 +0000 (10:13 +0100)
commit216d286c7e3d3d83d4d8ccaf0415192e1b1040c0
treec04d68d7fa5727bbff584dc9c396a0633eac23db
parent62d8cce9f37c12ff92a47414484997a74d038440
imx: mx6: implement mmc_get_env_dev

Implement mmc_get_env_dev, devno can be got from smbr1 of SRC.
Introduce a weak function board_mmc_get_env_dev, different
boards can implement it according to different sdhc controllers
that used by the board.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
arch/arm/cpu/armv7/mx6/soc.c