test/py: mmc: Factor out device selection
authorMarek Vasut <marek.vasut@gmail.com>
Wed, 13 Mar 2019 16:49:25 +0000 (17:49 +0100)
committerTom Rini <trini@konsulko.com>
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 <marek.vasut+renesas@gmail.com>
Cc: Tom Rini <trini@konsulko.com>
Cc: Simon Glass <sjg@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
test/py/tests/test_mmc_rd.py