summaryrefslogtreecommitdiffstats
path: root/commands/Makefile
diff options
context:
space:
mode:
authorEric Bénard <eric@eukrea.com>2012-01-04 10:36:47 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2012-01-04 14:18:46 +0100
commitf7aaa2249325c963b80654a7c2de14223b8e4165 (patch)
tree83e9ff43334cefdfde37e396062b0845ca933b59 /commands/Makefile
parenteb98425068297fc26a07e3acf889f38cac4045cf (diff)
downloadbarebox-f7aaa2249325c963b80654a7c2de14223b8e4165.tar.gz
barebox-f7aaa2249325c963b80654a7c2de14223b8e4165.tar.xz
serial gadget: enable/disable on request
- add a usbserial command to enable/disable the serial gadget - allow dfu and usbserial to cohexist in the same barebox - add a timeout in u_serial so that we don't get locked if the user enable usbserial from a UART console but doesn't consume the data on the usbserial port created on the PC - remove debug or verbose printf - tested on i.MX25 & i.MX35 & usb-a926x Signed-off-by: Eric Bénard <eric@eukrea.com> Tested-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/Makefile')
-rw-r--r--commands/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/Makefile b/commands/Makefile
index 24753be80d..43630e1274 100644
--- a/commands/Makefile
+++ b/commands/Makefile
@@ -47,6 +47,7 @@ obj-$(CONFIG_CMD_LSMOD) += lsmod.o
obj-$(CONFIG_CMD_INSMOD) += insmod.o
obj-$(CONFIG_CMD_BMP) += bmp.o
obj-$(CONFIG_USB_GADGET_DFU) += dfu.o
+obj-$(CONFIG_USB_GADGET_SERIAL) += usbserial.o
obj-$(CONFIG_CMD_GPIO) += gpio.o
obj-$(CONFIG_CMD_UNCOMPRESS) += uncompress.o
obj-$(CONFIG_CMD_I2C) += i2c.o