diff --git a/commands/2048.c b/commands/2048.c index 865803a..3ad9c0f 100644 --- a/commands/2048.c +++ b/commands/2048.c @@ -1,31 +1,7 @@ -/* - * The MIT License (MIT) - * - * Copyright (c) 2014 Maurits van der Schee - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * - * ============================================================================ - * Name : 2048.c - * Author : Maurits van der Schee - * Description : Console version of the game "2048" for GNU/Linux - * ============================================================================ - */ +// SPDX-License-Identifier: MIT +// SPDX-FileCopyrightText: © 2014 Maurits van der Schee + +/* Console version of the game "2048" for GNU/Linux */ #include #include diff --git a/commands/automount.c b/commands/automount.c index a71430c..d2b3a2d 100644 --- a/commands/automount.c +++ b/commands/automount.c @@ -1,20 +1,8 @@ -/* - * automount.c - automount devices - * - * Copyright (c) 2012 Sascha Hauer , 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: © 2012 Sascha Hauer , Pengutronix + +/* automount.c - automount devices */ + #include #include #include diff --git a/commands/barebox-update.c b/commands/barebox-update.c index 53af2a8..4b23433 100644 --- a/commands/barebox-update.c +++ b/commands/barebox-update.c @@ -1,20 +1,8 @@ -/* - * barebox-update.c - update barebox - * - * Copyright (c) 2012 Sascha Hauer , 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: © 2012 Sascha Hauer , Pengutronix + +/* barebox-update.c - update barebox */ + #include #include #include diff --git a/commands/basename.c b/commands/basename.c index c1a28e9..7dd9ba2 100644 --- a/commands/basename.c +++ b/commands/basename.c @@ -1,21 +1,7 @@ -/* - * basename.c - strip directory and suffix from filenames - * - * Copyright (c) 2012 Sascha Hauer , 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: © 2012 Sascha Hauer , Pengutronix + +/* basename.c - strip directory and suffix from filenames */ #include #include diff --git a/commands/blobgen.c b/commands/blobgen.c index 49107d0..8ff2cc2 100644 --- a/commands/blobgen.c +++ b/commands/blobgen.c @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: GPL-2.0-only + #include #include #include diff --git a/commands/boot.c b/commands/boot.c index aaa20fa..ad2d83a 100644 --- a/commands/boot.c +++ b/commands/boot.c @@ -1,15 +1,4 @@ -/* - * 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. - * - */ +// SPDX-License-Identifier: GPL-2.0-or-later #include #include diff --git a/commands/bootchooser.c b/commands/bootchooser.c index ac763a6..46b063e 100644 --- a/commands/bootchooser.c +++ b/commands/bootchooser.c @@ -1,17 +1,6 @@ -/* - * Copyright (C) 2012 Jan Luebbe - * Copyright (C) 2015 Marc Kleine-Budde - * - * 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. - */ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: © 2012 Jan Luebbe +// SPDX-FileCopyrightText: © 2015 Marc Kleine-Budde #include #include diff --git a/commands/bootm.c b/commands/bootm.c index 100c2e9..f54a482 100644 --- a/commands/bootm.c +++ b/commands/bootm.c @@ -1,21 +1,5 @@ -/* - * (C) Copyright 2000-2006 - * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * 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 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. - * - */ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: © 2000-2006 Wolfgang Denk , DENX Software Engineering /* * Boot support diff --git a/commands/cat.c b/commands/cat.c index c01710c..17c31ed 100644 --- a/commands/cat.c +++ b/commands/cat.c @@ -1,19 +1,5 @@ -/* - * Copyright (c) 2007 Sascha Hauer , 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: © 2007 Sascha Hauer , Pengutronix /** * @file diff --git a/commands/cd.c b/commands/cd.c index 5611e9a..0238919 100644 --- a/commands/cd.c +++ b/commands/cd.c @@ -1,21 +1,7 @@ -/* - * cd.c - change working directory - * - * Copyright (c) 2007 Sascha Hauer , 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: © 2007 Sascha Hauer , Pengutronix + +/* cd.c - change working directory */ /** * @file diff --git a/commands/clear.c b/commands/clear.c index 3be2119..56c1da4 100644 --- a/commands/clear.c +++ b/commands/clear.c @@ -1,21 +1,7 @@ -/* - * clear.c - Clear the screen - * - * Copyright (c) 2007 Sascha Hauer , 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: © 2007 Sascha Hauer , Pengutronix + +/* clear.c - Clear the screen */ #include #include diff --git a/commands/cmp.c b/commands/cmp.c index c493988..937cfab 100644 --- a/commands/cmp.c +++ b/commands/cmp.c @@ -1,20 +1,6 @@ -/* - * cmp - determine if two files differ - * - * 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 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. - * - */ +// SPDX-License-Identifier: GPL-2.0-or-later + +/* cmp - determine if two files differ */ #include #include diff --git a/commands/cp.c b/commands/cp.c index 845dae6..71448f9 100644 --- a/commands/cp.c +++ b/commands/cp.c @@ -1,21 +1,7 @@ -/* - * cp.c - copy files - * - * Copyright (c) 2007 Sascha Hauer , 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: © 2007 Sascha Hauer , Pengutronix + +/* cp.c - copy files */ #include #include diff --git a/commands/crc.c b/commands/crc.c index 580521d..80ecf7f 100644 --- a/commands/crc.c +++ b/commands/crc.c @@ -1,21 +1,7 @@ -/* - * crc.c - Calculate a crc32 checksum of a memory area - * - * Copyright (c) 2007 Sascha Hauer , 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: © 2007 Sascha Hauer , Pengutronix + +/* crc.c - Calculate a crc32 checksum of a memory area */ #include #include diff --git a/commands/defaultenv.c b/commands/defaultenv.c index 47bdf26..c13d9aa 100644 --- a/commands/defaultenv.c +++ b/commands/defaultenv.c @@ -1,19 +1,5 @@ -/* - * Copyright (c) 2014 Sascha Hauer , 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: © 2014 Sascha Hauer , Pengutronix #include #include diff --git a/commands/detect.c b/commands/detect.c index 48bab4d..70eca57 100644 --- a/commands/detect.c +++ b/commands/detect.c @@ -1,21 +1,8 @@ -/* - * detect.c - detect devices command - * - * Copyright (c) 2013 Sascha Hauer , 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: © 2013 Sascha Hauer , Pengutronix + +/* detect.c - detect devices command */ + #include #include #include diff --git a/commands/devinfo.c b/commands/devinfo.c index cd69d2e..81956b1 100644 --- a/commands/devinfo.c +++ b/commands/devinfo.c @@ -1,17 +1,5 @@ -/* - * Copyright (C) 2013 Sascha Hauer, Pengutronix - * - * 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. - * - */ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: © 2013 Sascha Hauer, Pengutronix #include #include diff --git a/commands/dfu.c b/commands/dfu.c index 3f52bbd..3132a74 100644 --- a/commands/dfu.c +++ b/commands/dfu.c @@ -1,21 +1,8 @@ -/* - * dfu.c - device firmware update command - * - * Copyright (c) 2009 Sascha Hauer , 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 , Pengutronix + +/* dfu.c - device firmware update command */ + #include #include #include diff --git a/commands/dhcp.c b/commands/dhcp.c index d9e844b..97e9b03 100644 --- a/commands/dhcp.c +++ b/commands/dhcp.c @@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: © 2015 PHYTEC Messtechnik GmbH + /* - * Copyright (C) 2015 PHYTEC Messtechnik GmbH, * Author: Wadim Egorov - * * Based on work of Sascha Hauer . - * - * 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. */ #include diff --git a/commands/dhrystone.c b/commands/dhrystone.c index f677226..c839b0c 100644 --- a/commands/dhrystone.c +++ b/commands/dhrystone.c @@ -1,5 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: © 2014-2015 Phytec Messtechnik GmbH + /* - * (C) Copyright 2014 - 2015 Phytec Messtechnik GmbH * Author: Stefan Müller-Klieser * Author: Daniel Schultz * @@ -7,16 +9,6 @@ * Version: C, Version 2.1 * Date: May 25, 1988 * Author: Reinhold P. Weicker - * - * 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. - * */ #include diff --git a/commands/digest.c b/commands/digest.c index 21a0917..b7ed4d5 100644 --- a/commands/digest.c +++ b/commands/digest.c @@ -1,8 +1,5 @@ -/* - * Copyright (c) 2015 Jean-Christophe PLAGNIOL-VILLARD - * - * GPLv2 ONLY - */ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: © 2015 Jean-Christophe PLAGNIOL-VILLARD #include #include diff --git a/commands/dirname.c b/commands/dirname.c index 73cf1e4..f809e76 100644 --- a/commands/dirname.c +++ b/commands/dirname.c @@ -1,21 +1,7 @@ -/* - * dirname.c - strip directory and suffix from filenames - * - * Copyright (c) 2012 Sascha Hauer , 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: © 2012 Sascha Hauer , Pengutronix + +/* dirname.c - strip directory and suffix from filenames */ #include #include diff --git a/commands/dmesg.c b/commands/dmesg.c index a7def2f..15ad449 100644 --- a/commands/dmesg.c +++ b/commands/dmesg.c @@ -1,21 +1,8 @@ -/* - * dmesg.c - barebox logbuffer handling - * - * Copyright (c) 2014 Sascha Hauer , 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: © 2014 Sascha Hauer , Pengutronix + +/* dmesg.c - barebox logbuffer handling */ + #include #include #include diff --git a/commands/drvinfo.c b/commands/drvinfo.c index 4a4b957..9f8f971 100644 --- a/commands/drvinfo.c +++ b/commands/drvinfo.c @@ -1,18 +1,6 @@ -/* - * Copyright (C) 2013 Sascha Hauer, Pengutronix - * Copyright (C) 2014 Holger Schurig - * - * 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. - * - */ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: © 2013 Sascha Hauer, Pengutronix +// SPDX-FileCopyrightText: © 2014 Holger Schurig #include #include diff --git a/commands/echo.c b/commands/echo.c index 8853ee0..99575b4 100644 --- a/commands/echo.c +++ b/commands/echo.c @@ -1,21 +1,7 @@ -/* - * echo.c - echo arguments to stdout or into a file - * - * Copyright (c) 2007 Sascha Hauer , 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: © 2007 Sascha Hauer , Pengutronix + +/* echo.c - echo arguments to stdout or into a file */ #include #include diff --git a/commands/edit.c b/commands/edit.c index 4e661df..3ab4bea 100644 --- a/commands/edit.c +++ b/commands/edit.c @@ -1,19 +1,5 @@ -/* - * Copyright (c) 2007 Sascha Hauer , 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: © 2007 Sascha Hauer , Pengutronix #include #include diff --git a/commands/exec.c b/commands/exec.c index 7c8934f..0b06318 100644 --- a/commands/exec.c +++ b/commands/exec.c @@ -1,21 +1,7 @@ -/* - * exec.c - execute scripts - * - * Copyright (c) 2007 Sascha Hauer , 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: © 2007 Sascha Hauer , Pengutronix + +/* exec.c - execute scripts */ #include #include diff --git a/commands/export.c b/commands/export.c index 4b4cf1e..8972b7d 100644 --- a/commands/export.c +++ b/commands/export.c @@ -1,19 +1,5 @@ -/* - * Copyright (c) 2007 Sascha Hauer , 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: © 2007 Sascha Hauer , Pengutronix /** * @file diff --git a/commands/false.c b/commands/false.c index 90aa2cc..90ab579 100644 --- a/commands/false.c +++ b/commands/false.c @@ -1,21 +1,5 @@ -/* - * (C) Copyright 2000-2003 - * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * 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 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. - * - */ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: © 2000-2003 Wolfgang Denk , DENX Software Engineering #include #include diff --git a/commands/filetype.c b/commands/filetype.c index 4e016dd..818c14f 100644 --- a/commands/filetype.c +++ b/commands/filetype.c @@ -1,8 +1,5 @@ -/* - * (C) Copyright 2012 Jean-Christophe PLAGNIOL-VILLARD - * - * Under GPLv2 Only - */ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: © 2012 Jean-Christophe PLAGNIOL-VILLARD #include #include diff --git a/commands/firmwareload.c b/commands/firmwareload.c index dbd43e0..b735088 100644 --- a/commands/firmwareload.c +++ b/commands/firmwareload.c @@ -1,15 +1,5 @@ -/* - * Copyright (c) 2013 Juergen Beisert , Pengutronix - * - * 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: © 2013 Juergen Beisert , Pengutronix #include #include diff --git a/commands/flash.c b/commands/flash.c index d881b4d..3d7c8fd 100644 --- a/commands/flash.c +++ b/commands/flash.c @@ -1,23 +1,7 @@ -/* - * erase, protect, unprotect - FLASH support - * - * (C) Copyright 2000 - * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * 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 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. - * - */ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: © 2000 Wolfgang Denk , DENX Software Engineering + +/* erase, protect, unprotect - FLASH support */ #include #include diff --git a/commands/global.c b/commands/global.c index c66bf6e..15b6a9f 100644 --- a/commands/global.c +++ b/commands/global.c @@ -1,21 +1,8 @@ -/* - * global.c - global shell variables - * - * Copyright (c) 2012 Sascha Hauer , 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: © 2012 Sascha Hauer , Pengutronix + +/* global.c - global shell variables */ + #include #include #include diff --git a/commands/go.c b/commands/go.c index ecc2ceb..0c0b4cb 100644 --- a/commands/go.c +++ b/commands/go.c @@ -1,23 +1,7 @@ -/* - * go- execute some code anywhere (misc boot support) - * - * (C) Copyright 2000-2003 - * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * 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 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. - * - */ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: © 2000-2003 Wolfgang Denk , DENX Software Engineering + +/* go - execute some code anywhere (misc boot support) */ #include #include diff --git a/commands/gpio.c b/commands/gpio.c index 6d88ab6..955b60e 100644 --- a/commands/gpio.c +++ b/commands/gpio.c @@ -1,15 +1,4 @@ -/* - * 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. - * - */ +// SPDX-License-Identifier: GPL-2.0-or-later #include #include diff --git a/commands/hab.c b/commands/hab.c index 0d7ee8e..97a1701 100644 --- a/commands/hab.c +++ b/commands/hab.c @@ -1,13 +1,4 @@ -/* - * 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; version 2. - * - * 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 #include #include diff --git a/commands/hashsum.c b/commands/hashsum.c index 70aab2c..bfacee0 100644 --- a/commands/hashsum.c +++ b/commands/hashsum.c @@ -1,21 +1,7 @@ -/* - * digest.c - Calculate a md5/sha1/sha256 checksum of a memory area - * - * Copyright (c) 2011 Peter Korsgaard - * - * 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: © 2011 Peter Korsgaard + +/* digest.c - Calculate a md5/sha1/sha256 checksum of a memory area */ #include #include diff --git a/commands/help.c b/commands/help.c index 34ffa9a..ba8542b 100644 --- a/commands/help.c +++ b/commands/help.c @@ -1,21 +1,5 @@ -/* - * (C) Copyright 2000-2003 - * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * 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 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. - * - */ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: © 2000-2003 Wolfgang Denk , DENX Software Engineering #include #include diff --git a/commands/i2c.c b/commands/i2c.c index 77a8f7f..53f36df 100644 --- a/commands/i2c.c +++ b/commands/i2c.c @@ -1,19 +1,7 @@ -/* - * i2c.c - i2c commands - * - * Copyright (c) 2010 Eric Bénard , Eukréa Electromatique - * - * 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. - * - */ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: © 2010 Eric Bénard , Eukréa Electromatique + +/* i2c.c - i2c commands */ #include #include diff --git a/commands/imd.c b/commands/imd.c index fc6cc47..912f065 100644 --- a/commands/imd.c +++ b/commands/imd.c @@ -1,20 +1,5 @@ -/* - * (C) Copyright 2014 Sascha Hauer, 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 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. - * - */ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: © 2014 Sascha Hauer, Pengutronix #include #include diff --git a/commands/iomemport.c b/commands/iomemport.c index 6d97c57..d0cfc41 100644 --- a/commands/iomemport.c +++ b/commands/iomemport.c @@ -1,20 +1,8 @@ -/* - * iomem.c - barebox iomem command - * - * Copyright (c) 2011 Sascha Hauer , 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: © 2011 Sascha Hauer , Pengutronix + +/* iomem.c - barebox iomem command */ + #include #include #include diff --git a/commands/ip-route-get.c b/commands/ip-route-get.c index d3c15b7..566e121 100644 --- a/commands/ip-route-get.c +++ b/commands/ip-route-get.c @@ -1,13 +1,4 @@ -/* - * 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; version 2. - * - * 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 #include #include diff --git a/commands/led.c b/commands/led.c index b608fcf..7cf2cee 100644 --- a/commands/led.c +++ b/commands/led.c @@ -1,22 +1,7 @@ -/* - * LED command support for barebox - * - * (C) Copyright 2010 Sascha Hauer, 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 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. - * - */ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: © 2010 Sascha Hauer, Pengutronix + +/* LED command support for barebox */ #include #include diff --git a/commands/let.c b/commands/let.c index 3c84d27..d6762eb 100644 --- a/commands/let.c +++ b/commands/let.c @@ -1,19 +1,7 @@ -/* - * Copyright (C) 2012 Jan Luebbe - * - * Partially based on code from BusyBox. - * - * 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. - * - */ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: © 2012 Jan Luebbe + +/* Partially based on code from BusyBox. */ #include #include diff --git a/commands/linux16.c b/commands/linux16.c index db8d081..73e402d 100644 --- a/commands/linux16.c +++ b/commands/linux16.c @@ -1,22 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: © 2009 Juergen Beisert, Pengutronix + /* - * Copyright (C) 2009 Juergen Beisert, Pengutronix - * * In parts from the GRUB2 project: * * GRUB -- GRand Unified Bootloader * Copyright (C) 1999,2000,2001,2002,2003,2004,2005,2007,2008 Free Software Foundation, Inc. - * - * 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. - * - * */ #include diff --git a/commands/linux_exec.c b/commands/linux_exec.c index 590e0bf..5afa250 100644 --- a/commands/linux_exec.c +++ b/commands/linux_exec.c @@ -1,19 +1,5 @@ -/* - * Copyright (c) 2011 Jean-Christophe PLAGNIOL-VILLARD - * - * 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: © 2011 Jean-Christophe PLAGNIOL-VILLARD #include #include diff --git a/commands/ln.c b/commands/ln.c index f1df320..9206480 100644 --- a/commands/ln.c +++ b/commands/ln.c @@ -1,21 +1,7 @@ -/* - * ln.c - make links between files - * - * Copyright (c) 2012 Jean-Christophe PLAGNIOL-VILLARD - * - * 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: © 2012 Jean-Christophe PLAGNIOL-VILLARD + +/* ln.c - make links between files */ #include #include diff --git a/commands/loadb.c b/commands/loadb.c index 37c272f..17d3af8 100644 --- a/commands/loadb.c +++ b/commands/loadb.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: © 2000-2004 Wolfgang Denk , DENX Software Engineering /** * @file * @brief LoadB and LoadY support. @@ -7,24 +9,6 @@ * * FileName: commands/loadb.c */ -/* - * (C) Copyright 2000-2004 - * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * 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 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. - * - */ /* * Serial up- and download support diff --git a/commands/loadenv.c b/commands/loadenv.c index bf01072..279ee52 100644 --- a/commands/loadenv.c +++ b/commands/loadenv.c @@ -1,19 +1,5 @@ -/* - * Copyright (c) 2007 Sascha Hauer , 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: © 2007 Sascha Hauer , Pengutronix /** * @file diff --git a/commands/loads.c b/commands/loads.c index eb3e109..8260673 100644 --- a/commands/loads.c +++ b/commands/loads.c @@ -1,25 +1,8 @@ -/* - * (C) Copyright 2000-2004 - * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * 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 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. - * - */ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: © 2000-2004 Wolfgang Denk , DENX Software Engineering -/* - * Serial up- and download support - */ +/* Serial up- and download support */ + #include #include #include diff --git a/commands/loadxy.c b/commands/loadxy.c index 85efad6..66daa11 100644 --- a/commands/loadxy.c +++ b/commands/loadxy.c @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: © 2012 Robert Jarzmik + /** * @file * @brief loady and loadx support. @@ -7,23 +10,6 @@ * * FileName: commands/loadxy.c */ -/* - * (C) Copyright 2012 Robert Jarzmik - * - * 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 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. - * - */ /* * Serial up- and download support diff --git a/commands/login.c b/commands/login.c index 58bb592..7085f38 100644 --- a/commands/login.c +++ b/commands/login.c @@ -1,19 +1,5 @@ -/* - * Copyright (c) 2008-2010 Jean-Christophe PLAGNIOL-VILLARD - * - * 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: © 2008-2010 Jean-Christophe PLAGNIOL-VILLARD #include #include diff --git a/commands/ls.c b/commands/ls.c index e5e37d7..6a5475d 100644 --- a/commands/ls.c +++ b/commands/ls.c @@ -1,21 +1,7 @@ -/* - * ls.c - list files and directories - * - * Copyright (c) 2007 Sascha Hauer , 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: © 2007 Sascha Hauer , Pengutronix + +/* ls.c - list files and directories */ #include #include diff --git a/commands/lspci.c b/commands/lspci.c index 27edd5d..18e7e46 100644 --- a/commands/lspci.c +++ b/commands/lspci.c @@ -1,19 +1,5 @@ -/* - * Copyright (C) 2011-2014 Antony Pavlov - * - * This file is part of barebox. - * 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: © 2011-2014 Antony Pavlov #include #include diff --git a/commands/md.c b/commands/md.c index 2389c12..ef6a1e1 100644 --- a/commands/md.c +++ b/commands/md.c @@ -1,19 +1,5 @@ -/* - * Copyright (c) 2011 Sascha Hauer , 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: © 2011 Sascha Hauer , Pengutronix /* * Memory Functions diff --git a/commands/memcmp.c b/commands/memcmp.c index 76fbe07..2b3783d 100644 --- a/commands/memcmp.c +++ b/commands/memcmp.c @@ -1,19 +1,5 @@ -/* - * Copyright (c) 2011 Sascha Hauer , 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: © 2011 Sascha Hauer , Pengutronix /* * Memory Functions diff --git a/commands/memcpy.c b/commands/memcpy.c index b2cea8c..2477bba 100644 --- a/commands/memcpy.c +++ b/commands/memcpy.c @@ -1,19 +1,5 @@ -/* - * Copyright (c) 2011 Sascha Hauer , 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: © 2011 Sascha Hauer , Pengutronix /* * Memory Functions diff --git a/commands/meminfo.c b/commands/meminfo.c index 87c76fc..c808caa 100644 --- a/commands/meminfo.c +++ b/commands/meminfo.c @@ -1,21 +1,8 @@ -/* - * meminfo.c - show information about memory usage - * - * Copyright (c) 2007 Sascha Hauer , 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: © 2007 Sascha Hauer , Pengutronix + +/* meminfo.c - show information about memory usage */ + #include #include #include diff --git a/commands/memset.c b/commands/memset.c index b077015..716cba2 100644 --- a/commands/memset.c +++ b/commands/memset.c @@ -1,19 +1,5 @@ -/* - * Copyright (c) 2011 Sascha Hauer , 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: © 2011 Sascha Hauer , Pengutronix /* * Memory Functions diff --git a/commands/memtest.c b/commands/memtest.c index dc8f7db..864947f 100644 --- a/commands/memtest.c +++ b/commands/memtest.c @@ -1,23 +1,7 @@ -/* - * memtest - Perform a memory test - * - * (C) Copyright 2013 - * Alexander Aring , 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 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. - * - */ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: © 2013 Alexander Aring , Pengutronix + +/* memtest - Perform a memory test */ #include #include diff --git a/commands/menu.c b/commands/menu.c index ddc9c3a..7a01aff 100644 --- a/commands/menu.c +++ b/commands/menu.c @@ -1,20 +1,5 @@ -/* - * (C) Copyright 2009-2010 Jean-Christophe PLAGNIOL-VILLARD - * - * 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 as - * published by the Free Software Foundation; version 2 of - * the License. - * - * 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-2010 Jean-Christophe PLAGNIOL-VILLARD #include #include diff --git a/commands/menutree.c b/commands/menutree.c index cf37b01..1298771 100644 --- a/commands/menutree.c +++ b/commands/menutree.c @@ -1,13 +1,5 @@ -/* - * 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 + #include #include #include diff --git a/commands/miitool.c b/commands/miitool.c index 07437d2..47494f5 100644 --- a/commands/miitool.c +++ b/commands/miitool.c @@ -1,10 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: © 2012 Antony Pavlov + /* - * Copyright (C) 2012 Antony Pavlov - * - * This file is part of barebox. - * See file CREDITS for list of people who contributed to this - * project. - * * This program is based on Donald Becker's "mii-diag" and * David A. Hinds' "mii-tool". * @@ -13,16 +10,6 @@ * * mii-diag is written/copyright 1997-2000 by Donald Becker * - * - * 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. - * */ #include diff --git a/commands/mkdir.c b/commands/mkdir.c index 7d024c8..e7153b8 100644 --- a/commands/mkdir.c +++ b/commands/mkdir.c @@ -1,21 +1,7 @@ -/* - * mkdir.c - create directories - * - * Copyright (c) 2007 Sascha Hauer , 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: © 2007 Sascha Hauer , Pengutronix + +/* mkdir.c - create directories */ #include #include diff --git a/commands/mm.c b/commands/mm.c index c7f62fc..f6d6632 100644 --- a/commands/mm.c +++ b/commands/mm.c @@ -1,19 +1,5 @@ -/* - * Copyright (c) 2013 Sascha Hauer , 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: © 2013 Sascha Hauer , Pengutronix #include #include diff --git a/commands/mmc_extcsd.c b/commands/mmc_extcsd.c index 4f566bc..c9a28fb 100644 --- a/commands/mmc_extcsd.c +++ b/commands/mmc_extcsd.c @@ -1,19 +1,7 @@ -/* - * - * (C) Copyright 2015 Phytec Messtechnik GmbH - * Author: Daniel Schultz - * - * 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. - * - */ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: © 2015 Phytec Messtechnik GmbH + +/* Author: Daniel Schultz */ #include #include diff --git a/commands/mount.c b/commands/mount.c index f523f6b..ff1d8bc 100644 --- a/commands/mount.c +++ b/commands/mount.c @@ -1,21 +1,7 @@ -/* - * mount.c - mount devices - * - * Copyright (c) 2007 Sascha Hauer , 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: © 2007 Sascha Hauer , Pengutronix + +/* mount.c - mount devices */ #include #include diff --git a/commands/msleep.c b/commands/msleep.c index 4aee3c3..2ca11fa 100644 --- a/commands/msleep.c +++ b/commands/msleep.c @@ -1,19 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: © 2012 Steffen Trumtrar , Pengutronix + /* * msleep.c - delay execution for n milliseconds * - * Copyright (c) 2012 Steffen Trumtrar , Pengutronix - * * derived from commands/sleep.c - * - * 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. - * */ #include diff --git a/commands/mw.c b/commands/mw.c index 3ed6c82..5bd4bdd 100644 --- a/commands/mw.c +++ b/commands/mw.c @@ -1,19 +1,5 @@ -/* - * Copyright (c) 2011 Sascha Hauer , 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: © 2011 Sascha Hauer , Pengutronix /* * Memory Functions diff --git a/commands/nand-bitflip.c b/commands/nand-bitflip.c index cfde2f4..7335f77 100644 --- a/commands/nand-bitflip.c +++ b/commands/nand-bitflip.c @@ -1,13 +1,4 @@ -/* - * 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; version 2. - * - * 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 #include #include diff --git a/commands/nand.c b/commands/nand.c index c57b394..ed2864f 100644 --- a/commands/nand.c +++ b/commands/nand.c @@ -1,19 +1,6 @@ -/* - * Copyright (c) 2008 Sascha Hauer , 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: © 2008 Sascha Hauer , Pengutronix + #include #include #include diff --git a/commands/nandtest.c b/commands/nandtest.c index 112bb01..bfe4c4c 100644 --- a/commands/nandtest.c +++ b/commands/nandtest.c @@ -1,15 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only + /* * Based on nandtest.c source in mtd-utils package. - * - * 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. - * */ #include #include diff --git a/commands/nv.c b/commands/nv.c index 3150193..8d41924 100644 --- a/commands/nv.c +++ b/commands/nv.c @@ -1,21 +1,8 @@ -/* - * nv.c - non volatile shell variables - * - * Copyright (c) 2014 Sascha Hauer , 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: © 2014 Sascha Hauer , Pengutronix + +/* nv.c - non volatile shell variables */ + #include #include #include diff --git a/commands/of_diff.c b/commands/of_diff.c index 8ef006d..8acfd42 100644 --- a/commands/of_diff.c +++ b/commands/of_diff.c @@ -1,10 +1,7 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * of_diff.c - compare device tree files - * - * Copyright (c) 2019 Sascha Hauer , Pengutronix - * - */ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: © 2019 Sascha Hauer , Pengutronix + +/* of_diff.c - compare device tree files */ #include #include diff --git a/commands/of_display_timings.c b/commands/of_display_timings.c index 365ff80..27b91f3 100644 --- a/commands/of_display_timings.c +++ b/commands/of_display_timings.c @@ -1,20 +1,7 @@ -/* - * of_display_timings.c - list and select display_timings - * - * Copyright (c) 2014 Teresa Gámez PHYTEC Messtechnik GmbH - * - * 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: © 2014 Teresa Gámez , PHYTEC Messtechnik GmbH + +/* of_display_timings.c - list and select display_timings */ #include #include diff --git a/commands/of_dump.c b/commands/of_dump.c index 06b8e9f..6792af3 100644 --- a/commands/of_dump.c +++ b/commands/of_dump.c @@ -1,21 +1,7 @@ -/* - * of_dump.c - dump devicetrees to the console - * - * Copyright (c) 2014 Sascha Hauer , 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: © 2014 Sascha Hauer , Pengutronix + +/* of_dump.c - dump devicetrees to the console */ #include #include diff --git a/commands/of_fixup_status.c b/commands/of_fixup_status.c index e0da429..50c1bbb 100644 --- a/commands/of_fixup_status.c +++ b/commands/of_fixup_status.c @@ -1,23 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: © 2014-2016 PHYTEC Messtechnik GmbH + /* * of_fixup_status.c - Register a fixup to enable or disable nodes in the * device tree * - * Copyright (c) 2014-2016 PHYTEC Messtechnik GmbH - * Author: - * Teresa Remmet - * Wadim Egorov - * - * 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. + * Authors: Teresa Remmet and Wadim Egorov */ #include diff --git a/commands/of_node.c b/commands/of_node.c index 28c4357..7d4eb48 100644 --- a/commands/of_node.c +++ b/commands/of_node.c @@ -1,21 +1,7 @@ -/* - * of_node.c - device tree node handling support - * - * Copyright (c) 2013 Sascha Hauer , 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: © 2013 Sascha Hauer , Pengutronix + +/* of_node.c - device tree node handling support */ #include #include diff --git a/commands/of_overlay.c b/commands/of_overlay.c index de3c3dc..aa4b648 100644 --- a/commands/of_overlay.c +++ b/commands/of_overlay.c @@ -1,19 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (c) 2019 Michael Tretter , 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: © 2019 Michael Tretter , Pengutronix #include #include diff --git a/commands/of_property.c b/commands/of_property.c index 1d7ba18..3d50971 100644 --- a/commands/of_property.c +++ b/commands/of_property.c @@ -1,21 +1,7 @@ -/* - * of_property.c - device tree property handling support - * - * Copyright (c) 2013 Sascha Hauer , 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: © 2013 Sascha Hauer , Pengutronix + +/* of_property.c - device tree property handling support */ #include #include diff --git a/commands/oftree.c b/commands/oftree.c index 299c2ed..1d902f2 100644 --- a/commands/oftree.c +++ b/commands/oftree.c @@ -1,26 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: © 2011 Sascha Hauer , Pengutronix + /* * oftree.c - device tree command support * - * Copyright (c) 2011 Sascha Hauer , Pengutronix - * * based on U-Boot code by: * * Gerald Van Baren, Custom IDEAS, vanbaren@cideas.com * Pantelis Antoniou and * Matthew McClintock - * - * 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. - * */ #include diff --git a/commands/partition.c b/commands/partition.c index 64ccaf0..44ee035 100644 --- a/commands/partition.c +++ b/commands/partition.c @@ -1,21 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: © 2007 Sascha Hauer , Pengutronix + /* * partition.c - parse a linux-like mtd partition definition and register * the new partitions - * - * Copyright (c) 2007 Sascha Hauer , 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. - * */ /** diff --git a/commands/passwd.c b/commands/passwd.c index 6f68700..dfcc636 100644 --- a/commands/passwd.c +++ b/commands/passwd.c @@ -1,19 +1,5 @@ -/* - * Copyright (c) 2008-2010 Jean-Christophe PLAGNIOL-VILLARD - * - * 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: © 2008-2010 Jean-Christophe PLAGNIOL-VILLARD #include #include diff --git a/commands/poweroff.c b/commands/poweroff.c index bbafa13..9320c07 100644 --- a/commands/poweroff.c +++ b/commands/poweroff.c @@ -1,21 +1,7 @@ -/* - * poweroff.c - turn board's power off - * - * Copyright (C) 2011 Antony Pavlov - * - * This file is part of barebox. - * 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: © 2011 Antony Pavlov + +/* poweroff.c - turn board's power off */ #include #include diff --git a/commands/printenv.c b/commands/printenv.c index 161c214..ffe463e 100644 --- a/commands/printenv.c +++ b/commands/printenv.c @@ -1,19 +1,5 @@ -/* - * Copyright (c) 2007 Sascha Hauer , 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: © 2007 Sascha Hauer , Pengutronix #include #include diff --git a/commands/pwd.c b/commands/pwd.c index d5dd161..7a1fe97 100644 --- a/commands/pwd.c +++ b/commands/pwd.c @@ -1,21 +1,8 @@ -/* - * pwd.c - print working directory - * - * Copyright (c) 2007 Sascha Hauer , 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: © 2007 Sascha Hauer , Pengutronix + +/* pwd.c - print working directory */ + #include #include #include diff --git a/commands/readline.c b/commands/readline.c index b6e0e3e..ef54b5e 100644 --- a/commands/readline.c +++ b/commands/readline.c @@ -1,21 +1,5 @@ -/* - * (C) Copyright 2000-2003 - * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * 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 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. - * - */ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: © 2000-2003 Wolfgang Denk , DENX Software Engineering #include #include diff --git a/commands/readlink.c b/commands/readlink.c index 2dfa566..fdcf175 100644 --- a/commands/readlink.c +++ b/commands/readlink.c @@ -1,21 +1,7 @@ -/* - * readlink.c - read value of a symbolic link - * - * Copyright (c) 2012 Jean-Christophe PLAGNIOL-VILLARD - * - * 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: © 2012 Jean-Christophe PLAGNIOL-VILLARD + +/* readlink.c - read value of a symbolic link */ #include #include diff --git a/commands/reginfo.c b/commands/reginfo.c index 37816cb..bd46cf1 100644 --- a/commands/reginfo.c +++ b/commands/reginfo.c @@ -1,21 +1,7 @@ -/* - * reginfo.c - print information about SoC specifc registers - * - * Copyright (c) 2007 Sascha Hauer , 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: © 2007 Sascha Hauer , Pengutronix + +/* reginfo.c - print information about SoC specifc registers */ #include #include diff --git a/commands/regulator.c b/commands/regulator.c index e0b704f..3e2595f 100644 --- a/commands/regulator.c +++ b/commands/regulator.c @@ -1,21 +1,8 @@ -/* - * regulator command - * - * Copyright (c) 2014 Sascha Hauer , 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: © 2014 Sascha Hauer , Pengutronix + +/* regulator command */ + #include #include #include diff --git a/commands/reset.c b/commands/reset.c index 6eac532..2b10f1c 100644 --- a/commands/reset.c +++ b/commands/reset.c @@ -1,21 +1,7 @@ -/* - * reset.c - reset the cpu - * - * Copyright (c) 2007 Sascha Hauer , 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: © 2007 Sascha Hauer , Pengutronix + +/* reset.c - reset the cpu */ #include #include diff --git a/commands/rm.c b/commands/rm.c index 4eebb3d..ba52b18 100644 --- a/commands/rm.c +++ b/commands/rm.c @@ -1,21 +1,8 @@ -/* - * rm.c - remove files - * - * Copyright (c) 2007 Sascha Hauer , 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: © 2007 Sascha Hauer , Pengutronix + +/* rm.c - remove files */ + #include #include #include diff --git a/commands/saveenv.c b/commands/saveenv.c index bc1202f..203729e 100644 --- a/commands/saveenv.c +++ b/commands/saveenv.c @@ -1,19 +1,5 @@ -/* - * Copyright (c) 2007 Sascha Hauer , 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: © 2007 Sascha Hauer , Pengutronix #include #include diff --git a/commands/seed.c b/commands/seed.c index e378cd7..3947208 100644 --- a/commands/seed.c +++ b/commands/seed.c @@ -1,16 +1,5 @@ -/* - * (c) 2017 Oleksij Rempel - * - * 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. - */ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: © 2017 Oleksij Rempel #include #include diff --git a/commands/setenv.c b/commands/setenv.c index af4dd29..3cf769d 100644 --- a/commands/setenv.c +++ b/commands/setenv.c @@ -1,19 +1,5 @@ -/* - * Copyright (c) 2007 Sascha Hauer , 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: © 2007 Sascha Hauer , Pengutronix #include #include diff --git a/commands/sleep.c b/commands/sleep.c index 2491dc2..b462ef4 100644 --- a/commands/sleep.c +++ b/commands/sleep.c @@ -1,21 +1,7 @@ -/* - * sleep.c - delay execution - * - * Copyright (c) 2007 Sascha Hauer , 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: © 2007 Sascha Hauer , Pengutronix + +/* sleep.c - delay execution */ #include #include diff --git a/commands/smc.c b/commands/smc.c index 84102f3..2a53e1b 100644 --- a/commands/smc.c +++ b/commands/smc.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: GPL-2.0-only #include #include diff --git a/commands/spd_decode.c b/commands/spd_decode.c index 08b9589..e8ee339 100644 --- a/commands/spd_decode.c +++ b/commands/spd_decode.c @@ -1,25 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: © 2015 Alexander Smirnov + /* * This program is decoding and printing SPD contents * in human readable format * As an argument program, you must specify the file name. - * - * 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 SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ALTERA CORPORATION BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF - * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * Copyright (C) 2015 Alexander Smirnov */ #include diff --git a/commands/spi.c b/commands/spi.c index d35aa1c..c6cfd4f 100644 --- a/commands/spi.c +++ b/commands/spi.c @@ -1,9 +1,5 @@ -/* - * Copyright (c) 2012 Jean-Christophe PLAGNIOL-VILLARD - * - * Under GPLv2 only - * - */ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: © 2012 Jean-Christophe PLAGNIOL-VILLARD #include #include diff --git a/commands/state.c b/commands/state.c index 0dbca9f..e7cb990 100644 --- a/commands/state.c +++ b/commands/state.c @@ -1,16 +1,5 @@ -/* - * Copyright (C) 2012 Jan Luebbe - * - * 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. - */ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: © 2012 Jan Luebbe #include #include diff --git a/commands/stddev.c b/commands/stddev.c index 2b3d084..e9b7dcc 100644 --- a/commands/stddev.c +++ b/commands/stddev.c @@ -1,19 +1,5 @@ -/* - * Copyright (c) 2011 Sascha Hauer , 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: © 2011 Sascha Hauer , Pengutronix #include #include diff --git a/commands/test.c b/commands/test.c index 86636de..505b7c5 100644 --- a/commands/test.c +++ b/commands/test.c @@ -1,23 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: © 2007 Sascha Hauer , Pengutronix + /* * test.c - sh like test * - * Originally based on bareboxs do_test, but mostly reimplemented + * Originally based on barebox's do_test, but mostly reimplemented * for smaller binary size - * - * Copyright (c) 2007 Sascha Hauer , 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. - * */ #include #include diff --git a/commands/tftp.c b/commands/tftp.c index 08366b4..1569819 100644 --- a/commands/tftp.c +++ b/commands/tftp.c @@ -1,20 +1,8 @@ -/* - * tftp.c - (up)load tftp files - * - * Copyright (c) 2012 Sascha Hauer , 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: © 2012 Sascha Hauer , Pengutronix + +/* tftp.c - (up)load tftp files */ + #include #include #include diff --git a/commands/timeout.c b/commands/timeout.c index db88900..ba55846 100644 --- a/commands/timeout.c +++ b/commands/timeout.c @@ -1,21 +1,7 @@ -/* - * timeout - wait for timeout - * - * Copyright (c) 2007 Sascha Hauer , 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: © 2007 Sascha Hauer , Pengutronix + +/* timeout - wait for timeout */ #include #include diff --git a/commands/trigger.c b/commands/trigger.c index 0dd3b34..c1402b6 100644 --- a/commands/trigger.c +++ b/commands/trigger.c @@ -1,22 +1,7 @@ -/* - * LED trigger command support for barebox - * - * (C) Copyright 2010 Sascha Hauer, 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 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. - * - */ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: © 2010 Sascha Hauer, Pengutronix + +/* LED trigger command support for barebox */ #include #include diff --git a/commands/true.c b/commands/true.c index ad2be8e..be76ce5 100644 --- a/commands/true.c +++ b/commands/true.c @@ -1,21 +1,5 @@ -/* - * (C) Copyright 2000-2003 - * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * 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 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. - * - */ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: © 2000-2003 Wolfgang Denk , DENX Software Engineering #include #include diff --git a/commands/ubiformat.c b/commands/ubiformat.c index 7537e6b..75cf234 100644 --- a/commands/ubiformat.c +++ b/commands/ubiformat.c @@ -1,17 +1,6 @@ -/* - * Copyright (C) 2008 Nokia Corporation - * Copyright (C) 2012 Wolfram Sang, Pengutronix - * - * 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. - */ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: © 2008 Nokia Corporation +// SPDX-FileCopyrightText: © 2012 Wolfram Sang, Pengutronix /* * An utility to format MTD devices into UBI and flash UBI images. diff --git a/commands/ubsan.c b/commands/ubsan.c index 784678d..620b477 100644 --- a/commands/ubsan.c +++ b/commands/ubsan.c @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: GPL-2.0-only + #include #include #include diff --git a/commands/umount.c b/commands/umount.c index fdf4da9..b26c7c3 100644 --- a/commands/umount.c +++ b/commands/umount.c @@ -1,21 +1,8 @@ -/* - * umount.c - umount filesystems - * - * Copyright (c) 2007 Sascha Hauer , 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: © 2007 Sascha Hauer , Pengutronix + +/* umount.c - umount filesystems */ + #include #include #include diff --git a/commands/uncompress.c b/commands/uncompress.c index 38d53e7..10884d6 100644 --- a/commands/uncompress.c +++ b/commands/uncompress.c @@ -1,21 +1,7 @@ -/* - * uncompress.c - uncompress a compressed file - * - * Copyright (c) 2010 Sascha Hauer , 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: © 2010 Sascha Hauer , Pengutronix + +/* uncompress.c - uncompress a compressed file */ #include #include diff --git a/commands/usb.c b/commands/usb.c index 9a23aa2..ca8d3e0 100644 --- a/commands/usb.c +++ b/commands/usb.c @@ -1,21 +1,8 @@ -/* - * usb.c - rescan for USB devices - * - * Copyright (c) 2011 Sascha Hauer , 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: © 2011 Sascha Hauer , Pengutronix + +/* usb.c - rescan for USB devices */ + #include #include #include diff --git a/commands/usbgadget.c b/commands/usbgadget.c index e8e1e9a..193da86 100644 --- a/commands/usbgadget.c +++ b/commands/usbgadget.c @@ -1,23 +1,9 @@ -/* - * usbserial.c - usb serial gadget command - * - * Copyright (c) 2011 Eric Bénard , Eukréa Electromatique - * based on dfu.c which is : - * Copyright (c) 2009 Sascha Hauer , 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 , Pengutronix +// SPDX-FileCopyrightText: © 2011 Eric Bénard , Eukréa Electromatique + +/* usbserial.c - usb serial gadget command */ + #include #include #include diff --git a/commands/usbserial.c b/commands/usbserial.c index ad6bc63..567018c 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 , Eukréa Electromatique - * based on dfu.c which is : - * Copyright (c) 2009 Sascha Hauer , 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 , Pengutronix +// SPDX-FileCopyrightText: © 2011 Eric Bénard , Eukréa Electromatique + +/* usbserial.c - usb serial gadget command */ + #include #include #include diff --git a/commands/version.c b/commands/version.c index 090f2dd..764c208 100644 --- a/commands/version.c +++ b/commands/version.c @@ -1,21 +1,5 @@ -/* - * (C) Copyright 2000-2003 - * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * 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 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. - * - */ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: © Wolfgang Denk , DENX Software Engineering #include #include diff --git a/commands/wd.c b/commands/wd.c index 8029bab..c186244 100644 --- a/commands/wd.c +++ b/commands/wd.c @@ -1,16 +1,5 @@ -/* - * (c) 2012 Juergen Beisert - * - * 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. - */ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: © 2012 Juergen Beisert #include #include