Set the DM_FLAG_ACTIVE_DMA flag on this device so that it is removed
before booting.

Signed-off-by: Simon Glass <[email protected]>
---

 drivers/usb/host/usb-sandbox.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/usb/host/usb-sandbox.c b/drivers/usb/host/usb-sandbox.c
index f687fe2c430..6d75ce80dcd 100644
--- a/drivers/usb/host/usb-sandbox.c
+++ b/drivers/usb/host/usb-sandbox.c
@@ -180,4 +180,5 @@ U_BOOT_DRIVER(usb_sandbox) = {
        .probe = sandbox_usb_probe,
        .ops    = &sandbox_usb_ops,
        .priv_auto      = sizeof(struct sandbox_usb_ctrl),
+       .flags  = DM_FLAG_ACTIVE_DMA,
 };
-- 
2.34.1

Reply via email to