summaryrefslogtreecommitdiff
path: root/test/dm/blk.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-05-01 13:52:43 -0600
committerSimon Glass <sjg@chromium.org>2016-05-17 09:54:43 -0600
commitafa2c3122db1ef5243e717b84d698353da412d92 (patch)
tree4e8868d9ddd57651c64c7159a5857ee97941dde1 /test/dm/blk.c
parentf376a3cbbf34d3114d92789540ba2d2e9e904758 (diff)
downloadu-boot-imx-afa2c3122db1ef5243e717b84d698353da412d92.zip
u-boot-imx-afa2c3122db1ef5243e717b84d698353da412d92.tar.gz
u-boot-imx-afa2c3122db1ef5243e717b84d698353da412d92.tar.bz2
dm: sandbox: mmc: Enable building MMC code for sandbox
Enable building the MMC code for sandbox. This increases build coverage for sandbox. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/dm/blk.c')
-rw-r--r--test/dm/blk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dm/blk.c b/test/dm/blk.c
index f4ea32e..012bf4c 100644
--- a/test/dm/blk.c
+++ b/test/dm/blk.c
@@ -83,12 +83,12 @@ static int dm_test_blk_usb(struct unit_test_state *uts)
ut_asserteq_ptr(usb_dev, dev_get_parent(dev));
/* Check we have one block device for each mass storage device */
- ut_asserteq(3, count_blk_devices());
+ ut_asserteq(4, count_blk_devices());
/* Now go around again, making sure the old devices were unbound */
ut_assertok(usb_stop());
ut_assertok(usb_init());
- ut_asserteq(3, count_blk_devices());
+ ut_asserteq(4, count_blk_devices());
ut_assertok(usb_stop());
return 0;