[PATCH 1/8] sandbox: Make USB controller as having active DMA

Simon Glass
2025-01-06T14:48:17Z

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

Signed-off-by: Simon Glass <sjg@chromium.org>
---

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