summaryrefslogtreecommitdiffstats
path: root/commands/usbserial.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/usbserial.c')
-rw-r--r--commands/usbserial.c26
1 files changed, 6 insertions, 20 deletions
diff --git a/commands/usbserial.c b/commands/usbserial.c
index ad6bc63fcc..567018c233 100644
--- a/commands/usbserial.c
+++ b/commands/usbserial.c
@@ -1,23 +1,9 @@
-/*
- * usbserial.c - usb serial gadget command
- *
- * Copyright (c) 2011 Eric Bénard <eric@eukrea.com>, Eukréa Electromatique
- * based on dfu.c which is :
- * Copyright (c) 2009 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix
- *
- * See file CREDITS for list of people who contributed to this
- * project.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2
- * as published by the Free Software Foundation.
- *
- * 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.
- *
- */
+// SPDX-License-Identifier: GPL-2.0-only
+// SPDX-FileCopyrightText: © 2009 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix
+// SPDX-FileCopyrightText: © 2011 Eric Bénard <eric@eukrea.com>, Eukréa Electromatique
+
+/* usbserial.c - usb serial gadget command */
+
#include <common.h>
#include <command.h>
#include <errno.h>