]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - test/dm/test-driver.c
dm: test: Add test for device removal
[people/ms/u-boot.git] / test / dm / test-driver.c
index d10af5114738cc62f3e077a7b47de5d2c90f58ae..2b432a71fd690bbea4b94b85331967174a45dfb1 100644 (file)
@@ -157,3 +157,14 @@ U_BOOT_DRIVER(test_pre_reloc_drv) = {
        .unbind = test_manual_unbind,
        .flags  = DM_FLAG_PRE_RELOC,
 };
+
+U_BOOT_DRIVER(test_act_dma_drv) = {
+       .name   = "test_act_dma_drv",
+       .id     = UCLASS_TEST,
+       .ops    = &test_manual_ops,
+       .bind   = test_manual_bind,
+       .probe  = test_manual_probe,
+       .remove = test_manual_remove,
+       .unbind = test_manual_unbind,
+       .flags  = DM_FLAG_ACTIVE_DMA,
+};