Merge git://git.denx.de/u-boot-arm
[platform/kernel/u-boot.git] / drivers / serial / usbtty.c
index 148d1a6..6b912ef 100644 (file)
@@ -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 <common.h>
@@ -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 &