Commit bf8188e4 authored by Simon Glass's avatar Simon Glass
Browse files

test: Add DM_DMA to be disabled

At present if DM_DMA is disabled on a sandbox build, the build fails.
Make the test conditional.
Signed-off-by: Simon Glass's avatarSimon Glass <>
parent f093f864
......@@ -1171,6 +1171,7 @@ static int dm_test_all_have_seq(struct unit_test_state *uts)
DM_TEST(dm_test_all_have_seq, UT_TESTF_SCAN_PDATA);
static int dm_test_dma_offset(struct unit_test_state *uts)
struct udevice *dev;
......@@ -1200,3 +1201,4 @@ static int dm_test_dma_offset(struct unit_test_state *uts)
return 0;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment