aboutsummaryrefslogtreecommitdiffstats
path: root/include/stdio_dev.h
diff options
context:
space:
mode:
authorLoic Poulain <loic.poulain@linaro.org>2021-11-25 18:16:15 +0100
committerMarek Vasut <marex@denx.de>2022-01-26 23:23:17 +0100
commitfc2b399ac03b91339a1cb1bfd4d1a9ca87fe95c6 (patch)
tree171f14dc3ae19d1050b10d53a7d9ae63d36fda55 /include/stdio_dev.h
parent334a9b9d6aff4f0efa5eef16b8a9e204c7a6c906 (diff)
downloadu-boot-fc2b399ac03b91339a1cb1bfd4d1a9ca87fe95c6.tar.gz
usb: gadget: Add CDC ACM function
Add support for CDC ACM using the new UDC and gadget API. This protocol can be used for serial over USB data transfer and is widely supported by various OS (GNU/Linux, MS-Windows, OSX...). The usual purpose of such link is to access device debug console and can be useful for products not exposing regular UART to the user. A default stdio device named 'usbacm' is created, and can be used to redirect console to USB link over CDC ACM: > setenv stdin usbacm; setenv stdout usbacm Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Diffstat (limited to 'include/stdio_dev.h')
-rw-r--r--include/stdio_dev.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/stdio_dev.h b/include/stdio_dev.h
index 8fb9a12dd87..270fa2729fb 100644
--- a/include/stdio_dev.h
+++ b/include/stdio_dev.h
@@ -103,6 +103,7 @@ int drv_lcd_init(void);
int drv_video_init(void);
int drv_keyboard_init(void);
int drv_usbtty_init(void);
+int drv_usbacm_init(void);
int drv_nc_init(void);
int drv_jtag_console_init(void);
int cbmemc_init(void);