test/py: mmc: Factor out device selection
authorMarek Vasut <[email protected]>
Wed, 13 Mar 2019 16:49:25 +0000 (17:49 +0100)
committerTom Rini <[email protected]>
Wed, 10 Apr 2019 00:04:04 +0000 (20:04 -0400)
commitd22f7ad86a3edfbfadbdfc11c754a4de5445ab39
tree8bbb34ada798ebf9ac2eb70bd58a723a084b48ef
parent9b18358dc05df1dc69c2274a61ec6bcf75a058ad
test/py: mmc: Factor out device selection

Factor out the 'mmc dev' call so it can be recycled by other tests.

Signed-off-by: Marek Vasut <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Simon Glass <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
test/py/tests/test_mmc_rd.py