]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: mvebu: Espressobin: Use function mmc_get_op_cond() for detecting eMMC
authorPali Rohár <pali@kernel.org>
Wed, 14 Jul 2021 14:37:28 +0000 (16:37 +0200)
committerStefan Roese <sr@denx.de>
Thu, 15 Jul 2021 08:53:05 +0000 (10:53 +0200)
commit42ba56691ccae5a33da13a023a342fef4fa8f086
tree0a3f1419d0b4646151e8d4729fc6b412ef5fc6da
parentaeff1740b6f4896b13e9c300e60078ebd488f37b
arm: mvebu: Espressobin: Use function mmc_get_op_cond() for detecting eMMC

Use function mmc_get_op_cond() instead of mmc_init() for detecting presence
of eMMC. Documentation for this function says that it could be used to
detect the presence of SD/eMMC when no card detect logic is available.

This function is also used by mx6cuboxi board for detecting presence of eMMC.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
board/Marvell/mvebu_armada-37xx/board.c