mx6cuboxi: Use mmc_get_op_cond() to check for an eMMC
authorJon Nettleton <[email protected]>
Mon, 11 Jun 2018 12:26:22 +0000 (15:26 +0300)
committerStefano Babic <[email protected]>
Mon, 23 Jul 2018 08:17:04 +0000 (10:17 +0200)
commit19ed6063a567c6924dbfc358bf4ce9a60a31c567
tree5ccb7f19e959410e7ae4f08c1525a6d7685ccaa2
parentc4abe2863aae2a31ec7685d44de83122cf321d1e
mx6cuboxi: Use mmc_get_op_cond() to check for an eMMC

Previously we had just made broad assumptions with which of our
boards had an eMMC or not even though this is a manufacturing time
assembly option.  This takes the guessing away and actually checks for
the existence of an eMMC and sets up the has_emmc environment variable.

Signed-off-by: Jon Nettleton <[email protected]>
Signed-off-by: Baruch Siach <[email protected]>
board/solidrun/mx6cuboxi/mx6cuboxi.c