X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=drivers%2Fserial%2Fusbtty.c;h=6b912efafdc74e07099a28b2e531968a0212fe3e;hb=13fbde6e4f600d94f0a1fb6ae49c6b4888033cec;hp=e47cb9a9e724bbb560a3b0f42f0c844dd0bcb867;hpb=f9da0f894328802cb8aaeb8a24660e37ff624d26;p=u-boot diff --git a/drivers/serial/usbtty.c b/drivers/serial/usbtty.c index e47cb9a9e7..6b912efafd 100644 --- a/drivers/serial/usbtty.c +++ b/drivers/serial/usbtty.c @@ -5,20 +5,7 @@ * (C) Copyright 2006 * Bryan O'Donoghue, bodonoghue@codehermit.ie * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * + * SPDX-License-Identifier: GPL-2.0+ */ #include @@ -63,7 +50,7 @@ /* * Buffers to hold input and output data */ -#define USBTTY_BUFFER_SIZE 256 +#define USBTTY_BUFFER_SIZE 2048 static circbuf_t usbtty_input; static circbuf_t usbtty_output; @@ -971,8 +958,8 @@ static void usbtty_event_handler (struct usb_device_instance *device, /* * is_usbd_high_speed routine needs to be defined by * specific gadget driver - * It returns TRUE if device enumerates at High speed - * Retuns FALSE otherwise + * It returns true if device enumerates at High speed + * Retuns false otherwise */ for (i = 0; i < NUM_ENDPOINTS; i++) { if (((ep_descriptor_ptrs[i]->bmAttributes &