summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2026-03-16 08:22:58 -0600
committerTom Rini <[email protected]>2026-03-16 08:22:58 -0600
commit071e914b4aa139c9c411efda3fe1ffaebda5c76e (patch)
treef65e043c2ea417b4a30ad98b9a3e28061bedbb2e /include
parentfab3b667b4128fae2d94752bb03088f84dafcf89 (diff)
parent4b77b07811c2fb48b4a65ae14c387540ae6b8998 (diff)
Merge tag 'u-boot-dfu-20260316' of https://source.denx.de/u-boot/custodians/u-boot-dfu into next
u-boot-dfu-20260316 DFU: * Make DFU_WRITE_ALT symbol available outside of DFU * Fix PCI subclass_code warning in spl_dfu Usb Gadget: * Mark udc_disconnect() as static
Diffstat (limited to 'include')
-rw-r--r--include/usb.h9
-rw-r--r--include/usb/udc.h1
2 files changed, 0 insertions, 10 deletions
diff --git a/include/usb.h b/include/usb.h
index be37ed272e1..dab23753f0c 100644
--- a/include/usb.h
+++ b/include/usb.h
@@ -209,15 +209,6 @@ void *poll_int_queue(struct usb_device *dev, struct int_queue *queue);
#define USB_UHCI_DEV_ID 0x7112
/*
- * PXA25x can only act as USB device. There are drivers
- * which works with USB CDC gadgets implementations.
- * Some of them have common routines which can be used
- * in boards init functions e.g. udc_disconnect() used for
- * forced device disconnection from host.
- */
-extern void udc_disconnect(void);
-
-/*
* board-specific hardware initialization, called by
* usb drivers and u-boot commands
*
diff --git a/include/usb/udc.h b/include/usb/udc.h
index 749b3a3f015..c5e431813be 100644
--- a/include/usb/udc.h
+++ b/include/usb/udc.h
@@ -39,7 +39,6 @@ int udc_endpoint_write(struct usb_endpoint_instance *endpoint);
void udc_setup_ep(struct usb_device_instance *device, unsigned int ep,
struct usb_endpoint_instance *endpoint);
void udc_connect(void);
-void udc_disconnect(void);
void udc_enable(struct usb_device_instance *device);
void udc_disable(void);
void udc_startup_events(struct usb_device_instance *device);