mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
usb: Refactor USB tree output code for testing
Allow the 'usb tree' command to be used from test code, so that we can verify that it works correctly. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -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_ */
|
||||
|
Reference in New Issue
Block a user