dm: core: Add safe device iteration macros
[oweals/u-boot.git] / include / usb.h
index 3d0facbed9f6af5d6195cbe05b00b326c11429f9..a09c7f199ac8d64f3a52114d5ad5c88ab2778a57 100644 (file)
@@ -957,4 +957,12 @@ int usb_emul_find(struct udevice *bus, ulong pipe, struct udevice **emulp);
  */
 void usb_emul_reset(struct udevice *dev);
 
+/**
+ * usb_show_tree() - show the USB device tree
+ *
+ * This shows a list of active USB devices along with basic information about
+ * each.
+ */
+void usb_show_tree(void);
+
 #endif /*_USB_H_ */