]> git.dujemihanovic.xyz Git - u-boot.git/commit
mx6cuboxi: Use mmc_get_op_cond() to check for an eMMC
authorJon Nettleton <jon@solid-run.com>
Mon, 11 Jun 2018 12:26:22 +0000 (15:26 +0300)
committerStefano Babic <sbabic@denx.de>
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 <jon@solid-run.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
board/solidrun/mx6cuboxi/mx6cuboxi.c