commit | 2663fe4e0f76b2cc0d683adf189d860fea467de8 | [log] [tgz] |
---|---|---|
author | Jon Nettleton <jon@solid-run.com> | Mon Jun 11 15:26:19 2018 +0300 |
committer | Stefano Babic <sbabic@denx.de> | Mon Jul 23 10:17:04 2018 +0200 |
tree | a89409542bf787b5033d24adeb898206a5f2ef33 | |
parent | 9b22c0f98de8d36d5f4c681c9887ad1e87967814 [diff] |
mmc: break out get_op_cond code to its own function This code is useful for testing the existance of devices that do not have card detect capabilities. This breaks out the core functionality and leaves the actual init logic and error reporting in mmc_start_init(). Signed-off-by: Jon Nettleton <jon@solid-run.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Reviewed-by: Stefano Babic <sbabic@denx.de>