]> git.dujemihanovic.xyz Git - u-boot.git/commit
imx: mx7dsabresd: move mmc_get_env_devno to soc code
authorPeng Fan <peng.fan@nxp.com>
Thu, 28 Jan 2016 08:51:25 +0000 (16:51 +0800)
committerStefano Babic <sbabic@denx.de>
Thu, 4 Feb 2016 09:13:45 +0000 (10:13 +0100)
commit62d8cce9f37c12ff92a47414484997a74d038440
tree7d13defef8d5c2a3397cd1a5f2fb3c4868b2dfe6
parent9e30ba2d75b2f4a4880080fc1f9795e9bf59408e
imx: mx7dsabresd: move mmc_get_env_devno to soc code

Move mmc_get_env_devno to soc.c and rename to mmc_get_env_dev to
match the one in common/env_mmc.c.
Introduce a weak function board_mmc_get_env_dev. Different
boards can implement this according to sdhc controller which
is used by the board.

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