diff --git a/LICENSES/preferred/MIT b/LICENSES/preferred/MIT new file mode 100644 index 0000000..f33a68c --- /dev/null +++ b/LICENSES/preferred/MIT @@ -0,0 +1,30 @@ +Valid-License-Identifier: MIT +SPDX-URL: https://spdx.org/licenses/MIT.html +Usage-Guide: + To use the MIT License put the following SPDX tag/value pair into a + comment according to the placement guidelines in the licensing rules + documentation: + SPDX-License-Identifier: MIT +License-Text: + +MIT License + +Copyright (c) + +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 SOFTWARE. diff --git a/arch/arm/boards/afi-gf/config.h b/arch/arm/boards/afi-gf/config.h deleted file mode 100644 index aeeda36..0000000 --- a/arch/arm/boards/afi-gf/config.h +++ /dev/null @@ -1,22 +0,0 @@ -/* - * 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. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ - -#ifndef __CONFIG_H -#define __CONFIG_H - -#endif /* __CONFIG_H */ diff --git a/arch/arm/boards/altera-socdk/config.h b/arch/arm/boards/altera-socdk/config.h deleted file mode 100644 index da84fa5..0000000 --- a/arch/arm/boards/altera-socdk/config.h +++ /dev/null @@ -1 +0,0 @@ -/* nothing */ diff --git a/arch/arm/boards/avnet-zedboard/lowlevel.c b/arch/arm/boards/avnet-zedboard/lowlevel.c index eb85df5..6614e82 100644 --- a/arch/arm/boards/avnet-zedboard/lowlevel.c +++ b/arch/arm/boards/avnet-zedboard/lowlevel.c @@ -2,9 +2,6 @@ * * (c) 2013 Steffen Trumtrar * - * 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 diff --git a/arch/arm/boards/ebv-socrates/config.h b/arch/arm/boards/ebv-socrates/config.h deleted file mode 100644 index da84fa5..0000000 --- a/arch/arm/boards/ebv-socrates/config.h +++ /dev/null @@ -1 +0,0 @@ -/* nothing */ diff --git a/arch/arm/boards/edb93xx/early_udelay.h b/arch/arm/boards/edb93xx/early_udelay.h index 97e018a..371ab50 100644 --- a/arch/arm/boards/edb93xx/early_udelay.h +++ b/arch/arm/boards/edb93xx/early_udelay.h @@ -1,9 +1,6 @@ /* * Copyright (C) 2009 Matthias Kaehlcke * - * 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 diff --git a/arch/arm/boards/edb93xx/edb93xx.c b/arch/arm/boards/edb93xx/edb93xx.c index 99c6954..62efa8f 100644 --- a/arch/arm/boards/edb93xx/edb93xx.c +++ b/arch/arm/boards/edb93xx/edb93xx.c @@ -1,9 +1,6 @@ /* * Copyright (C) 2009 Matthias Kaehlcke * - * 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 diff --git a/arch/arm/boards/edb93xx/edb93xx.h b/arch/arm/boards/edb93xx/edb93xx.h index 4345909..5293858 100644 --- a/arch/arm/boards/edb93xx/edb93xx.h +++ b/arch/arm/boards/edb93xx/edb93xx.h @@ -1,9 +1,6 @@ /* * Copyright (C) 2009 Matthias Kaehlcke * - * 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 diff --git a/arch/arm/boards/edb93xx/flash_cfg.c b/arch/arm/boards/edb93xx/flash_cfg.c index f2d5800..f3b8873 100644 --- a/arch/arm/boards/edb93xx/flash_cfg.c +++ b/arch/arm/boards/edb93xx/flash_cfg.c @@ -3,9 +3,6 @@ * * Copyright (C) 2009 Matthias Kaehlcke * - * 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 diff --git a/arch/arm/boards/edb93xx/pll_cfg.c b/arch/arm/boards/edb93xx/pll_cfg.c index 9d7e178..8be679e 100644 --- a/arch/arm/boards/edb93xx/pll_cfg.c +++ b/arch/arm/boards/edb93xx/pll_cfg.c @@ -5,9 +5,6 @@ * * Copyright (C) 2006 Dominic Rath * - * 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 diff --git a/arch/arm/boards/edb93xx/pll_cfg.h b/arch/arm/boards/edb93xx/pll_cfg.h index 07231d7..ad3d896 100644 --- a/arch/arm/boards/edb93xx/pll_cfg.h +++ b/arch/arm/boards/edb93xx/pll_cfg.h @@ -3,9 +3,6 @@ * * Copyright (C) 2009 Matthias Kaehlcke * - * 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 diff --git a/arch/arm/boards/edb93xx/sdram_cfg.c b/arch/arm/boards/edb93xx/sdram_cfg.c index 5c2a537..11e4fd7 100644 --- a/arch/arm/boards/edb93xx/sdram_cfg.c +++ b/arch/arm/boards/edb93xx/sdram_cfg.c @@ -3,9 +3,6 @@ * * Copyright (C) 2006 Dominic Rath * - * 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 diff --git a/arch/arm/boards/edb93xx/sdram_cfg.h b/arch/arm/boards/edb93xx/sdram_cfg.h index 0dc1df2..a5720b8 100644 --- a/arch/arm/boards/edb93xx/sdram_cfg.h +++ b/arch/arm/boards/edb93xx/sdram_cfg.h @@ -3,9 +3,6 @@ * * Copyright (C) 2006 Dominic Rath * - * 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 diff --git a/arch/arm/boards/eukrea_cpuimx25/Makefile b/arch/arm/boards/eukrea_cpuimx25/Makefile index 159701d..0e64b3e 100644 --- a/arch/arm/boards/eukrea_cpuimx25/Makefile +++ b/arch/arm/boards/eukrea_cpuimx25/Makefile @@ -1,9 +1,6 @@ # # (C) 2010 Eukrea Electromatique, Eric Bénard # -# 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 diff --git a/arch/arm/boards/eukrea_cpuimx25/eukrea_cpuimx25.c b/arch/arm/boards/eukrea_cpuimx25/eukrea_cpuimx25.c index 77d92f0..e82f43d 100644 --- a/arch/arm/boards/eukrea_cpuimx25/eukrea_cpuimx25.c +++ b/arch/arm/boards/eukrea_cpuimx25/eukrea_cpuimx25.c @@ -2,9 +2,6 @@ * (C) 2009 Pengutronix, Sascha Hauer * (c) 2010 Eukrea Electromatique, Eric Bénard * - * 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 diff --git a/arch/arm/boards/eukrea_cpuimx25/lowlevel.c b/arch/arm/boards/eukrea_cpuimx25/lowlevel.c index 95159bb..9516c13 100644 --- a/arch/arm/boards/eukrea_cpuimx25/lowlevel.c +++ b/arch/arm/boards/eukrea_cpuimx25/lowlevel.c @@ -3,9 +3,6 @@ * (c) 2007 Pengutronix, Sascha Hauer * (c) 2010 Eukrea Electromatique, Eric Bénard * - * 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 diff --git a/arch/arm/boards/eukrea_cpuimx35/Makefile b/arch/arm/boards/eukrea_cpuimx35/Makefile index 3ef2c4e..dd8f9eb 100644 --- a/arch/arm/boards/eukrea_cpuimx35/Makefile +++ b/arch/arm/boards/eukrea_cpuimx35/Makefile @@ -1,9 +1,6 @@ # # (C) Copyright 2007 Juergen Beisert # -# 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 diff --git a/arch/arm/boards/eukrea_cpuimx35/lowlevel.c b/arch/arm/boards/eukrea_cpuimx35/lowlevel.c index 4bb41b0..b641d68 100644 --- a/arch/arm/boards/eukrea_cpuimx35/lowlevel.c +++ b/arch/arm/boards/eukrea_cpuimx35/lowlevel.c @@ -2,9 +2,6 @@ * * (c) 2007 Pengutronix, Sascha Hauer * - * 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 diff --git a/arch/arm/boards/freescale-mx25-3ds/3stack.c b/arch/arm/boards/freescale-mx25-3ds/3stack.c index 3ab8c4a..1b42a8a 100644 --- a/arch/arm/boards/freescale-mx25-3ds/3stack.c +++ b/arch/arm/boards/freescale-mx25-3ds/3stack.c @@ -1,9 +1,6 @@ /* * (C) 2009 Pengutronix, Sascha Hauer * - * 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 diff --git a/arch/arm/boards/freescale-mx25-3ds/Makefile b/arch/arm/boards/freescale-mx25-3ds/Makefile index 20787ef..acc7c92 100644 --- a/arch/arm/boards/freescale-mx25-3ds/Makefile +++ b/arch/arm/boards/freescale-mx25-3ds/Makefile @@ -1,9 +1,6 @@ # # (C) Copyright 2007 Juergen Beisert # -# 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 diff --git a/arch/arm/boards/freescale-mx25-3ds/lowlevel_init.S b/arch/arm/boards/freescale-mx25-3ds/lowlevel_init.S index bf3830d..62dac94 100644 --- a/arch/arm/boards/freescale-mx25-3ds/lowlevel_init.S +++ b/arch/arm/boards/freescale-mx25-3ds/lowlevel_init.S @@ -2,9 +2,6 @@ * * (c) 2007 Pengutronix, Sascha Hauer * - * 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 diff --git a/arch/arm/boards/freescale-mx35-3ds/board-mx35_3stack.h b/arch/arm/boards/freescale-mx35-3ds/board-mx35_3stack.h index 3bcb470..8222f87 100644 --- a/arch/arm/boards/freescale-mx35-3ds/board-mx35_3stack.h +++ b/arch/arm/boards/freescale-mx35-3ds/board-mx35_3stack.h @@ -4,9 +4,6 @@ * * (C) Copyright 2008 Freescale Semiconductor, Inc. * - * 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 diff --git a/arch/arm/boards/freescale-mx35-3ds/lowlevel_init.S b/arch/arm/boards/freescale-mx35-3ds/lowlevel_init.S index 011de6d..cb31b69 100644 --- a/arch/arm/boards/freescale-mx35-3ds/lowlevel_init.S +++ b/arch/arm/boards/freescale-mx35-3ds/lowlevel_init.S @@ -2,9 +2,6 @@ * * (c) 2007 Pengutronix, Sascha Hauer * - * 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 diff --git a/arch/arm/boards/friendlyarm-tiny210/lowlevel.c b/arch/arm/boards/friendlyarm-tiny210/lowlevel.c index 17a7cf1..875c176 100644 --- a/arch/arm/boards/friendlyarm-tiny210/lowlevel.c +++ b/arch/arm/boards/friendlyarm-tiny210/lowlevel.c @@ -1,9 +1,6 @@ /* * Copyright (C) 2012 Alexey Galakhov * - * 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. diff --git a/arch/arm/boards/globalscale-guruplug/Makefile b/arch/arm/boards/globalscale-guruplug/Makefile index 01c7a25..b08c4a9 100644 --- a/arch/arm/boards/globalscale-guruplug/Makefile +++ b/arch/arm/boards/globalscale-guruplug/Makefile @@ -1,2 +1 @@ -obj-y += board.o lwl-y += lowlevel.o diff --git a/arch/arm/boards/globalscale-guruplug/board.c b/arch/arm/boards/globalscale-guruplug/board.c deleted file mode 100644 index 9c800c5..0000000 --- a/arch/arm/boards/globalscale-guruplug/board.c +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright - * (C) 2013 Thomas Petazzoni - * - * 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. - * - */ - -/* empty */ diff --git a/arch/arm/boards/globalscale-mirabox/Makefile b/arch/arm/boards/globalscale-mirabox/Makefile index 01c7a25..b08c4a9 100644 --- a/arch/arm/boards/globalscale-mirabox/Makefile +++ b/arch/arm/boards/globalscale-mirabox/Makefile @@ -1,2 +1 @@ -obj-y += board.o lwl-y += lowlevel.o diff --git a/arch/arm/boards/globalscale-mirabox/board.c b/arch/arm/boards/globalscale-mirabox/board.c deleted file mode 100644 index 9c800c5..0000000 --- a/arch/arm/boards/globalscale-mirabox/board.c +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright - * (C) 2013 Thomas Petazzoni - * - * 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. - * - */ - -/* empty */ diff --git a/arch/arm/boards/guf-cupid/Makefile b/arch/arm/boards/guf-cupid/Makefile index eaf2a4f..868d062 100644 --- a/arch/arm/boards/guf-cupid/Makefile +++ b/arch/arm/boards/guf-cupid/Makefile @@ -1,9 +1,6 @@ # # (C) Copyright 2007 Juergen Beisert # -# 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 diff --git a/arch/arm/boards/guf-cupid/board.c b/arch/arm/boards/guf-cupid/board.c index a02cecf..60175c1 100644 --- a/arch/arm/boards/guf-cupid/board.c +++ b/arch/arm/boards/guf-cupid/board.c @@ -2,9 +2,6 @@ * (C) 2007 Pengutronix, Sascha Hauer * (C) 2009 Pengutronix, Juergen Beisert * - * 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 diff --git a/arch/arm/boards/guf-cupid/lowlevel.c b/arch/arm/boards/guf-cupid/lowlevel.c index 60dd567..3684dac 100644 --- a/arch/arm/boards/guf-cupid/lowlevel.c +++ b/arch/arm/boards/guf-cupid/lowlevel.c @@ -2,9 +2,6 @@ * * (c) 2007 Pengutronix, Sascha Hauer * - * 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 diff --git a/arch/arm/boards/guf-neso/lowlevel.c b/arch/arm/boards/guf-neso/lowlevel.c index 3ae70ec..07e426d 100644 --- a/arch/arm/boards/guf-neso/lowlevel.c +++ b/arch/arm/boards/guf-neso/lowlevel.c @@ -2,9 +2,6 @@ * * (c) 2007 Pengutronix, Sascha Hauer * - * 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 diff --git a/arch/arm/boards/karo-tx25/Makefile b/arch/arm/boards/karo-tx25/Makefile index 58453b6..02044f1 100644 --- a/arch/arm/boards/karo-tx25/Makefile +++ b/arch/arm/boards/karo-tx25/Makefile @@ -1,9 +1,6 @@ # # (C) Copyright 2011 Sascha Hauer # -# 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 diff --git a/arch/arm/boards/karo-tx25/board.c b/arch/arm/boards/karo-tx25/board.c index a4d4af5..e2a6dcc 100644 --- a/arch/arm/boards/karo-tx25/board.c +++ b/arch/arm/boards/karo-tx25/board.c @@ -1,9 +1,6 @@ /* * (C) 2011 Pengutronix, Sascha Hauer * - * 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 diff --git a/arch/arm/boards/karo-tx25/lowlevel.c b/arch/arm/boards/karo-tx25/lowlevel.c index 6c34944..dff72be 100644 --- a/arch/arm/boards/karo-tx25/lowlevel.c +++ b/arch/arm/boards/karo-tx25/lowlevel.c @@ -2,9 +2,6 @@ * * (c) 2011 Pengutronix, Sascha Hauer * - * 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 diff --git a/arch/arm/boards/karo-tx6x/pmic-ltc3676.c b/arch/arm/boards/karo-tx6x/pmic-ltc3676.c index 0cddb92..7f594e2 100644 --- a/arch/arm/boards/karo-tx6x/pmic-ltc3676.c +++ b/arch/arm/boards/karo-tx6x/pmic-ltc3676.c @@ -1,9 +1,6 @@ /* * Copyright (C) 2014 Lothar Waßmann * - * 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. diff --git a/arch/arm/boards/karo-tx6x/pmic-rn5t567.c b/arch/arm/boards/karo-tx6x/pmic-rn5t567.c index 5397592..db21b4d 100644 --- a/arch/arm/boards/karo-tx6x/pmic-rn5t567.c +++ b/arch/arm/boards/karo-tx6x/pmic-rn5t567.c @@ -1,9 +1,6 @@ /* * Copyright (C) 2014 Lothar Waßmann * - * 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. diff --git a/arch/arm/boards/karo-tx6x/pmic-rn5t618.c b/arch/arm/boards/karo-tx6x/pmic-rn5t618.c index d5806d2..bdec02e 100644 --- a/arch/arm/boards/karo-tx6x/pmic-rn5t618.c +++ b/arch/arm/boards/karo-tx6x/pmic-rn5t618.c @@ -1,9 +1,6 @@ /* * Copyright (C) 2014 Lothar Waßmann * - * 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. diff --git a/arch/arm/boards/kindle3/kindle3.c b/arch/arm/boards/kindle3/kindle3.c index 1d966ff..7c0d60e 100644 --- a/arch/arm/boards/kindle3/kindle3.c +++ b/arch/arm/boards/kindle3/kindle3.c @@ -2,9 +2,6 @@ * (C) 2007 Pengutronix, Sascha Hauer * (C) 2016 Alexander Kurz * - * 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 diff --git a/arch/arm/boards/kindle3/lowlevel.c b/arch/arm/boards/kindle3/lowlevel.c index 19b95fc..83a0ccc 100644 --- a/arch/arm/boards/kindle3/lowlevel.c +++ b/arch/arm/boards/kindle3/lowlevel.c @@ -3,9 +3,6 @@ * (c) 2007 Pengutronix, Sascha Hauer * (c) 2016 Alexander Kurz * - * 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 diff --git a/arch/arm/boards/lubbock/board.c b/arch/arm/boards/lubbock/board.c index c2a0db7..118de04 100644 --- a/arch/arm/boards/lubbock/board.c +++ b/arch/arm/boards/lubbock/board.c @@ -1,9 +1,6 @@ /* * (C) 2011 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 diff --git a/arch/arm/boards/mainstone/board.c b/arch/arm/boards/mainstone/board.c index 0e48e79..78c9bdc 100644 --- a/arch/arm/boards/mainstone/board.c +++ b/arch/arm/boards/mainstone/board.c @@ -1,9 +1,6 @@ /* * (C) 2015 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 diff --git a/arch/arm/boards/marvell-armada-xp-gp/Makefile b/arch/arm/boards/marvell-armada-xp-gp/Makefile index 01c7a25..b08c4a9 100644 --- a/arch/arm/boards/marvell-armada-xp-gp/Makefile +++ b/arch/arm/boards/marvell-armada-xp-gp/Makefile @@ -1,2 +1 @@ -obj-y += board.o lwl-y += lowlevel.o diff --git a/arch/arm/boards/marvell-armada-xp-gp/board.c b/arch/arm/boards/marvell-armada-xp-gp/board.c deleted file mode 100644 index 9c800c5..0000000 --- a/arch/arm/boards/marvell-armada-xp-gp/board.c +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright - * (C) 2013 Thomas Petazzoni - * - * 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. - * - */ - -/* empty */ diff --git a/arch/arm/boards/mioa701/board.c b/arch/arm/boards/mioa701/board.c index cdb86fc..cd166ef 100644 --- a/arch/arm/boards/mioa701/board.c +++ b/arch/arm/boards/mioa701/board.c @@ -1,9 +1,6 @@ /* * (C) 2011 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 diff --git a/arch/arm/boards/mioa701/gpio0_poweroff.c b/arch/arm/boards/mioa701/gpio0_poweroff.c index 01a5d0c..4b34922 100644 --- a/arch/arm/boards/mioa701/gpio0_poweroff.c +++ b/arch/arm/boards/mioa701/gpio0_poweroff.c @@ -1,9 +1,6 @@ /* * (C) 2011 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 diff --git a/arch/arm/boards/mioa701/mioa701.h b/arch/arm/boards/mioa701/mioa701.h index 20b9b51..ba94212 100644 --- a/arch/arm/boards/mioa701/mioa701.h +++ b/arch/arm/boards/mioa701/mioa701.h @@ -1,9 +1,6 @@ /* * (C) 2011 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 diff --git a/arch/arm/boards/module-mb7707/board.c b/arch/arm/boards/module-mb7707/board.c index 7ffad6e..1ab6e7d 100644 --- a/arch/arm/boards/module-mb7707/board.c +++ b/arch/arm/boards/module-mb7707/board.c @@ -2,7 +2,6 @@ * Copyright (C) 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 diff --git a/arch/arm/boards/module-mb7707/lowlevel.c b/arch/arm/boards/module-mb7707/lowlevel.c index fc102e2..b388778 100644 --- a/arch/arm/boards/module-mb7707/lowlevel.c +++ b/arch/arm/boards/module-mb7707/lowlevel.c @@ -2,7 +2,6 @@ * Copyright (C) 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 diff --git a/arch/arm/boards/mx31moboard/Makefile b/arch/arm/boards/mx31moboard/Makefile index 83a6016..abc1f31 100644 --- a/arch/arm/boards/mx31moboard/Makefile +++ b/arch/arm/boards/mx31moboard/Makefile @@ -1,9 +1,6 @@ # # (C) Copyright 2007 Juergen Beisert # -# 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 diff --git a/arch/arm/boards/mx31moboard/lowlevel.c b/arch/arm/boards/mx31moboard/lowlevel.c index 307975d..967dcc4 100644 --- a/arch/arm/boards/mx31moboard/lowlevel.c +++ b/arch/arm/boards/mx31moboard/lowlevel.c @@ -3,9 +3,6 @@ * (c) 2007 Pengutronix, Sascha Hauer * (c) 2014 EPFL, Philippe Rétornaz * - * 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 diff --git a/arch/arm/boards/mx31moboard/mx31moboard.c b/arch/arm/boards/mx31moboard/mx31moboard.c index 2ec1f4f..d6329e5 100644 --- a/arch/arm/boards/mx31moboard/mx31moboard.c +++ b/arch/arm/boards/mx31moboard/mx31moboard.c @@ -2,9 +2,6 @@ * (C) 2007 Pengutronix, Sascha Hauer * (C) 2014 EPFL, Philippe Rétornaz * - * 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 diff --git a/arch/arm/boards/netgear-rn104/Makefile b/arch/arm/boards/netgear-rn104/Makefile index 01c7a25..b08c4a9 100644 --- a/arch/arm/boards/netgear-rn104/Makefile +++ b/arch/arm/boards/netgear-rn104/Makefile @@ -1,2 +1 @@ -obj-y += board.o lwl-y += lowlevel.o diff --git a/arch/arm/boards/netgear-rn104/board.c b/arch/arm/boards/netgear-rn104/board.c deleted file mode 100644 index 40a8c17..0000000 --- a/arch/arm/boards/netgear-rn104/board.c +++ /dev/null @@ -1 +0,0 @@ -/* empty */ diff --git a/arch/arm/boards/panda/lowlevel.c b/arch/arm/boards/panda/lowlevel.c index 1ed2b89..a321a8f 100644 --- a/arch/arm/boards/panda/lowlevel.c +++ b/arch/arm/boards/panda/lowlevel.c @@ -3,9 +3,6 @@ * Texas Instruments, * Richard Woodruff * - * 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. diff --git a/arch/arm/boards/phytec-phycard-omap3/Makefile b/arch/arm/boards/phytec-phycard-omap3/Makefile index a71feec..7a4ab75 100644 --- a/arch/arm/boards/phytec-phycard-omap3/Makefile +++ b/arch/arm/boards/phytec-phycard-omap3/Makefile @@ -1,8 +1,5 @@ # (C) Copyright 2011 Juergen Kilb # -# 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 diff --git a/arch/arm/boards/phytec-phycard-omap4/Makefile b/arch/arm/boards/phytec-phycard-omap4/Makefile index 0fec0c7..ad9f648 100644 --- a/arch/arm/boards/phytec-phycard-omap4/Makefile +++ b/arch/arm/boards/phytec-phycard-omap4/Makefile @@ -1,8 +1,5 @@ # (C) Copyright 2012 Jan Weitzel # -# 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 diff --git a/arch/arm/boards/phytec-phycard-omap4/lowlevel.c b/arch/arm/boards/phytec-phycard-omap4/lowlevel.c index 3035cca..1907127 100644 --- a/arch/arm/boards/phytec-phycard-omap4/lowlevel.c +++ b/arch/arm/boards/phytec-phycard-omap4/lowlevel.c @@ -3,9 +3,6 @@ * Texas Instruments, * Richard Woodruff * - * 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. diff --git a/arch/arm/boards/phytec-phycore-imx27/lowlevel.c b/arch/arm/boards/phytec-phycore-imx27/lowlevel.c index b3bebdb..5f29aac 100644 --- a/arch/arm/boards/phytec-phycore-imx27/lowlevel.c +++ b/arch/arm/boards/phytec-phycore-imx27/lowlevel.c @@ -2,9 +2,6 @@ * * (c) 2007 Pengutronix, Sascha Hauer * - * 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 diff --git a/arch/arm/boards/phytec-phycore-imx31/Makefile b/arch/arm/boards/phytec-phycore-imx31/Makefile index 6c9ca69..566ae81 100644 --- a/arch/arm/boards/phytec-phycore-imx31/Makefile +++ b/arch/arm/boards/phytec-phycore-imx31/Makefile @@ -1,9 +1,6 @@ # # (C) Copyright 2007 Juergen Beisert # -# 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 diff --git a/arch/arm/boards/phytec-phycore-imx31/lowlevel.c b/arch/arm/boards/phytec-phycore-imx31/lowlevel.c index 98e1e87..a209907 100644 --- a/arch/arm/boards/phytec-phycore-imx31/lowlevel.c +++ b/arch/arm/boards/phytec-phycore-imx31/lowlevel.c @@ -2,9 +2,6 @@ * * (c) 2007 Pengutronix, Sascha Hauer * - * 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 diff --git a/arch/arm/boards/phytec-phycore-imx31/pcm037.c b/arch/arm/boards/phytec-phycore-imx31/pcm037.c index 39e7838..35f8950 100644 --- a/arch/arm/boards/phytec-phycore-imx31/pcm037.c +++ b/arch/arm/boards/phytec-phycore-imx31/pcm037.c @@ -1,9 +1,6 @@ /* * (C) 2007 Pengutronix, Sascha Hauer * - * 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 diff --git a/arch/arm/boards/phytec-phycore-imx35/Makefile b/arch/arm/boards/phytec-phycore-imx35/Makefile index 72275ea..0940a4b 100644 --- a/arch/arm/boards/phytec-phycore-imx35/Makefile +++ b/arch/arm/boards/phytec-phycore-imx35/Makefile @@ -1,9 +1,6 @@ # # (C) Copyright 2007 Juergen Beisert # -# 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 diff --git a/arch/arm/boards/phytec-phycore-imx35/lowlevel.c b/arch/arm/boards/phytec-phycore-imx35/lowlevel.c index 9768009..d7b293e 100644 --- a/arch/arm/boards/phytec-phycore-imx35/lowlevel.c +++ b/arch/arm/boards/phytec-phycore-imx35/lowlevel.c @@ -2,9 +2,6 @@ * * (c) 2007 Pengutronix, Sascha Hauer * - * 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 diff --git a/arch/arm/boards/phytec-phycore-imx35/pcm043.c b/arch/arm/boards/phytec-phycore-imx35/pcm043.c index 65b592d..0e9da16 100644 --- a/arch/arm/boards/phytec-phycore-imx35/pcm043.c +++ b/arch/arm/boards/phytec-phycore-imx35/pcm043.c @@ -2,9 +2,6 @@ * (C) 2007 Pengutronix, Sascha Hauer * (C) 2009 Pengutronix, Juergen Beisert * - * 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 diff --git a/arch/arm/boards/phytec-phycore-omap4460/lowlevel.c b/arch/arm/boards/phytec-phycore-omap4460/lowlevel.c index 8c25eab..471e610 100644 --- a/arch/arm/boards/phytec-phycore-omap4460/lowlevel.c +++ b/arch/arm/boards/phytec-phycore-omap4460/lowlevel.c @@ -3,9 +3,6 @@ * Texas Instruments, * Richard Woodruff * - * 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. diff --git a/arch/arm/boards/phytec-phycore-pxa270/board.c b/arch/arm/boards/phytec-phycore-pxa270/board.c index 1424c9c..f4659e7 100644 --- a/arch/arm/boards/phytec-phycore-pxa270/board.c +++ b/arch/arm/boards/phytec-phycore-pxa270/board.c @@ -2,9 +2,6 @@ * (C) 2009 Pengutronix, Sascha Hauer * 2010 by Marc Kleine-Budde * - * 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 diff --git a/arch/arm/boards/phytec-phycore-pxa270/lowlevel_init.S b/arch/arm/boards/phytec-phycore-pxa270/lowlevel_init.S index 39af00b..84599e4 100644 --- a/arch/arm/boards/phytec-phycore-pxa270/lowlevel_init.S +++ b/arch/arm/boards/phytec-phycore-pxa270/lowlevel_init.S @@ -8,9 +8,6 @@ * board/cradle/lowlevel_init.S for another PXA250 setup that is * much cleaner. * - * 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 diff --git a/arch/arm/boards/plathome-openblocks-a6/Makefile b/arch/arm/boards/plathome-openblocks-a6/Makefile index 01c7a25..b08c4a9 100644 --- a/arch/arm/boards/plathome-openblocks-a6/Makefile +++ b/arch/arm/boards/plathome-openblocks-a6/Makefile @@ -1,2 +1 @@ -obj-y += board.o lwl-y += lowlevel.o diff --git a/arch/arm/boards/plathome-openblocks-a6/board.c b/arch/arm/boards/plathome-openblocks-a6/board.c deleted file mode 100644 index 40a8c17..0000000 --- a/arch/arm/boards/plathome-openblocks-a6/board.c +++ /dev/null @@ -1 +0,0 @@ -/* empty */ diff --git a/arch/arm/boards/plathome-openblocks-ax3/Makefile b/arch/arm/boards/plathome-openblocks-ax3/Makefile index 01c7a25..b08c4a9 100644 --- a/arch/arm/boards/plathome-openblocks-ax3/Makefile +++ b/arch/arm/boards/plathome-openblocks-ax3/Makefile @@ -1,2 +1 @@ -obj-y += board.o lwl-y += lowlevel.o diff --git a/arch/arm/boards/plathome-openblocks-ax3/board.c b/arch/arm/boards/plathome-openblocks-ax3/board.c deleted file mode 100644 index 9c800c5..0000000 --- a/arch/arm/boards/plathome-openblocks-ax3/board.c +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright - * (C) 2013 Thomas Petazzoni - * - * 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. - * - */ - -/* empty */ diff --git a/arch/arm/boards/solidrun-cubox/config.h b/arch/arm/boards/solidrun-cubox/config.h deleted file mode 100644 index ca15136..0000000 --- a/arch/arm/boards/solidrun-cubox/config.h +++ /dev/null @@ -1,4 +0,0 @@ -#ifndef __CONFIG_H -#define __CONFIG_H - -#endif /* __CONFIG_H */ diff --git a/arch/arm/boards/solidrun-microsom/1066mhz-4x128mx16.imxcfg b/arch/arm/boards/solidrun-microsom/1066mhz-4x128mx16.imxcfg index 6902fe1..453de74 100644 --- a/arch/arm/boards/solidrun-microsom/1066mhz-4x128mx16.imxcfg +++ b/arch/arm/boards/solidrun-microsom/1066mhz-4x128mx16.imxcfg @@ -3,9 +3,6 @@ * Copyright (C) 2013 SolidRun ltd. * Copyright (C) 2013 Jon Nettleton * - * 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 diff --git a/arch/arm/boards/solidrun-microsom/1066mhz-4x256mx16.imxcfg b/arch/arm/boards/solidrun-microsom/1066mhz-4x256mx16.imxcfg index ac336e5..29ef098 100644 --- a/arch/arm/boards/solidrun-microsom/1066mhz-4x256mx16.imxcfg +++ b/arch/arm/boards/solidrun-microsom/1066mhz-4x256mx16.imxcfg @@ -3,9 +3,6 @@ * Copyright (C) 2013 SolidRun ltd. * Copyright (C) 2013 Jon Nettleton * - * 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 diff --git a/arch/arm/boards/solidrun-microsom/1066mhz-64b.imxcfg b/arch/arm/boards/solidrun-microsom/1066mhz-64b.imxcfg index c8e5a0c..73de49d 100644 --- a/arch/arm/boards/solidrun-microsom/1066mhz-64b.imxcfg +++ b/arch/arm/boards/solidrun-microsom/1066mhz-64b.imxcfg @@ -3,9 +3,6 @@ * Copyright (C) 2013 SolidRun ltd. * Copyright (C) 2013 Jon Nettleton * - * 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 diff --git a/arch/arm/boards/solidrun-microsom/800mhz-2x128mx16.imxcfg b/arch/arm/boards/solidrun-microsom/800mhz-2x128mx16.imxcfg index affb011..9749bb1 100644 --- a/arch/arm/boards/solidrun-microsom/800mhz-2x128mx16.imxcfg +++ b/arch/arm/boards/solidrun-microsom/800mhz-2x128mx16.imxcfg @@ -3,9 +3,6 @@ * Copyright (C) 2013 SolidRun ltd. * Copyright (C) 2013 Jon Nettleton * - * 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 diff --git a/arch/arm/boards/solidrun-microsom/800mhz-32b.imxcfg b/arch/arm/boards/solidrun-microsom/800mhz-32b.imxcfg index 91322f4..d7ca913 100644 --- a/arch/arm/boards/solidrun-microsom/800mhz-32b.imxcfg +++ b/arch/arm/boards/solidrun-microsom/800mhz-32b.imxcfg @@ -3,9 +3,6 @@ * Copyright (C) 2013 SolidRun ltd. * Copyright (C) 2013 Jon Nettleton * - * 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 diff --git a/arch/arm/boards/solidrun-microsom/800mhz-4x128mx16.imxcfg b/arch/arm/boards/solidrun-microsom/800mhz-4x128mx16.imxcfg index 384e6fd..9c04ea6 100644 --- a/arch/arm/boards/solidrun-microsom/800mhz-4x128mx16.imxcfg +++ b/arch/arm/boards/solidrun-microsom/800mhz-4x128mx16.imxcfg @@ -3,9 +3,6 @@ * Copyright (C) 2013 SolidRun ltd. * Copyright (C) 2013 Jon Nettleton * - * 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 diff --git a/arch/arm/boards/solidrun-microsom/800mhz-64b.imxcfg b/arch/arm/boards/solidrun-microsom/800mhz-64b.imxcfg index 021b40b..78b7a23 100644 --- a/arch/arm/boards/solidrun-microsom/800mhz-64b.imxcfg +++ b/arch/arm/boards/solidrun-microsom/800mhz-64b.imxcfg @@ -3,9 +3,6 @@ * Copyright (C) 2013 SolidRun ltd. * Copyright (C) 2013 Jon Nettleton * - * 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 diff --git a/arch/arm/boards/terasic-de0-nano-soc/config.h b/arch/arm/boards/terasic-de0-nano-soc/config.h deleted file mode 100644 index da84fa5..0000000 --- a/arch/arm/boards/terasic-de0-nano-soc/config.h +++ /dev/null @@ -1 +0,0 @@ -/* nothing */ diff --git a/arch/arm/boards/terasic-sockit/config.h b/arch/arm/boards/terasic-sockit/config.h deleted file mode 100644 index da84fa5..0000000 --- a/arch/arm/boards/terasic-sockit/config.h +++ /dev/null @@ -1 +0,0 @@ -/* nothing */ diff --git a/arch/arm/boards/toshiba-ac100/board.c b/arch/arm/boards/toshiba-ac100/board.c index fd470f1..af69ba0 100644 --- a/arch/arm/boards/toshiba-ac100/board.c +++ b/arch/arm/boards/toshiba-ac100/board.c @@ -2,7 +2,6 @@ * 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 diff --git a/arch/arm/boards/turris-omnia/Makefile b/arch/arm/boards/turris-omnia/Makefile index 01c7a25..b08c4a9 100644 --- a/arch/arm/boards/turris-omnia/Makefile +++ b/arch/arm/boards/turris-omnia/Makefile @@ -1,2 +1 @@ -obj-y += board.o lwl-y += lowlevel.o diff --git a/arch/arm/boards/turris-omnia/board.c b/arch/arm/boards/turris-omnia/board.c deleted file mode 100644 index 40a8c17..0000000 --- a/arch/arm/boards/turris-omnia/board.c +++ /dev/null @@ -1 +0,0 @@ -/* empty */ diff --git a/arch/arm/boards/usi-topkick/Makefile b/arch/arm/boards/usi-topkick/Makefile index 01c7a25..b08c4a9 100644 --- a/arch/arm/boards/usi-topkick/Makefile +++ b/arch/arm/boards/usi-topkick/Makefile @@ -1,2 +1 @@ -obj-y += board.o lwl-y += lowlevel.o diff --git a/arch/arm/boards/usi-topkick/board.c b/arch/arm/boards/usi-topkick/board.c deleted file mode 100644 index 7dbe0aa..0000000 --- a/arch/arm/boards/usi-topkick/board.c +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright - * (C) 2013 Jason Cooper - * - * 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. - * - */ - -/* empty */ diff --git a/arch/arm/boards/virt2real/board.c b/arch/arm/boards/virt2real/board.c index b7f7217..451cbf2 100644 --- a/arch/arm/boards/virt2real/board.c +++ b/arch/arm/boards/virt2real/board.c @@ -2,7 +2,6 @@ * Copyright (C) 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 diff --git a/arch/arm/boards/virt2real/lowlevel.c b/arch/arm/boards/virt2real/lowlevel.c index a72334b..bbde5d8 100644 --- a/arch/arm/boards/virt2real/lowlevel.c +++ b/arch/arm/boards/virt2real/lowlevel.c @@ -2,7 +2,6 @@ * Copyright (C) 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 diff --git a/arch/arm/boards/zylonite/board.c b/arch/arm/boards/zylonite/board.c index bd72cd1..e90e7df 100644 --- a/arch/arm/boards/zylonite/board.c +++ b/arch/arm/boards/zylonite/board.c @@ -1,9 +1,6 @@ /* * (C) 2014 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 @@ -41,8 +38,6 @@ #include #include -#include "zylonite.h" - static struct smc91c111_pdata smsc91x_pdata; static struct mrvl_nand_platform_data nand_pdata = { .keep_config = 0, diff --git a/arch/arm/boards/zylonite/zylonite.h b/arch/arm/boards/zylonite/zylonite.h deleted file mode 100644 index d39ab72..0000000 --- a/arch/arm/boards/zylonite/zylonite.h +++ /dev/null @@ -1,22 +0,0 @@ -/* - * (C) 2011 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. - * - */ -#ifndef _ZYLONITE_H_ -#define _ZYLONITE_H_ - - -#endif /* _ZYLONITE_H */ diff --git a/arch/arm/cpu/common.c b/arch/arm/cpu/common.c index c7d1709..bc5d9b5 100644 --- a/arch/arm/cpu/common.c +++ b/arch/arm/cpu/common.c @@ -1,9 +1,6 @@ /* * 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. diff --git a/arch/arm/cpu/cpu.c b/arch/arm/cpu/cpu.c index c5daf6c..0db852b 100644 --- a/arch/arm/cpu/cpu.c +++ b/arch/arm/cpu/cpu.c @@ -3,9 +3,6 @@ * * 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. diff --git a/arch/arm/cpu/cpuinfo.c b/arch/arm/cpu/cpuinfo.c index ff6e1eb..dd67b51 100644 --- a/arch/arm/cpu/cpuinfo.c +++ b/arch/arm/cpu/cpuinfo.c @@ -3,9 +3,6 @@ * * 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. diff --git a/arch/arm/cpu/dtb.c b/arch/arm/cpu/dtb.c index c43474e..1d126a8 100644 --- a/arch/arm/cpu/dtb.c +++ b/arch/arm/cpu/dtb.c @@ -1,9 +1,6 @@ /* * 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. diff --git a/arch/arm/cpu/interrupts.c b/arch/arm/cpu/interrupts.c index b9b91f3..703a5a3 100644 --- a/arch/arm/cpu/interrupts.c +++ b/arch/arm/cpu/interrupts.c @@ -3,9 +3,6 @@ * * 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. diff --git a/arch/arm/cpu/interrupts_64.c b/arch/arm/cpu/interrupts_64.c index baccf47..f462835 100644 --- a/arch/arm/cpu/interrupts_64.c +++ b/arch/arm/cpu/interrupts_64.c @@ -3,9 +3,6 @@ * * Copyright (c) 2018 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. diff --git a/arch/arm/cpu/mmu.c b/arch/arm/cpu/mmu.c index 1f97c28..2aa5322 100644 --- a/arch/arm/cpu/mmu.c +++ b/arch/arm/cpu/mmu.c @@ -1,9 +1,6 @@ /* * Copyright (c) 2009-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. diff --git a/arch/arm/cpu/mmu_64.c b/arch/arm/cpu/mmu_64.c index 14d955c..8324ced 100644 --- a/arch/arm/cpu/mmu_64.c +++ b/arch/arm/cpu/mmu_64.c @@ -2,9 +2,6 @@ * Copyright (c) 2009-2013 Sascha Hauer , Pengutronix * Copyright (c) 2016 Raphaël Poggi * - * 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. diff --git a/arch/arm/cpu/mmuinfo.c b/arch/arm/cpu/mmuinfo.c index c7ec76c..1db6eb3 100644 --- a/arch/arm/cpu/mmuinfo.c +++ b/arch/arm/cpu/mmuinfo.c @@ -3,9 +3,6 @@ * * Copyright (c) Jan Luebbe , 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. diff --git a/arch/arm/cpu/start.c b/arch/arm/cpu/start.c index d99dd14..2cf2145 100644 --- a/arch/arm/cpu/start.c +++ b/arch/arm/cpu/start.c @@ -1,9 +1,6 @@ /* * 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. diff --git a/arch/arm/cpu/uncompress.c b/arch/arm/cpu/uncompress.c index 88d073e..3eb0132 100644 --- a/arch/arm/cpu/uncompress.c +++ b/arch/arm/cpu/uncompress.c @@ -4,9 +4,6 @@ * Copyright (c) 2010-2013 Sascha Hauer , Pengutronix * 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. diff --git a/arch/arm/dts/vexpress-v2p-ca9.dts b/arch/arm/dts/vexpress-v2p-ca9.dts index d097533..b13c114 100644 --- a/arch/arm/dts/vexpress-v2p-ca9.dts +++ b/arch/arm/dts/vexpress-v2p-ca9.dts @@ -16,19 +16,23 @@ #address-cells = <1>; #size-cells = <1>; - partition@0 { - label = "barebox"; - reg = <0x0 0x80000>; - }; + partitions { + compatible = "fixed-partitions"; - barebox_env: partition@80000 { - label = "barebox-environment"; - reg = <0x80000 0x80000>; - }; + partition@0 { + label = "barebox"; + reg = <0x0 0x80000>; + }; - state_storage: partition@100000 { - label = "barebox-state"; - reg = <0x100000 0x100000>; + barebox_env: partition@80000 { + label = "barebox-environment"; + reg = <0x80000 0x80000>; + }; + + state_storage: partition@100000 { + label = "barebox-state"; + reg = <0x100000 0x100000>; + }; }; }; }; diff --git a/arch/arm/include/asm/barebox-arm.h b/arch/arm/include/asm/barebox-arm.h index 599852d..9277b84 100644 --- a/arch/arm/include/asm/barebox-arm.h +++ b/arch/arm/include/asm/barebox-arm.h @@ -7,9 +7,6 @@ * Sysgo Real-Time Solutions, GmbH * Alex Zuepke * - * 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 diff --git a/arch/arm/lib/pbl.lds.S b/arch/arm/lib/pbl.lds.S index b593d03..55ff4e1 100644 --- a/arch/arm/lib/pbl.lds.S +++ b/arch/arm/lib/pbl.lds.S @@ -1,9 +1,6 @@ /* * (C) Copyright 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 as * published by the Free Software Foundation; either version 2 of diff --git a/arch/arm/lib32/barebox.lds.S b/arch/arm/lib32/barebox.lds.S index c479e02..ed27927 100644 --- a/arch/arm/lib32/barebox.lds.S +++ b/arch/arm/lib32/barebox.lds.S @@ -2,9 +2,6 @@ * (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 diff --git a/arch/arm/lib32/div0.c b/arch/arm/lib32/div0.c index 852cb72..46f6452 100644 --- a/arch/arm/lib32/div0.c +++ b/arch/arm/lib32/div0.c @@ -2,9 +2,6 @@ * (C) Copyright 2002 * 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 diff --git a/arch/arm/lib64/barebox.lds.S b/arch/arm/lib64/barebox.lds.S index cf6ef18..8ae7bfb 100644 --- a/arch/arm/lib64/barebox.lds.S +++ b/arch/arm/lib64/barebox.lds.S @@ -2,9 +2,6 @@ * (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 diff --git a/arch/arm/lib64/div0.c b/arch/arm/lib64/div0.c index 852cb72..46f6452 100644 --- a/arch/arm/lib64/div0.c +++ b/arch/arm/lib64/div0.c @@ -2,9 +2,6 @@ * (C) Copyright 2002 * 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 diff --git a/arch/arm/mach-at91/at91rm9200_time.c b/arch/arm/mach-at91/at91rm9200_time.c index 6397507..975cd95 100644 --- a/arch/arm/mach-at91/at91rm9200_time.c +++ b/arch/arm/mach-at91/at91rm9200_time.c @@ -10,9 +10,6 @@ * (C) Copyright 2002 * Gary Jennejohn, DENX Software Engineering, * - * 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 diff --git a/arch/arm/mach-bcm283x/include/mach/debug_ll.h b/arch/arm/mach-bcm283x/include/mach/debug_ll.h index 99c59d0..4bfa5ab 100644 --- a/arch/arm/mach-bcm283x/include/mach/debug_ll.h +++ b/arch/arm/mach-bcm283x/include/mach/debug_ll.h @@ -2,7 +2,6 @@ * Copyright (C) 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 diff --git a/arch/arm/mach-davinci/include/mach/debug_ll.h b/arch/arm/mach-davinci/include/mach/debug_ll.h index 587f408..d509e84 100644 --- a/arch/arm/mach-davinci/include/mach/debug_ll.h +++ b/arch/arm/mach-davinci/include/mach/debug_ll.h @@ -2,7 +2,6 @@ * Copyright (C) 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 diff --git a/arch/arm/mach-digic/include/mach/debug_ll.h b/arch/arm/mach-digic/include/mach/debug_ll.h index 721fd44..3b17100 100644 --- a/arch/arm/mach-digic/include/mach/debug_ll.h +++ b/arch/arm/mach-digic/include/mach/debug_ll.h @@ -2,7 +2,6 @@ * Copyright (C) 2013, 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 diff --git a/arch/arm/mach-digic/include/mach/digic4.h b/arch/arm/mach-digic/include/mach/digic4.h index ffc7979..54a897f 100644 --- a/arch/arm/mach-digic/include/mach/digic4.h +++ b/arch/arm/mach-digic/include/mach/digic4.h @@ -2,7 +2,6 @@ * Copyright (C) 2013 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 diff --git a/arch/arm/mach-digic/include/mach/uart.h b/arch/arm/mach-digic/include/mach/uart.h index 043f7cd..481c3c6 100644 --- a/arch/arm/mach-digic/include/mach/uart.h +++ b/arch/arm/mach-digic/include/mach/uart.h @@ -2,7 +2,6 @@ * Copyright (C) 2013 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 diff --git a/arch/arm/mach-ep93xx/clocksource.c b/arch/arm/mach-ep93xx/clocksource.c index 83c05ce..4fdcc36 100644 --- a/arch/arm/mach-ep93xx/clocksource.c +++ b/arch/arm/mach-ep93xx/clocksource.c @@ -1,9 +1,6 @@ /* * Copyright (C) 2009 Matthias Kaehlcke * - * 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 diff --git a/arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h b/arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h index 544f7f9..f1d3076 100644 --- a/arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h +++ b/arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h @@ -16,8 +16,6 @@ * Copyright (C) 2003 Cirrus Logic, Inc * Copyright (C) 1999 ARM Limited. * - * 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 diff --git a/arch/arm/mach-ep93xx/led.c b/arch/arm/mach-ep93xx/led.c index 47e24cd..cbd035b 100644 --- a/arch/arm/mach-ep93xx/led.c +++ b/arch/arm/mach-ep93xx/led.c @@ -1,9 +1,6 @@ /* * Copyright (C) 2009 Matthias Kaehlcke * - * 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 diff --git a/arch/arm/mach-ep93xx/led.h b/arch/arm/mach-ep93xx/led.h index b7b082f..7ac907e 100644 --- a/arch/arm/mach-ep93xx/led.h +++ b/arch/arm/mach-ep93xx/led.h @@ -1,9 +1,6 @@ /* * Copyright (C) 2009 Matthias Kaehlcke * - * 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 diff --git a/arch/arm/mach-ep93xx/lowlevel_init.S b/arch/arm/mach-ep93xx/lowlevel_init.S index 7079246..8b0ce37 100644 --- a/arch/arm/mach-ep93xx/lowlevel_init.S +++ b/arch/arm/mach-ep93xx/lowlevel_init.S @@ -5,9 +5,6 @@ * * Copyright (C) 2006 Dominic Rath * - * 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 diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig index 072c659..6dd5cb2 100644 --- a/arch/arm/mach-imx/Kconfig +++ b/arch/arm/mach-imx/Kconfig @@ -845,6 +845,16 @@ CONFIG_HABV4_CSF_CRT_PEM CONFIG_HABV4_IMG_CRT_PEM +config HABV4_SRK_INDEX + depends on HABV4 + int "SRK index" + default 0 + help + Select the Super Root Key used in the Command Sequence File to sign + the CSF binary. This should only be changed if a previous key was + revoked and another key needs to be used. For HABV4 the Index is in + the range from 0 to 3. + if HABV4 && !HAB_CERTS_ENV config HABV4_TABLE_BIN diff --git a/arch/arm/mach-imx/boot.c b/arch/arm/mach-imx/boot.c index 7bce1c7..ef86830 100644 --- a/arch/arm/mach-imx/boot.c +++ b/arch/arm/mach-imx/boot.c @@ -31,6 +31,7 @@ #include #include #include +#include static void @@ -320,10 +321,13 @@ #define IMX6_SRC_SBMR1 0x04 #define IMX6_SRC_SBMR2 0x1c +#define IMX6_SRC_GPR9 0x40 +#define IMX6_SRC_GPR10 0x44 #define IMX6_BMOD_SERIAL 0b01 #define IMX6_BMOD_RESERVED 0b11 #define IMX6_BMOD_FUSES 0b00 #define BT_FUSE_SEL BIT(4) +#define GPR10_BOOT_FROM_GPR9 BIT(28) static bool imx6_bootsource_reserved(uint32_t sbmr2) { @@ -342,6 +346,13 @@ !(sbmr2 & BT_FUSE_SEL)); } +static bool imx6_bootsource_serial_forced(uint32_t bootmode) +{ + if (cpu_mx6_is_mx6ul() || cpu_mx6_is_mx6ull()) + return bootmode == 2; + return bootmode == 1; +} + static int __imx6_bootsource_serial_rom(uint32_t r) { return FIELD_GET(BOOT_CFG4(2, 0), r); @@ -388,37 +399,53 @@ return FIELD_GET(BOOT_CFG2(4, 3), r); } +static u32 imx6_get_src_boot_mode(void __iomem *src_base) +{ + if (readl(src_base + IMX6_SRC_GPR10) & GPR10_BOOT_FROM_GPR9) + return readl(src_base + IMX6_SRC_GPR9); + + return readl(src_base + IMX6_SRC_SBMR1); +} + void imx6_get_boot_source(enum bootsource *src, int *instance) { void __iomem *src_base = IOMEM(MX6_SRC_BASE_ADDR); - uint32_t sbmr1 = readl(src_base + IMX6_SRC_SBMR1); uint32_t sbmr2 = readl(src_base + IMX6_SRC_SBMR2); + uint32_t bootmode, bootsrc; + + bootmode = imx6_get_src_boot_mode(src_base); if (imx6_bootsource_reserved(sbmr2)) return; - if (imx6_bootsource_serial(sbmr2)) { + bootsrc = imx53_bootsource_internal(bootmode); + + if (imx6_bootsource_serial(sbmr2) || + imx6_bootsource_serial_forced(bootsrc)) { *src = BOOTSOURCE_SERIAL; return; } - switch (imx53_bootsource_internal(sbmr1)) { - case 2: + switch (bootsrc) { + case 1: /* only reachable for i.MX6UL(L) */ + *src = BOOTSOURCE_SPI; /* Really: qspi */ + return; + case 2: /* unreachable for i.MX6UL(L) */ *src = BOOTSOURCE_HD; break; case 3: - *src = imx6_bootsource_serial_rom(sbmr1); - *instance = imx6_boot_instance_serial_rom(sbmr1); + *src = imx6_bootsource_serial_rom(bootmode); + *instance = imx6_boot_instance_serial_rom(bootmode); break; case 4: case 5: case 6: case 7: *src = BOOTSOURCE_MMC; - *instance = imx6_boot_instance_mmc(sbmr1); + *instance = imx6_boot_instance_mmc(bootmode); break; default: - if (imx53_bootsource_nand(sbmr1)) + if (imx53_bootsource_nand(bootmode)) *src = BOOTSOURCE_NAND; break; } diff --git a/arch/arm/mach-imx/esdctl-v4.c b/arch/arm/mach-imx/esdctl-v4.c index b32f56d..d9f6e91 100644 --- a/arch/arm/mach-imx/esdctl-v4.c +++ b/arch/arm/mach-imx/esdctl-v4.c @@ -3,9 +3,6 @@ * * 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. diff --git a/arch/arm/mach-imx/esdctl.c b/arch/arm/mach-imx/esdctl.c index 25e7c83..5d595ad 100644 --- a/arch/arm/mach-imx/esdctl.c +++ b/arch/arm/mach-imx/esdctl.c @@ -3,9 +3,6 @@ * * 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. diff --git a/arch/arm/mach-imx/imx-bbu-external-nand.c b/arch/arm/mach-imx/imx-bbu-external-nand.c index fa43d2e..8aa4f15 100644 --- a/arch/arm/mach-imx/imx-bbu-external-nand.c +++ b/arch/arm/mach-imx/imx-bbu-external-nand.c @@ -4,9 +4,6 @@ * * 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. diff --git a/arch/arm/mach-imx/imx-bbu-internal.c b/arch/arm/mach-imx/imx-bbu-internal.c index f6f6636..a922470 100644 --- a/arch/arm/mach-imx/imx-bbu-internal.c +++ b/arch/arm/mach-imx/imx-bbu-internal.c @@ -3,9 +3,6 @@ * * 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. diff --git a/arch/arm/mach-imx/include/mach/habv4-imx6-gencsf.h b/arch/arm/mach-imx/include/mach/habv4-imx6-gencsf.h index 5818879..2961b97 100644 --- a/arch/arm/mach-imx/include/mach/habv4-imx6-gencsf.h +++ b/arch/arm/mach-imx/include/mach/habv4-imx6-gencsf.h @@ -19,7 +19,7 @@ hab [Install SRK] hab File = CONFIG_HABV4_TABLE_BIN hab # SRK index within SRK-Table 0..3 -hab Source index = 0 +hab Source index = CONFIG_HABV4_SRK_INDEX hab [Install CSFK] /* target key index in keystore 1 */ diff --git a/arch/arm/mach-imx/include/mach/habv4-imx8-gencsf.h b/arch/arm/mach-imx/include/mach/habv4-imx8-gencsf.h index 34039ee..9ed6893 100644 --- a/arch/arm/mach-imx/include/mach/habv4-imx8-gencsf.h +++ b/arch/arm/mach-imx/include/mach/habv4-imx8-gencsf.h @@ -19,7 +19,7 @@ hab [Install SRK] hab File = CONFIG_HABV4_TABLE_BIN hab # SRK index within SRK-Table 0..3 -hab Source index = 0 +hab Source index = CONFIG_HABV4_SRK_INDEX hab [Install CSFK] /* target key index in keystore 1 */ diff --git a/arch/arm/mach-imx/include/mach/iim.h b/arch/arm/mach-imx/include/mach/iim.h index 2161809..cc89b0d 100644 --- a/arch/arm/mach-imx/include/mach/iim.h +++ b/arch/arm/mach-imx/include/mach/iim.h @@ -1,9 +1,6 @@ /* * (c) 2009 Pengutronix, Sascha Hauer * - * 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 diff --git a/arch/arm/mach-imx/include/mach/imx25-regs.h b/arch/arm/mach-imx/include/mach/imx25-regs.h index 5974897..a5754c5 100644 --- a/arch/arm/mach-imx/include/mach/imx25-regs.h +++ b/arch/arm/mach-imx/include/mach/imx25-regs.h @@ -1,9 +1,6 @@ /* * (c) 2009 Pengutronix, Sascha Hauer * - * 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 diff --git a/arch/arm/mach-imx/include/mach/imx31-regs.h b/arch/arm/mach-imx/include/mach/imx31-regs.h index e491328..3d6c91c 100644 --- a/arch/arm/mach-imx/include/mach/imx31-regs.h +++ b/arch/arm/mach-imx/include/mach/imx31-regs.h @@ -1,9 +1,6 @@ /* * (c) 2007 Pengutronix, Sascha Hauer * - * 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 diff --git a/arch/arm/mach-imx/include/mach/imx35-regs.h b/arch/arm/mach-imx/include/mach/imx35-regs.h index 48bf643..0a3f927 100644 --- a/arch/arm/mach-imx/include/mach/imx35-regs.h +++ b/arch/arm/mach-imx/include/mach/imx35-regs.h @@ -1,9 +1,6 @@ /* * (c) 2009 Pengutronix, Sascha Hauer * - * 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 diff --git a/arch/arm/mach-imx/include/mach/imx6.h b/arch/arm/mach-imx/include/mach/imx6.h index 5560774..b65cdaa 100644 --- a/arch/arm/mach-imx/include/mach/imx6.h +++ b/arch/arm/mach-imx/include/mach/imx6.h @@ -28,6 +28,7 @@ static inline int scu_get_core_count(void) { +#if __LINUX_ARM_ARCH__ <= 7 unsigned long base; unsigned int ncores; @@ -35,6 +36,9 @@ ncores = readl(base + SCU_CONFIG); return (ncores & 0x03) + 1; +#else + return 0; +#endif } #define SI_REV_CPUTYPE(s) (((s) >> 16) & 0xff) diff --git a/arch/arm/mach-omap/auxcr.S b/arch/arm/mach-omap/auxcr.S index aaac0f2..37c9cc7 100644 --- a/arch/arm/mach-omap/auxcr.S +++ b/arch/arm/mach-omap/auxcr.S @@ -1,9 +1,6 @@ /* * 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. diff --git a/arch/arm/mach-omap/include/mach/omap4-mux.h b/arch/arm/mach-omap/include/mach/omap4-mux.h index db92a61..8ef9ae0 100644 --- a/arch/arm/mach-omap/include/mach/omap4-mux.h +++ b/arch/arm/mach-omap/include/mach/omap4-mux.h @@ -5,9 +5,6 @@ * Aneesh V * Balaji Krishnamoorthy * - * 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 diff --git a/arch/arm/mach-omap/include/mach/omap4-silicon.h b/arch/arm/mach-omap/include/mach/omap4-silicon.h index 202da93..b9f6119 100644 --- a/arch/arm/mach-omap/include/mach/omap4-silicon.h +++ b/arch/arm/mach-omap/include/mach/omap4-silicon.h @@ -9,9 +9,6 @@ * Richard Woodruff * Syed Mohammed Khasim * - * 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 diff --git a/arch/arm/mach-omap/include/mach/sdrc.h b/arch/arm/mach-omap/include/mach/sdrc.h index 434f119..1cccbc6 100644 --- a/arch/arm/mach-omap/include/mach/sdrc.h +++ b/arch/arm/mach-omap/include/mach/sdrc.h @@ -7,9 +7,6 @@ * (C) Copyright 2006-2008 * Texas Instruments, * - * 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 diff --git a/arch/arm/mach-omap/omap3_xload_usb.c b/arch/arm/mach-omap/omap3_xload_usb.c index e7dc21e..ac6a434 100644 --- a/arch/arm/mach-omap/omap3_xload_usb.c +++ b/arch/arm/mach-omap/omap3_xload_usb.c @@ -5,9 +5,6 @@ * * Copyright (C) 2011 Rick Bronson * - * 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. diff --git a/arch/arm/mach-pxa/clocksource.c b/arch/arm/mach-pxa/clocksource.c index 5a890ac..ebfe6f1 100644 --- a/arch/arm/mach-pxa/clocksource.c +++ b/arch/arm/mach-pxa/clocksource.c @@ -1,9 +1,6 @@ /* * (C) Copyright 2009 Sascha Hauer * - * 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 diff --git a/arch/arm/mach-pxa/common.c b/arch/arm/mach-pxa/common.c index f2648f4..106ca30 100644 --- a/arch/arm/mach-pxa/common.c +++ b/arch/arm/mach-pxa/common.c @@ -1,9 +1,6 @@ /* * (C) Copyright 2009 Sascha Hauer * - * 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 diff --git a/arch/arm/mach-pxa/devices.c b/arch/arm/mach-pxa/devices.c index b6ac0ba..16f4527 100644 --- a/arch/arm/mach-pxa/devices.c +++ b/arch/arm/mach-pxa/devices.c @@ -1,9 +1,6 @@ /* * (C) 2011 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 diff --git a/arch/arm/mach-pxa/include/mach/devices.h b/arch/arm/mach-pxa/include/mach/devices.h index 8390153..0f2e38d 100644 --- a/arch/arm/mach-pxa/include/mach/devices.h +++ b/arch/arm/mach-pxa/include/mach/devices.h @@ -1,9 +1,6 @@ /* * (C) 2011 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 diff --git a/arch/arm/mach-samsung/clocks-s3c24xx.c b/arch/arm/mach-samsung/clocks-s3c24xx.c index 34b38f3..a2dd869 100644 --- a/arch/arm/mach-samsung/clocks-s3c24xx.c +++ b/arch/arm/mach-samsung/clocks-s3c24xx.c @@ -1,7 +1,4 @@ /* - * 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 diff --git a/arch/arm/mach-samsung/generic.c b/arch/arm/mach-samsung/generic.c index 4f13fce..de38d47 100644 --- a/arch/arm/mach-samsung/generic.c +++ b/arch/arm/mach-samsung/generic.c @@ -1,7 +1,4 @@ /* - * 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 diff --git a/arch/arm/mach-samsung/include/mach/s3c-clocks.h b/arch/arm/mach-samsung/include/mach/s3c-clocks.h index 0c9ee04..ef79002 100644 --- a/arch/arm/mach-samsung/include/mach/s3c-clocks.h +++ b/arch/arm/mach-samsung/include/mach/s3c-clocks.h @@ -1,7 +1,4 @@ /* - * 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 diff --git a/arch/arm/mach-samsung/include/mach/s3c-iomap.h b/arch/arm/mach-samsung/include/mach/s3c-iomap.h index 1ecf0ef..67fb18e 100644 --- a/arch/arm/mach-samsung/include/mach/s3c-iomap.h +++ b/arch/arm/mach-samsung/include/mach/s3c-iomap.h @@ -1,7 +1,4 @@ /* - * 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 diff --git a/arch/arm/mach-samsung/include/mach/s3c-mci.h b/arch/arm/mach-samsung/include/mach/s3c-mci.h index 58ade56..d3ffb5e 100644 --- a/arch/arm/mach-samsung/include/mach/s3c-mci.h +++ b/arch/arm/mach-samsung/include/mach/s3c-mci.h @@ -8,9 +8,6 @@ * * Based (loosely) on the Linux code * - * 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 diff --git a/arch/arm/mach-samsung/mem-s3c24x0.c b/arch/arm/mach-samsung/mem-s3c24x0.c index bf65150..8d20f6d 100644 --- a/arch/arm/mach-samsung/mem-s3c24x0.c +++ b/arch/arm/mach-samsung/mem-s3c24x0.c @@ -1,7 +1,4 @@ /* - * 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 diff --git a/arch/arm/mach-samsung/s3c-timer.c b/arch/arm/mach-samsung/s3c-timer.c index b5118fa..6f38df3 100644 --- a/arch/arm/mach-samsung/s3c-timer.c +++ b/arch/arm/mach-samsung/s3c-timer.c @@ -1,7 +1,4 @@ /* - * 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 diff --git a/arch/arm/mach-tegra/include/mach/debug_ll.h b/arch/arm/mach-tegra/include/mach/debug_ll.h index 290ad58..86218df 100644 --- a/arch/arm/mach-tegra/include/mach/debug_ll.h +++ b/arch/arm/mach-tegra/include/mach/debug_ll.h @@ -2,7 +2,6 @@ * 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 diff --git a/arch/arm/mach-uemd/include/mach/debug_ll.h b/arch/arm/mach-uemd/include/mach/debug_ll.h index ce18244..a565b67 100644 --- a/arch/arm/mach-uemd/include/mach/debug_ll.h +++ b/arch/arm/mach-uemd/include/mach/debug_ll.h @@ -2,7 +2,6 @@ * Copyright (C) 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 diff --git a/arch/mips/boards/dlink-dir-320/Makefile b/arch/mips/boards/dlink-dir-320/Makefile index 01c7a25..b08c4a9 100644 --- a/arch/mips/boards/dlink-dir-320/Makefile +++ b/arch/mips/boards/dlink-dir-320/Makefile @@ -1,2 +1 @@ -obj-y += board.o lwl-y += lowlevel.o diff --git a/arch/mips/boards/dlink-dir-320/board.c b/arch/mips/boards/dlink-dir-320/board.c deleted file mode 100644 index b75812c..0000000 --- a/arch/mips/boards/dlink-dir-320/board.c +++ /dev/null @@ -1,15 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2011, 2014 Antony Pavlov - */ - -#include -#include - -static int dir320_console_init(void) -{ - barebox_set_hostname("dir320"); - - return 0; -} -console_initcall(dir320_console_init); diff --git a/arch/nios2/cpu/cpu.c b/arch/nios2/cpu/cpu.c index 77fde6b..62bcf40 100644 --- a/arch/nios2/cpu/cpu.c +++ b/arch/nios2/cpu/cpu.c @@ -2,9 +2,6 @@ * (C) Copyright 2004, Psyent Corporation * Scott McNutt * - * 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 diff --git a/arch/nios2/cpu/exceptions.S b/arch/nios2/cpu/exceptions.S index 963f44e..8806f5c 100644 --- a/arch/nios2/cpu/exceptions.S +++ b/arch/nios2/cpu/exceptions.S @@ -2,9 +2,6 @@ * (C) Copyright 2004, Psyent Corporation * Scott McNutt * - * 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 diff --git a/arch/nios2/cpu/start.S b/arch/nios2/cpu/start.S index 41f65ff..d770b00 100644 --- a/arch/nios2/cpu/start.S +++ b/arch/nios2/cpu/start.S @@ -2,9 +2,6 @@ * (C) Copyright 2004, Psyent Corporation * Scott McNutt * - * 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 diff --git a/arch/nios2/cpu/traps.c b/arch/nios2/cpu/traps.c index 1b7d26c..484d007 100644 --- a/arch/nios2/cpu/traps.c +++ b/arch/nios2/cpu/traps.c @@ -2,9 +2,6 @@ * (C) Copyright 2004, Psyent Corporation * Scott McNutt * - * 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 diff --git a/arch/nios2/include/asm/io.h b/arch/nios2/include/asm/io.h index 59eea73..a964c69 100644 --- a/arch/nios2/include/asm/io.h +++ b/arch/nios2/include/asm/io.h @@ -2,9 +2,6 @@ * (C) Copyright 2004, Psyent Corporation * Scott McNutt * - * 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 @@ -49,4 +46,6 @@ #define writel(val, addr)\ asm volatile("stwio %0, 0(%1)" : : "r" (val), "r" (addr)) +#include + #endif /* __ASM_NIOS2_IO_H_ */ diff --git a/arch/nios2/include/asm/nios2-io.h b/arch/nios2/include/asm/nios2-io.h index cc8a945..6511548 100644 --- a/arch/nios2/include/asm/nios2-io.h +++ b/arch/nios2/include/asm/nios2-io.h @@ -2,9 +2,6 @@ * (C) Copyright 2004, Psyent Corporation * Scott McNutt * - * 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 diff --git a/arch/nios2/include/asm/nios2.h b/arch/nios2/include/asm/nios2.h index a2d8e22..67e3177 100644 --- a/arch/nios2/include/asm/nios2.h +++ b/arch/nios2/include/asm/nios2.h @@ -2,9 +2,6 @@ * (C) Copyright 2004, Psyent Corporation * Scott McNutt * - * 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 diff --git a/arch/nios2/include/asm/opcodes.h b/arch/nios2/include/asm/opcodes.h index 21792dc..dc186e3 100644 --- a/arch/nios2/include/asm/opcodes.h +++ b/arch/nios2/include/asm/opcodes.h @@ -2,9 +2,6 @@ * (C) Copyright 2004, Psyent Corporation * Scott McNutt * - * 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 diff --git a/arch/nios2/include/asm/ptrace.h b/arch/nios2/include/asm/ptrace.h index b0b47cb..a0b1371 100644 --- a/arch/nios2/include/asm/ptrace.h +++ b/arch/nios2/include/asm/ptrace.h @@ -2,9 +2,6 @@ * (C) Copyright 2004, Psyent Corporation * Scott McNutt * - * 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 diff --git a/arch/nios2/include/asm/string.h b/arch/nios2/include/asm/string.h index 28acf0f..c1b7499 100644 --- a/arch/nios2/include/asm/string.h +++ b/arch/nios2/include/asm/string.h @@ -2,9 +2,6 @@ * (C) Copyright 2004, Psyent Corporation * Scott McNutt * - * 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 diff --git a/arch/nios2/include/asm/system.h b/arch/nios2/include/asm/system.h index 0f870d8..63f14f5 100644 --- a/arch/nios2/include/asm/system.h +++ b/arch/nios2/include/asm/system.h @@ -2,9 +2,6 @@ * (C) Copyright 2004, Psyent Corporation * Scott McNutt * - * 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 diff --git a/arch/nios2/lib/board.c b/arch/nios2/lib/board.c index 537675c..0ca79f0 100644 --- a/arch/nios2/lib/board.c +++ b/arch/nios2/lib/board.c @@ -1,9 +1,6 @@ /* * (C) Copyright 2011 - Franck JULLIEN * - * 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 diff --git a/arch/nios2/lib/bootm.c b/arch/nios2/lib/bootm.c index 34908bd..2293cb1 100644 --- a/arch/nios2/lib/bootm.c +++ b/arch/nios2/lib/bootm.c @@ -6,9 +6,6 @@ * (C) Copyright 2003, Psyent Corporation * Scott McNutt * - * 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 diff --git a/arch/nios2/lib/clock.c b/arch/nios2/lib/clock.c index 28aed02..cfd8960 100644 --- a/arch/nios2/lib/clock.c +++ b/arch/nios2/lib/clock.c @@ -1,9 +1,6 @@ /* * (C) Copyright 2011 - Franck JULLIEN * - * 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 diff --git a/arch/nios2/lib/early_printf.c b/arch/nios2/lib/early_printf.c index 0e3ace9..7b4ac97 100644 --- a/arch/nios2/lib/early_printf.c +++ b/arch/nios2/lib/early_printf.c @@ -1,9 +1,6 @@ /* * (C) Copyright 2011 - Franck JULLIEN * - * 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 diff --git a/arch/openrisc/cpu/cpu.c b/arch/openrisc/cpu/cpu.c index cae42d4..8afd22b 100644 --- a/arch/openrisc/cpu/cpu.c +++ b/arch/openrisc/cpu/cpu.c @@ -2,9 +2,6 @@ * (C) Copyright 2011, Stefan Kristiansson * (C) Copyright 2011, Julius Baxter * - * 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 diff --git a/arch/openrisc/lib/board.c b/arch/openrisc/lib/board.c index 25bcc05..67ea96f 100644 --- a/arch/openrisc/lib/board.c +++ b/arch/openrisc/lib/board.c @@ -1,9 +1,6 @@ /* * (C) Copyright 2011 - Franck JULLIEN * - * 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 diff --git a/arch/openrisc/lib/clock.c b/arch/openrisc/lib/clock.c index a171214..5ff978e 100644 --- a/arch/openrisc/lib/clock.c +++ b/arch/openrisc/lib/clock.c @@ -1,9 +1,6 @@ /* * (C) Copyright 2011 - Franck JULLIEN * - * 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 diff --git a/arch/openrisc/lib/cpuinfo.c b/arch/openrisc/lib/cpuinfo.c index 175adc5..4c52a65 100644 --- a/arch/openrisc/lib/cpuinfo.c +++ b/arch/openrisc/lib/cpuinfo.c @@ -2,9 +2,6 @@ * (C) Copyright 2011, Stefan Kristiansson * (C) Copyright 2011, Julius Baxter * - * 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 diff --git a/arch/openrisc/lib/dtb.c b/arch/openrisc/lib/dtb.c index 04bb6d2..2dd8e4e 100644 --- a/arch/openrisc/lib/dtb.c +++ b/arch/openrisc/lib/dtb.c @@ -4,9 +4,6 @@ * Based on arch/arm/cpu/dtb.c: * 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. diff --git a/arch/powerpc/boards/freescale-p1022ds/law.c b/arch/powerpc/boards/freescale-p1022ds/law.c index 167937a..79cc20d 100644 --- a/arch/powerpc/boards/freescale-p1022ds/law.c +++ b/arch/powerpc/boards/freescale-p1022ds/law.c @@ -1,9 +1,6 @@ /* * Copyright 2009-2010 Freescale Semiconductor, Inc. * - * 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 diff --git a/arch/powerpc/boards/freescale-p2020rdb/config.h b/arch/powerpc/boards/freescale-p2020rdb/config.h index e607ee7..0d3e095 100644 --- a/arch/powerpc/boards/freescale-p2020rdb/config.h +++ b/arch/powerpc/boards/freescale-p2020rdb/config.h @@ -2,9 +2,6 @@ * Copyright 2012 GE Intelligent Platforms, Inc. * Copyright 2009-2011 Freescale Semiconductor, Inc. * - * 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 diff --git a/arch/powerpc/boards/freescale-p2020rdb/law.c b/arch/powerpc/boards/freescale-p2020rdb/law.c index 420a69e..e76b9cb 100644 --- a/arch/powerpc/boards/freescale-p2020rdb/law.c +++ b/arch/powerpc/boards/freescale-p2020rdb/law.c @@ -1,9 +1,6 @@ /* * Copyright 2009-2010 Freescale Semiconductor, Inc. * - * 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 diff --git a/arch/powerpc/boards/freescale-p2020rdb/p2020rdb.c b/arch/powerpc/boards/freescale-p2020rdb/p2020rdb.c index 5559765..cfbcc61 100644 --- a/arch/powerpc/boards/freescale-p2020rdb/p2020rdb.c +++ b/arch/powerpc/boards/freescale-p2020rdb/p2020rdb.c @@ -2,9 +2,6 @@ * Copyright 2012 GE Intelligent Platforms, Inc. * Copyright 2009-2011 Freescale Semiconductor, Inc. * - * 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 diff --git a/arch/powerpc/boards/freescale-p2020rdb/tlb.c b/arch/powerpc/boards/freescale-p2020rdb/tlb.c index 9853673..e5b1789 100644 --- a/arch/powerpc/boards/freescale-p2020rdb/tlb.c +++ b/arch/powerpc/boards/freescale-p2020rdb/tlb.c @@ -1,9 +1,6 @@ /* * Copyright 2011 Freescale Semiconductor, Inc. * - * 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 diff --git a/arch/powerpc/boards/pcm030/barebox.lds.S b/arch/powerpc/boards/pcm030/barebox.lds.S index 6fd8b43..2536db7 100644 --- a/arch/powerpc/boards/pcm030/barebox.lds.S +++ b/arch/powerpc/boards/pcm030/barebox.lds.S @@ -2,9 +2,6 @@ * (C) Copyright 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 diff --git a/arch/powerpc/boards/pcm030/config.h b/arch/powerpc/boards/pcm030/config.h index 3fe1f28..24cf9dc 100644 --- a/arch/powerpc/boards/pcm030/config.h +++ b/arch/powerpc/boards/pcm030/config.h @@ -5,9 +5,6 @@ * (C) Copyright 2006 * Eric Schumann, Phytec Messatechnik 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 as * published by the Free Software Foundation; either version 2 of diff --git a/arch/powerpc/boards/pcm030/mt46v32m16-75.h b/arch/powerpc/boards/pcm030/mt46v32m16-75.h index 60ea09e..5509a11 100644 --- a/arch/powerpc/boards/pcm030/mt46v32m16-75.h +++ b/arch/powerpc/boards/pcm030/mt46v32m16-75.h @@ -5,9 +5,6 @@ * Eric Schumann, Phytec Messtechnik * adapted for mt46v32m16-75 DDR-RAM * - * 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 diff --git a/arch/powerpc/boards/pcm030/pcm030.c b/arch/powerpc/boards/pcm030/pcm030.c index 05c1ce9..330d298 100644 --- a/arch/powerpc/boards/pcm030/pcm030.c +++ b/arch/powerpc/boards/pcm030/pcm030.c @@ -8,9 +8,6 @@ * (C) Copyright 2006 * Eric Schumann, 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 as * published by the Free Software Foundation; either version 2 of diff --git a/arch/powerpc/cpu-85xx/fixed_ivor.S b/arch/powerpc/cpu-85xx/fixed_ivor.S index 0674c3f..2cdb8d4 100644 --- a/arch/powerpc/cpu-85xx/fixed_ivor.S +++ b/arch/powerpc/cpu-85xx/fixed_ivor.S @@ -3,9 +3,6 @@ * * Kumar Gala * - * 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 diff --git a/arch/powerpc/cpu-85xx/tlb.c b/arch/powerpc/cpu-85xx/tlb.c index 3a5b413..2c59806 100644 --- a/arch/powerpc/cpu-85xx/tlb.c +++ b/arch/powerpc/cpu-85xx/tlb.c @@ -6,9 +6,6 @@ * (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 diff --git a/arch/powerpc/cpu-85xx/traps.c b/arch/powerpc/cpu-85xx/traps.c index f8e5e42..0a88621 100644 --- a/arch/powerpc/cpu-85xx/traps.c +++ b/arch/powerpc/cpu-85xx/traps.c @@ -13,9 +13,6 @@ * (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 diff --git a/arch/powerpc/include/asm/fsl_lbc.h b/arch/powerpc/include/asm/fsl_lbc.h index 27d194e..cde0864 100644 --- a/arch/powerpc/include/asm/fsl_lbc.h +++ b/arch/powerpc/include/asm/fsl_lbc.h @@ -2,9 +2,6 @@ * Copyright 2012 GE Intelligent Platforms, Inc. * Copyright (C) 2004-2008,2010-2011 Freescale Semiconductor, Inc. * - * 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 diff --git a/arch/powerpc/include/asm/ppc_asm.tmpl b/arch/powerpc/include/asm/ppc_asm.tmpl index 60c6caf..f4cb84f 100644 --- a/arch/powerpc/include/asm/ppc_asm.tmpl +++ b/arch/powerpc/include/asm/ppc_asm.tmpl @@ -2,9 +2,6 @@ * (C) Copyright 2000-2002 * 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 diff --git a/arch/powerpc/include/asm/ppc_defs.h b/arch/powerpc/include/asm/ppc_defs.h index fcdb38d..66875fd 100644 --- a/arch/powerpc/include/asm/ppc_defs.h +++ b/arch/powerpc/include/asm/ppc_defs.h @@ -2,9 +2,6 @@ * (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 diff --git a/arch/powerpc/lib/bat_rw.c b/arch/powerpc/lib/bat_rw.c index 3e8882e..bffa504 100644 --- a/arch/powerpc/lib/bat_rw.c +++ b/arch/powerpc/lib/bat_rw.c @@ -2,9 +2,6 @@ * (C) Copyright 2002 * Rich Ireland, Enterasys Networks, rireland@enterasys.com. * - * 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 diff --git a/arch/powerpc/lib/board.c b/arch/powerpc/lib/board.c index 3f13db9..9031b37 100644 --- a/arch/powerpc/lib/board.c +++ b/arch/powerpc/lib/board.c @@ -2,9 +2,6 @@ * (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 diff --git a/arch/powerpc/lib/extable.c b/arch/powerpc/lib/extable.c index 1e9ad1e..e7adffa 100644 --- a/arch/powerpc/lib/extable.c +++ b/arch/powerpc/lib/extable.c @@ -4,9 +4,6 @@ * (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 diff --git a/arch/powerpc/lib/reloc.S b/arch/powerpc/lib/reloc.S index 7ef2ea3..ad598e6 100644 --- a/arch/powerpc/lib/reloc.S +++ b/arch/powerpc/lib/reloc.S @@ -1,9 +1,6 @@ /* * Copyright (C) 2009 Wolfgang Denk * - * 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 diff --git a/arch/powerpc/lib/ticks.S b/arch/powerpc/lib/ticks.S index a41fe8b..e923f17 100644 --- a/arch/powerpc/lib/ticks.S +++ b/arch/powerpc/lib/ticks.S @@ -4,9 +4,6 @@ * base on code by * 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 diff --git a/arch/powerpc/mach-mpc5xxx/cpu.c b/arch/powerpc/mach-mpc5xxx/cpu.c index ab58967..a85e166 100644 --- a/arch/powerpc/mach-mpc5xxx/cpu.c +++ b/arch/powerpc/mach-mpc5xxx/cpu.c @@ -2,9 +2,6 @@ * (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 diff --git a/arch/powerpc/mach-mpc5xxx/cpu_init.c b/arch/powerpc/mach-mpc5xxx/cpu_init.c index 1dae6c1..949e49f 100644 --- a/arch/powerpc/mach-mpc5xxx/cpu_init.c +++ b/arch/powerpc/mach-mpc5xxx/cpu_init.c @@ -2,9 +2,6 @@ * (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 diff --git a/arch/powerpc/mach-mpc5xxx/include/mach/mpc5xxx.h b/arch/powerpc/mach-mpc5xxx/include/mach/mpc5xxx.h index 1e2e726..6949b1d 100644 --- a/arch/powerpc/mach-mpc5xxx/include/mach/mpc5xxx.h +++ b/arch/powerpc/mach-mpc5xxx/include/mach/mpc5xxx.h @@ -9,9 +9,6 @@ * * 2003 (C) 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 diff --git a/arch/powerpc/mach-mpc5xxx/io.S b/arch/powerpc/mach-mpc5xxx/io.S index 3ea9b3f..871d65a 100644 --- a/arch/powerpc/mach-mpc5xxx/io.S +++ b/arch/powerpc/mach-mpc5xxx/io.S @@ -5,9 +5,6 @@ * Andreas Heppel * Copyright (C) 2003 Wolfgang Denk * - * 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 diff --git a/arch/powerpc/mach-mpc5xxx/pci_mpc5200.c b/arch/powerpc/mach-mpc5xxx/pci_mpc5200.c index 99fa970..a3d62a1 100644 --- a/arch/powerpc/mach-mpc5xxx/pci_mpc5200.c +++ b/arch/powerpc/mach-mpc5xxx/pci_mpc5200.c @@ -2,9 +2,6 @@ * (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 diff --git a/arch/powerpc/mach-mpc5xxx/speed.c b/arch/powerpc/mach-mpc5xxx/speed.c index 76a3019..0cec952 100644 --- a/arch/powerpc/mach-mpc5xxx/speed.c +++ b/arch/powerpc/mach-mpc5xxx/speed.c @@ -2,9 +2,6 @@ * (C) Copyright 2000-2002 * 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 diff --git a/arch/powerpc/mach-mpc5xxx/start.S b/arch/powerpc/mach-mpc5xxx/start.S index 291f625..31648a6 100644 --- a/arch/powerpc/mach-mpc5xxx/start.S +++ b/arch/powerpc/mach-mpc5xxx/start.S @@ -3,9 +3,6 @@ * Copyright (C) 1999 Magnus Damm * Copyright (C) 2000 - 2003 Wolfgang Denk * - * 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 diff --git a/arch/powerpc/mach-mpc5xxx/time.c b/arch/powerpc/mach-mpc5xxx/time.c index aaa4573..d186467 100644 --- a/arch/powerpc/mach-mpc5xxx/time.c +++ b/arch/powerpc/mach-mpc5xxx/time.c @@ -2,9 +2,6 @@ * (C) Copyright 2000, 2001 * 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 diff --git a/arch/powerpc/mach-mpc5xxx/traps.c b/arch/powerpc/mach-mpc5xxx/traps.c index 8441da2..501a762 100644 --- a/arch/powerpc/mach-mpc5xxx/traps.c +++ b/arch/powerpc/mach-mpc5xxx/traps.c @@ -10,9 +10,6 @@ * (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 diff --git a/arch/powerpc/mach-mpc85xx/cpu.c b/arch/powerpc/mach-mpc85xx/cpu.c index 42464e8..7c8a59e 100644 --- a/arch/powerpc/mach-mpc85xx/cpu.c +++ b/arch/powerpc/mach-mpc85xx/cpu.c @@ -7,9 +7,6 @@ * (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 diff --git a/arch/powerpc/mach-mpc85xx/cpu_init.c b/arch/powerpc/mach-mpc85xx/cpu_init.c index 003a5f1..4e13404 100644 --- a/arch/powerpc/mach-mpc85xx/cpu_init.c +++ b/arch/powerpc/mach-mpc85xx/cpu_init.c @@ -9,9 +9,6 @@ * (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 diff --git a/arch/powerpc/mach-mpc85xx/cpuid.c b/arch/powerpc/mach-mpc85xx/cpuid.c index 1f54a2b..ae82e3f 100644 --- a/arch/powerpc/mach-mpc85xx/cpuid.c +++ b/arch/powerpc/mach-mpc85xx/cpuid.c @@ -4,8 +4,6 @@ * This file is derived from arch/powerpc/cpu/mpc85xx/cpu.c and * arch/powerpc/cpu/mpc86xx/cpu.c. Basically this file contains * cpu specific common code for 85xx/86xx processors. - * 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 diff --git a/arch/powerpc/mach-mpc85xx/eth-devices.c b/arch/powerpc/mach-mpc85xx/eth-devices.c index ea5caff..b1e830a 100644 --- a/arch/powerpc/mach-mpc85xx/eth-devices.c +++ b/arch/powerpc/mach-mpc85xx/eth-devices.c @@ -1,9 +1,6 @@ /* * Copyright 2012 GE Intelligent Platforms, Inc * - * 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 diff --git a/arch/powerpc/mach-mpc85xx/fdt.c b/arch/powerpc/mach-mpc85xx/fdt.c index 1a2d780..de0114a 100644 --- a/arch/powerpc/mach-mpc85xx/fdt.c +++ b/arch/powerpc/mach-mpc85xx/fdt.c @@ -5,9 +5,6 @@ * (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 diff --git a/arch/powerpc/mach-mpc85xx/fsl_law.c b/arch/powerpc/mach-mpc85xx/fsl_law.c index 38902e3..2254c92 100644 --- a/arch/powerpc/mach-mpc85xx/fsl_law.c +++ b/arch/powerpc/mach-mpc85xx/fsl_law.c @@ -6,9 +6,6 @@ * (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 diff --git a/arch/powerpc/mach-mpc85xx/include/mach/early_udelay.h b/arch/powerpc/mach-mpc85xx/include/mach/early_udelay.h index b8dc501..12020dd 100644 --- a/arch/powerpc/mach-mpc85xx/include/mach/early_udelay.h +++ b/arch/powerpc/mach-mpc85xx/include/mach/early_udelay.h @@ -3,9 +3,6 @@ * * Copyright (C) 2009 Matthias Kaehlcke * - * 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 diff --git a/arch/powerpc/mach-mpc85xx/include/mach/immap_85xx.h b/arch/powerpc/mach-mpc85xx/include/mach/immap_85xx.h index abcdb5c..d348f86 100644 --- a/arch/powerpc/mach-mpc85xx/include/mach/immap_85xx.h +++ b/arch/powerpc/mach-mpc85xx/include/mach/immap_85xx.h @@ -6,9 +6,6 @@ * Copyright(c) 2002,2003 Motorola Inc. * Xianghua Xiao (x.xiao@motorola.com) * - * 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 diff --git a/arch/powerpc/mach-mpc85xx/speed.c b/arch/powerpc/mach-mpc85xx/speed.c index 6109494..7f3cfc4 100644 --- a/arch/powerpc/mach-mpc85xx/speed.c +++ b/arch/powerpc/mach-mpc85xx/speed.c @@ -9,9 +9,6 @@ * (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 diff --git a/arch/powerpc/mach-mpc85xx/time.c b/arch/powerpc/mach-mpc85xx/time.c index 9014fce..f0acd91 100644 --- a/arch/powerpc/mach-mpc85xx/time.c +++ b/arch/powerpc/mach-mpc85xx/time.c @@ -3,9 +3,6 @@ * (C) Copyright 2000, 2001 * 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 diff --git a/arch/sandbox/board/board.c b/arch/sandbox/board/board.c index ad2bc91..45b7c7d 100644 --- a/arch/sandbox/board/board.c +++ b/arch/sandbox/board/board.c @@ -3,9 +3,6 @@ * * 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. diff --git a/arch/sandbox/board/clock.c b/arch/sandbox/board/clock.c index bdea89f..b005e71 100644 --- a/arch/sandbox/board/clock.c +++ b/arch/sandbox/board/clock.c @@ -3,9 +3,6 @@ * * 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. diff --git a/arch/sandbox/board/console.c b/arch/sandbox/board/console.c index 4b251e9..cea62d5 100644 --- a/arch/sandbox/board/console.c +++ b/arch/sandbox/board/console.c @@ -3,9 +3,6 @@ * * 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. diff --git a/arch/sandbox/board/dtb.c b/arch/sandbox/board/dtb.c index af4a64a..74ecbad 100644 --- a/arch/sandbox/board/dtb.c +++ b/arch/sandbox/board/dtb.c @@ -2,9 +2,6 @@ * Copyright (c) 2013 Sascha Hauer , Pengutronix * Copyright (c) 2015 Marc Kleine-Budde , 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. diff --git a/arch/sandbox/board/hostfile.c b/arch/sandbox/board/hostfile.c index e5a7580..5f0d7e0 100644 --- a/arch/sandbox/board/hostfile.c +++ b/arch/sandbox/board/hostfile.c @@ -3,9 +3,6 @@ * * 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. diff --git a/arch/sandbox/os/common.c b/arch/sandbox/os/common.c index 3f9cc70..e67ea14 100644 --- a/arch/sandbox/os/common.c +++ b/arch/sandbox/os/common.c @@ -4,9 +4,6 @@ * * 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. diff --git a/arch/sandbox/os/tap.c b/arch/sandbox/os/tap.c index 3a29a4b..72b7fbb 100644 --- a/arch/sandbox/os/tap.c +++ b/arch/sandbox/os/tap.c @@ -3,9 +3,6 @@ * * 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. diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 1793055..1900944 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -86,13 +86,6 @@ some 16 bit real mode code and some restrictions everyone knows from BIOS based systems. - config X86_NATIVE_BRINGUP - bool "native" - help - Barebox will act as a native bootloader. This includes all the - required initialization needed to bring up a piece of hardware. - Note: Not implemented yet - endchoice source "arch/x86/boot/Kconfig" diff --git a/arch/x86/lib/barebox.lds.S b/arch/x86/lib/barebox.lds.S index 7125164..bf52ba9 100644 --- a/arch/x86/lib/barebox.lds.S +++ b/arch/x86/lib/barebox.lds.S @@ -1,7 +1,4 @@ /* - * 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 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 diff --git a/common/bbu.c b/common/bbu.c index 1755615..f284c34 100644 --- a/common/bbu.c +++ b/common/bbu.c @@ -3,9 +3,6 @@ * * 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. diff --git a/common/block.c b/common/block.c index 39275dc..c522310 100644 --- a/common/block.c +++ b/common/block.c @@ -3,9 +3,6 @@ * * 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. diff --git a/common/bootargs.c b/common/bootargs.c index f0ab689..97d0e15 100644 --- a/common/bootargs.c +++ b/common/bootargs.c @@ -3,9 +3,6 @@ * * 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. diff --git a/common/bootm.c b/common/bootm.c index 2999856..8fec1ee 100644 --- a/common/bootm.c +++ b/common/bootm.c @@ -607,6 +607,7 @@ */ data->oftree_file = NULL; data->initrd_file = NULL; + data->tee_file = NULL; if (os_type != filetype_oftree) { printf("Signed boot and image is no FIT image, aborting\n"); ret = -EINVAL; diff --git a/common/clock.c b/common/clock.c index 1a4931c..17b07ab 100644 --- a/common/clock.c +++ b/common/clock.c @@ -7,9 +7,6 @@ * Copyright (C) 2004, 2005 IBM, John Stultz (johnstul@us.ibm.com) * 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. diff --git a/common/command.c b/common/command.c index 4984593..c7c0c4c 100644 --- a/common/command.c +++ b/common/command.c @@ -2,9 +2,6 @@ * (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 diff --git a/common/console.c b/common/console.c index e6e0298..3375ecb 100644 --- a/common/console.c +++ b/common/console.c @@ -2,9 +2,6 @@ * (C) Copyright 2000 * Paolo Scaffardi, AIRVENT SAM s.p.a - RIMINI(ITALY), arsenio@tin.it * - * 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 diff --git a/common/console_common.c b/common/console_common.c index 6d01753..a174c2d 100644 --- a/common/console_common.c +++ b/common/console_common.c @@ -4,9 +4,6 @@ * (C) Copyright 2000 Paolo Scaffardi, AIRVENT SAM s.p.a - * RIMINI(ITALY), arsenio@tin.it * - * 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 diff --git a/common/console_countdown.c b/common/console_countdown.c index 8d09894..74dc382 100644 --- a/common/console_countdown.c +++ b/common/console_countdown.c @@ -3,9 +3,6 @@ * * 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. diff --git a/common/date.c b/common/date.c index 129192e..1fea02c 100644 --- a/common/date.c +++ b/common/date.c @@ -2,9 +2,6 @@ * (C) Copyright 2001 * 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 diff --git a/common/efi/efi-image.c b/common/efi/efi-image.c index 9c66c9f..bd1c584 100644 --- a/common/efi/efi-image.c +++ b/common/efi/efi-image.c @@ -3,9 +3,6 @@ * * 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. diff --git a/common/efi/efi.c b/common/efi/efi.c index ed81583..6f55e39 100644 --- a/common/efi/efi.c +++ b/common/efi/efi.c @@ -3,9 +3,6 @@ * * 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. diff --git a/common/env.c b/common/env.c index 323a822..fbaaac4 100644 --- a/common/env.c +++ b/common/env.c @@ -3,9 +3,6 @@ * * 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. diff --git a/common/environment.c b/common/environment.c index 005caf4..6e58f12 100644 --- a/common/environment.c +++ b/common/environment.c @@ -1,9 +1,6 @@ /* * 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. diff --git a/common/filetype.c b/common/filetype.c index fd6e8e3..799ede9 100644 --- a/common/filetype.c +++ b/common/filetype.c @@ -3,9 +3,6 @@ * * 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. diff --git a/common/image.c b/common/image.c index fc10ce5..8199e2d 100644 --- a/common/image.c +++ b/common/image.c @@ -4,9 +4,6 @@ * (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 diff --git a/common/imd.c b/common/imd.c index 526308e..9649651 100644 --- a/common/imd.c +++ b/common/imd.c @@ -1,9 +1,6 @@ /* * (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 @@ -370,6 +367,7 @@ return -ENODATA; } else { uint32_t *p = (uint32_t *)(imd_crc + 1); + int ret; if (*p != crc) { uint32_t *flags = imd_crc32_flags(imd_crc); @@ -377,7 +375,11 @@ debug("Update crc token from 0x%08x to 0x%08x (flags 0x%08x)\n", *p, crc, *flags); *p = crc; - write_file(filename, buf, size); + ret = write_file(filename, buf, size); + if (ret < 0) { + eprintf("CRC: write crc token to %s failed: %d\n", filename, ret); + return ret; + } } } diff --git a/common/memory.c b/common/memory.c index 21b2b4f..114958f 100644 --- a/common/memory.c +++ b/common/memory.c @@ -3,9 +3,6 @@ * * 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. diff --git a/common/memsize.c b/common/memsize.c index ef6381b..915ab87 100644 --- a/common/memsize.c +++ b/common/memsize.c @@ -2,9 +2,6 @@ * (C) Copyright 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 diff --git a/common/memtest.c b/common/memtest.c index 7b7a9ee..09cfa8a 100644 --- a/common/memtest.c +++ b/common/memtest.c @@ -6,9 +6,6 @@ * (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 version 2 * as published by the Free Software Foundation. diff --git a/common/menu.c b/common/menu.c index 31e5c90..089dab8 100644 --- a/common/menu.c +++ b/common/menu.c @@ -1,9 +1,6 @@ /* * (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 diff --git a/common/misc.c b/common/misc.c index 9b390dc..1c7f937 100644 --- a/common/misc.c +++ b/common/misc.c @@ -2,9 +2,6 @@ * (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 version 2 * as published by the Free Software Foundation. diff --git a/common/module.lds.S b/common/module.lds.S index f3dbb12..76f3b6d 100644 --- a/common/module.lds.S +++ b/common/module.lds.S @@ -2,9 +2,6 @@ * (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 diff --git a/common/password.c b/common/password.c index 74d328f..a2a9c4c 100644 --- a/common/password.c +++ b/common/password.c @@ -1,9 +1,6 @@ /* * 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. diff --git a/common/poweroff.c b/common/poweroff.c index 32a7828..4ce04d1 100644 --- a/common/poweroff.c +++ b/common/poweroff.c @@ -1,9 +1,6 @@ /* * Copyright (c) 2015 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. diff --git a/common/ratp/getenv.c b/common/ratp/getenv.c index fdb4b0b..7b38d2e 100644 --- a/common/ratp/getenv.c +++ b/common/ratp/getenv.c @@ -1,9 +1,6 @@ /* * Copyright (c) 2018 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. diff --git a/common/ratp/gpio.c b/common/ratp/gpio.c index d2c527a..df413b6 100644 --- a/common/ratp/gpio.c +++ b/common/ratp/gpio.c @@ -2,9 +2,6 @@ * Copyright (c) 2018 Sascha Hauer , Pengutronix * Copyright (c) 2018 Zodiac Inflight Innovations * - * 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. diff --git a/common/ratp/i2c.c b/common/ratp/i2c.c index 07097c7..c14bbbf 100644 --- a/common/ratp/i2c.c +++ b/common/ratp/i2c.c @@ -2,9 +2,6 @@ * Copyright (c) 2018 Sascha Hauer , Pengutronix * Copyright (c) 2018 Zodiac Inflight Innovations * - * 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. diff --git a/common/ratp/md.c b/common/ratp/md.c index a25cbf1..3e258c5 100644 --- a/common/ratp/md.c +++ b/common/ratp/md.c @@ -1,9 +1,6 @@ /* * Copyright (c) 2011-2018 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. diff --git a/common/ratp/mw.c b/common/ratp/mw.c index 772910b..8945799 100644 --- a/common/ratp/mw.c +++ b/common/ratp/mw.c @@ -2,9 +2,6 @@ * Copyright (c) 2011-2018 Sascha Hauer , Pengutronix * Copyright (c) 2018 Zodiac Inflight Innovations * - * 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. diff --git a/common/ratp/ping.c b/common/ratp/ping.c index cc29ea3..ff92f8e 100644 --- a/common/ratp/ping.c +++ b/common/ratp/ping.c @@ -1,9 +1,6 @@ /* * Copyright (c) 2018 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. diff --git a/common/ratp/ratp.c b/common/ratp/ratp.c index e84ad22..ca751a3 100644 --- a/common/ratp/ratp.c +++ b/common/ratp/ratp.c @@ -1,9 +1,6 @@ /* * Copyright (c) 2015 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. diff --git a/common/ratp/reset.c b/common/ratp/reset.c index d0229d5..0604751 100644 --- a/common/ratp/reset.c +++ b/common/ratp/reset.c @@ -3,9 +3,6 @@ * * 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. diff --git a/common/resource.c b/common/resource.c index 16430b7..62497e7 100644 --- a/common/resource.c +++ b/common/resource.c @@ -3,9 +3,6 @@ * * 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. diff --git a/common/restart.c b/common/restart.c index 8fd5ffd..b19ae54 100644 --- a/common/restart.c +++ b/common/restart.c @@ -1,9 +1,6 @@ /* * Copyright (c) 2015 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. diff --git a/common/s_record.c b/common/s_record.c index 36d557f..1806890 100644 --- a/common/s_record.c +++ b/common/s_record.c @@ -2,9 +2,6 @@ * (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 diff --git a/common/startup.c b/common/startup.c index c417a4d..511675e 100644 --- a/common/startup.c +++ b/common/startup.c @@ -6,9 +6,6 @@ * Sysgo Real-Time Solutions, GmbH * Marius Groeger * - * 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 @@ -39,6 +36,7 @@ #include #include #include +#include #include #include #include @@ -76,6 +74,16 @@ #endif #ifdef CONFIG_ENV_HANDLING +static bool region_overlap(loff_t starta, loff_t lena, + loff_t startb, loff_t lenb) +{ + if (starta + lena <= startb) + return 0; + if (startb + lenb <= starta) + return 0; + return 1; +} + static int check_overlap(const char *path) { struct cdev *cenv, *cdisk, *cpart; @@ -106,8 +114,8 @@ if (cpart == cenv) continue; - if (lregion_overlap(cpart->offset, cpart->size, - cenv->offset, cenv->size)) + if (region_overlap(cpart->offset, cpart->size, + cenv->offset, cenv->size)) goto conflict; } @@ -163,6 +171,14 @@ }; static int global_autoboot_timeout = 3; +static const char * const global_autoboot_states[] = { + [AUTOBOOT_COUNTDOWN] = "countdown", + [AUTOBOOT_ABORT] = "abort", + [AUTOBOOT_MENU] = "menu", + [AUTOBOOT_BOOT] = "boot", +}; +static int global_autoboot_state = AUTOBOOT_COUNTDOWN; + static bool test_abort(void) { bool do_abort = false; @@ -194,8 +210,6 @@ #define INITFILE "/env/bin/init" #define MENUFILE "/env/menu/mainmenu" -static enum autoboot_state autoboot_state = AUTOBOOT_UNKNOWN; - /** * set_autoboot_state - set the autoboot state * @autoboot: the state to set @@ -205,7 +219,7 @@ */ void set_autoboot_state(enum autoboot_state autoboot) { - autoboot_state = autoboot; + global_autoboot_state = autoboot; } /** @@ -221,6 +235,7 @@ */ enum autoboot_state do_autoboot_countdown(void) { + enum autoboot_state autoboot_state; unsigned flags = CONSOLE_COUNTDOWN_EXTERN; int ret; struct stat s; @@ -228,8 +243,8 @@ char *abortkeys = NULL; unsigned char outkey; - if (autoboot_state != AUTOBOOT_UNKNOWN) - return autoboot_state; + if (global_autoboot_state != AUTOBOOT_COUNTDOWN) + return global_autoboot_state; menu_exists = stat(MENUFILE, &s) == 0; @@ -285,6 +300,10 @@ ARRAY_SIZE(global_autoboot_abort_keys)); globalvar_add_simple_int("autoboot_timeout", &global_autoboot_timeout, "%u"); + globalvar_add_simple_enum("autoboot", + &global_autoboot_state, + global_autoboot_states, + ARRAY_SIZE(global_autoboot_states)); setenv("PATH", "/env/bin"); @@ -391,3 +410,13 @@ (*exitcall)(); } } + +BAREBOX_MAGICVAR_NAMED(autoboot_state, + global.autoboot, + "Autoboot state. Possible values: countdown (default), abort, menu, boot"); +BAREBOX_MAGICVAR_NAMED(global_autoboot_abort_key, + global.autoboot_abort_key, + "Which key allows to interrupt autoboot. Possible values: any, ctrl-c"); +BAREBOX_MAGICVAR_NAMED(global_autoboot_timeout, + global.autoboot_timeout, + "Timeout before autoboot starts in seconds"); diff --git a/common/tlsf_malloc.c b/common/tlsf_malloc.c index c8900fc..9cb9ede 100644 --- a/common/tlsf_malloc.c +++ b/common/tlsf_malloc.c @@ -4,7 +4,6 @@ * 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 diff --git a/common/uimage.c b/common/uimage.c index 3470d9b..a84b8fd 100644 --- a/common/uimage.c +++ b/common/uimage.c @@ -5,9 +5,6 @@ * * partly based on U-Boot uImage code * - * 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. diff --git a/crypto/digest.c b/crypto/digest.c index 360c261..e67e8fb 100644 --- a/crypto/digest.c +++ b/crypto/digest.c @@ -1,9 +1,6 @@ /* * (C) Copyright 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 as * published by the Free Software Foundation; version 2 of diff --git a/defaultenv/defaultenv.c b/defaultenv/defaultenv.c index 3b4efcf..b773030 100644 --- a/defaultenv/defaultenv.c +++ b/defaultenv/defaultenv.c @@ -1,9 +1,6 @@ /* * 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 as * published by the Free Software Foundation; either version 2 of diff --git a/drivers/aiodev/core.c b/drivers/aiodev/core.c index b5d06da..b842834 100644 --- a/drivers/aiodev/core.c +++ b/drivers/aiodev/core.c @@ -6,9 +6,6 @@ * Copyright (c) 2015 Zodiac Inflight Innovation * Author: Andrey Smirnov * - * 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. diff --git a/drivers/aiodev/imx_thermal.c b/drivers/aiodev/imx_thermal.c index 9e50708..6dd2baa 100644 --- a/drivers/aiodev/imx_thermal.c +++ b/drivers/aiodev/imx_thermal.c @@ -9,9 +9,6 @@ * Author: Nitin Garg * Ye Li * - * 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. diff --git a/drivers/aiodev/mc13xxx_adc.c b/drivers/aiodev/mc13xxx_adc.c index d445d1e..c5d1efd 100644 --- a/drivers/aiodev/mc13xxx_adc.c +++ b/drivers/aiodev/mc13xxx_adc.c @@ -7,9 +7,6 @@ * Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved. * 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. diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c index 7dc09d0..049a36b 100644 --- a/drivers/ata/ahci.c +++ b/drivers/ata/ahci.c @@ -3,9 +3,6 @@ * Author: Jason Jin * Zhang Wei * - * 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 diff --git a/drivers/ata/ahci.h b/drivers/ata/ahci.h index 61b3140..ed31842 100644 --- a/drivers/ata/ahci.h +++ b/drivers/ata/ahci.h @@ -3,9 +3,6 @@ * Author: Jason Jin * Zhang Wei * - * 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 diff --git a/drivers/base/driver.c b/drivers/base/driver.c index 456750e..412db6c 100644 --- a/drivers/base/driver.c +++ b/drivers/base/driver.c @@ -3,9 +3,6 @@ * * 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. diff --git a/drivers/base/platform.c b/drivers/base/platform.c index 1d3fa2e..f907463 100644 --- a/drivers/base/platform.c +++ b/drivers/base/platform.c @@ -3,9 +3,6 @@ * * 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. diff --git a/drivers/base/resource.c b/drivers/base/resource.c index cb7105b..3fd3f17 100644 --- a/drivers/base/resource.c +++ b/drivers/base/resource.c @@ -2,9 +2,6 @@ * (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 diff --git a/drivers/clocksource/digic.c b/drivers/clocksource/digic.c index 1ecd839..23e0d5b 100644 --- a/drivers/clocksource/digic.c +++ b/drivers/clocksource/digic.c @@ -2,7 +2,6 @@ * Copyright (C) 2013, 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 diff --git a/drivers/clocksource/timer-atmel-pit.c b/drivers/clocksource/timer-atmel-pit.c index 6e86653..50572ff 100644 --- a/drivers/clocksource/timer-atmel-pit.c +++ b/drivers/clocksource/timer-atmel-pit.c @@ -10,9 +10,6 @@ * (C) Copyright 2002 * Gary Jennejohn, DENX Software Engineering, * - * 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 diff --git a/drivers/clocksource/timer-imx-gpt.c b/drivers/clocksource/timer-imx-gpt.c index 4d6c6c2..881065b 100644 --- a/drivers/clocksource/timer-imx-gpt.c +++ b/drivers/clocksource/timer-imx-gpt.c @@ -10,9 +10,6 @@ * (C) Copyright 2002 * Gary Jennejohn, DENX Software Engineering, * - * 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 diff --git a/drivers/clocksource/uemd.c b/drivers/clocksource/uemd.c index b80908f..5eacfda 100644 --- a/drivers/clocksource/uemd.c +++ b/drivers/clocksource/uemd.c @@ -6,7 +6,6 @@ * (C) 2011 RC Module, Sergey Mironov * * 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 diff --git a/drivers/ddr/fsl/ctrl_regs.c b/drivers/ddr/fsl/ctrl_regs.c index 4957320..eb99e0e 100644 --- a/drivers/ddr/fsl/ctrl_regs.c +++ b/drivers/ddr/fsl/ctrl_regs.c @@ -1111,7 +1111,7 @@ unsigned short esdmode5; /* Extended SDRAM mode 5 */ int rtt_park = 0; bool four_cs = false; - const unsigned int mclk_ps = get_memory_clk_period_ps(0); + const unsigned int mclk_ps = get_memory_clk_period_ps(c); if ((ddr->cs[0].config & SDRAM_CS_CONFIG_EN) && (ddr->cs[1].config & SDRAM_CS_CONFIG_EN) && diff --git a/drivers/efi/efi-device.c b/drivers/efi/efi-device.c index ac035dc..56fec5c 100644 --- a/drivers/efi/efi-device.c +++ b/drivers/efi/efi-device.c @@ -3,9 +3,6 @@ * * 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. diff --git a/drivers/gpio/gpio-digic.c b/drivers/gpio/gpio-digic.c index 714e3b4..f7a68d0 100644 --- a/drivers/gpio/gpio-digic.c +++ b/drivers/gpio/gpio-digic.c @@ -2,7 +2,6 @@ * Copyright (C) 2013 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 diff --git a/drivers/gpio/gpio-malta-fpga-i2c.c b/drivers/gpio/gpio-malta-fpga-i2c.c index 0188e51..9142248 100644 --- a/drivers/gpio/gpio-malta-fpga-i2c.c +++ b/drivers/gpio/gpio-malta-fpga-i2c.c @@ -2,7 +2,6 @@ * Copyright (C) 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 as diff --git a/drivers/hab/habv4.c b/drivers/hab/habv4.c index f0a087d..e94f827 100644 --- a/drivers/hab/habv4.c +++ b/drivers/hab/habv4.c @@ -2,9 +2,6 @@ * Copyright (C) 2014, 2015 Marc Kleine-Budde * Copyright (C) 2010 Freescale Semiconductor, Inc. * - * 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 diff --git a/drivers/led/core.c b/drivers/led/core.c index e727148..eeeeaa0 100644 --- a/drivers/led/core.c +++ b/drivers/led/core.c @@ -3,9 +3,6 @@ * * (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 diff --git a/drivers/led/led-gpio.c b/drivers/led/led-gpio.c index 0590e3f..5055b82 100644 --- a/drivers/led/led-gpio.c +++ b/drivers/led/led-gpio.c @@ -3,9 +3,6 @@ * * (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 diff --git a/drivers/led/led-pwm.c b/drivers/led/led-pwm.c index 19d9d4d..d8866bf 100644 --- a/drivers/led/led-pwm.c +++ b/drivers/led/led-pwm.c @@ -3,9 +3,6 @@ * * (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 diff --git a/drivers/led/led-triggers.c b/drivers/led/led-triggers.c index 216c863..07dc622 100644 --- a/drivers/led/led-triggers.c +++ b/drivers/led/led-triggers.c @@ -3,9 +3,6 @@ * * (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 diff --git a/drivers/mci/dove-sdhci.c b/drivers/mci/dove-sdhci.c index bccda53..cb052e8 100644 --- a/drivers/mci/dove-sdhci.c +++ b/drivers/mci/dove-sdhci.c @@ -4,9 +4,6 @@ * Pengutronix, Michael Grzeschik * Sebastian Hesselbarth * - * 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 diff --git a/drivers/mci/imx-esdhc.c b/drivers/mci/imx-esdhc.c index dc8fab7..bff8dd6 100644 --- a/drivers/mci/imx-esdhc.c +++ b/drivers/mci/imx-esdhc.c @@ -6,9 +6,6 @@ * (C) Copyright 2003 * Kyle Harris, Nexus Technologies, Inc. kharris@nexus-tech.net * - * 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 diff --git a/drivers/mci/mci-core.c b/drivers/mci/mci-core.c index f371832..e8844a3 100644 --- a/drivers/mci/mci-core.c +++ b/drivers/mci/mci-core.c @@ -8,9 +8,6 @@ * * Based vaguely on the Linux code * - * 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 diff --git a/drivers/mci/omap_hsmmc.c b/drivers/mci/omap_hsmmc.c index 4e809ba..fe0cd47 100644 --- a/drivers/mci/omap_hsmmc.c +++ b/drivers/mci/omap_hsmmc.c @@ -3,9 +3,6 @@ * Texas Instruments, * Sukumar Ghorai * - * 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's version 2 of diff --git a/drivers/mtd/core.c b/drivers/mtd/core.c index 881b5f4..1625d93 100644 --- a/drivers/mtd/core.c +++ b/drivers/mtd/core.c @@ -3,9 +3,6 @@ * 2N Telekomunikace, a.s. * Ladislav Michl * - * 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. diff --git a/drivers/mtd/mtdraw.c b/drivers/mtd/mtdraw.c index f63da7b..b716192 100644 --- a/drivers/mtd/mtdraw.c +++ b/drivers/mtd/mtdraw.c @@ -306,7 +306,7 @@ mtdraw->mtd = mtd; mtdraw->cdev.ops = (struct cdev_operations *)&mtd_raw_fops; - mtdraw->cdev.size = mtd_div_by_wb(mtd->size, mtd) * mtdraw->rps; + mtdraw->cdev.size = (loff_t)mtd_div_by_wb(mtd->size, mtd) * mtdraw->rps; mtdraw->cdev.name = basprintf("%s.raw", mtd->cdev.name); mtdraw->cdev.priv = mtdraw; mtdraw->cdev.dev = &mtd->class_dev; diff --git a/drivers/mtd/nand/nand-bb.c b/drivers/mtd/nand/nand-bb.c index e578d72..c0104c5 100644 --- a/drivers/mtd/nand/nand-bb.c +++ b/drivers/mtd/nand/nand-bb.c @@ -1,9 +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. diff --git a/drivers/mtd/nor/cfi_flash.c b/drivers/mtd/nor/cfi_flash.c index 01ab1aa..430f926 100644 --- a/drivers/mtd/nor/cfi_flash.c +++ b/drivers/mtd/nor/cfi_flash.c @@ -11,9 +11,6 @@ * Copyright (C) 2006 * Tolunay Orkun * - * 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 diff --git a/drivers/mtd/nor/cfi_flash.h b/drivers/mtd/nor/cfi_flash.h index e82eb28..cea6a87 100644 --- a/drivers/mtd/nor/cfi_flash.h +++ b/drivers/mtd/nor/cfi_flash.h @@ -5,9 +5,6 @@ * (C) Copyright 2000-2005 * 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 diff --git a/drivers/mtd/ubi/build.c b/drivers/mtd/ubi/build.c index 604fe87..da40901 100644 --- a/drivers/mtd/ubi/build.c +++ b/drivers/mtd/ubi/build.c @@ -508,6 +508,14 @@ struct ubi_device *ubi; int i, err, ref = 0; + /* + * Do not try to attach an UBI device if this device has partitions + * as it's not a good idea to attach UBI on a raw device when the + * real UBI only spans the first partition. + */ + if (!list_empty(&mtd->partitions)) + return -EBUSY; + if (max_beb_per1024 < 0 || max_beb_per1024 > MAX_MTD_UBI_BEB_LIMIT) return -EINVAL; diff --git a/drivers/net/designware_eqos.c b/drivers/net/designware_eqos.c index cb52f39..d2baaea 100644 --- a/drivers/net/designware_eqos.c +++ b/drivers/net/designware_eqos.c @@ -360,6 +360,11 @@ int ret; int i; + ret = phy_device_connect(edev, &eqos->miibus, eqos->phy_addr, + eqos->ops->adjust_link, 0, eqos->interface); + if (ret) + return ret; + setbits_le32(&eqos->dma_regs->mode, EQOS_DMA_MODE_SWR); ret = readl_poll_timeout(&eqos->dma_regs->mode, mode_set, @@ -379,11 +384,6 @@ val = (rate / USEC_PER_SEC) - 1; /* -1 because the data sheet says so */ writel(val, &eqos->mac_regs->us_tic_counter); - ret = phy_device_connect(edev, &eqos->miibus, eqos->phy_addr, - eqos->ops->adjust_link, 0, eqos->interface); - if (ret) - return ret; - /* Before we reset the mac, we must insure the PHY is not powered down * as the dw controller needs all clock domains to be running, including * the PHY clock, to come out of a mac reset. */ diff --git a/drivers/of/address.c b/drivers/of/address.c index f0a74ec..524a0f6 100644 --- a/drivers/of/address.c +++ b/drivers/of/address.c @@ -5,9 +5,6 @@ * * based on Linux devicetree support * - * 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. diff --git a/drivers/of/barebox.c b/drivers/of/barebox.c index 64f4833..aa0cfb6 100644 --- a/drivers/of/barebox.c +++ b/drivers/of/barebox.c @@ -3,9 +3,6 @@ * * 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. diff --git a/drivers/of/base.c b/drivers/of/base.c index 1223e0a..4c633bc 100644 --- a/drivers/of/base.c +++ b/drivers/of/base.c @@ -5,9 +5,6 @@ * * based on Linux devicetree support * - * 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. diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c index cf3f1ee..a31e2c3 100644 --- a/drivers/of/fdt.c +++ b/drivers/of/fdt.c @@ -5,9 +5,6 @@ * * based on Linux devicetree support * - * 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. diff --git a/drivers/of/of_path.c b/drivers/of/of_path.c index 5c3a020..c237d9c 100644 --- a/drivers/of/of_path.c +++ b/drivers/of/of_path.c @@ -3,9 +3,6 @@ * * 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. diff --git a/drivers/of/partition.c b/drivers/of/partition.c index 655b67f..7367073 100644 --- a/drivers/of/partition.c +++ b/drivers/of/partition.c @@ -5,9 +5,6 @@ * * based on Linux devicetree support * - * 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. diff --git a/drivers/of/platform.c b/drivers/of/platform.c index b1a7eb6..ca84ced 100644 --- a/drivers/of/platform.c +++ b/drivers/of/platform.c @@ -5,9 +5,6 @@ * * based on Linux devicetree support * - * 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. diff --git a/drivers/pinctrl/imx-iomux-v3.c b/drivers/pinctrl/imx-iomux-v3.c index dccf7d1..a45c242 100644 --- a/drivers/pinctrl/imx-iomux-v3.c +++ b/drivers/pinctrl/imx-iomux-v3.c @@ -3,9 +3,6 @@ * * Copyright (c) 2013 Sascha Hauer * - * 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. diff --git a/drivers/pinctrl/pinctrl-at91.c b/drivers/pinctrl/pinctrl-at91.c index 0da6332..13add1f 100644 --- a/drivers/pinctrl/pinctrl-at91.c +++ b/drivers/pinctrl/pinctrl-at91.c @@ -3,9 +3,6 @@ * Copyright (C) 2011-2012 Jean-Christophe PLAGNIOL-VILLARD * Copyright (C) 2014 Raphaël Poggi * - * 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 diff --git a/drivers/pinctrl/pinctrl-mxs.c b/drivers/pinctrl/pinctrl-mxs.c index b48ed2a..96f30bf 100644 --- a/drivers/pinctrl/pinctrl-mxs.c +++ b/drivers/pinctrl/pinctrl-mxs.c @@ -3,9 +3,6 @@ * * Copyright (c) 2015 Sascha Hauer * - * 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. diff --git a/drivers/pinctrl/pinctrl-single.c b/drivers/pinctrl/pinctrl-single.c index 2cd58df..4ce66a8 100644 --- a/drivers/pinctrl/pinctrl-single.c +++ b/drivers/pinctrl/pinctrl-single.c @@ -4,9 +4,6 @@ * * Copyright (c) 2013 Sascha Hauer * - * 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. diff --git a/drivers/pinctrl/pinctrl-vf610.c b/drivers/pinctrl/pinctrl-vf610.c index 662fa9b..9a8ce0c 100644 --- a/drivers/pinctrl/pinctrl-vf610.c +++ b/drivers/pinctrl/pinctrl-vf610.c @@ -2,9 +2,6 @@ * Copyright (c) 2016 Zodiac Inflight Innovation * Author: Andrey Smirnov * - * 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. diff --git a/drivers/pinctrl/pinctrl.c b/drivers/pinctrl/pinctrl.c index 0e42a31..b36521e 100644 --- a/drivers/pinctrl/pinctrl.c +++ b/drivers/pinctrl/pinctrl.c @@ -3,9 +3,6 @@ * * Copyright (c) 2013 Sascha Hauer * - * 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. diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index f459d07..74e00d7 100644 --- a/drivers/regulator/core.c +++ b/drivers/regulator/core.c @@ -3,9 +3,6 @@ * * 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. diff --git a/drivers/regulator/fixed.c b/drivers/regulator/fixed.c index 78b8290..0b1c752 100644 --- a/drivers/regulator/fixed.c +++ b/drivers/regulator/fixed.c @@ -3,9 +3,6 @@ * * 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. diff --git a/drivers/serial/amba-pl011.c b/drivers/serial/amba-pl011.c index 9b567e3..0751c52 100644 --- a/drivers/serial/amba-pl011.c +++ b/drivers/serial/amba-pl011.c @@ -6,9 +6,6 @@ * ARM Ltd. * Philippe Robin, * - * 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 diff --git a/drivers/serial/efi-stdio.c b/drivers/serial/efi-stdio.c index 9e82518..d269985 100644 --- a/drivers/serial/efi-stdio.c +++ b/drivers/serial/efi-stdio.c @@ -3,9 +3,6 @@ * * 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. diff --git a/drivers/serial/linux_console.c b/drivers/serial/linux_console.c index 0d5da9d..056fbc6 100644 --- a/drivers/serial/linux_console.c +++ b/drivers/serial/linux_console.c @@ -3,9 +3,6 @@ * * 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. diff --git a/drivers/serial/serial_altera.c b/drivers/serial/serial_altera.c index 10d1506..51dcf8c 100644 --- a/drivers/serial/serial_altera.c +++ b/drivers/serial/serial_altera.c @@ -1,9 +1,6 @@ /* * (C) Copyright 2011, Franck JULLIEN, * - * 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 diff --git a/drivers/serial/serial_altera_jtag.c b/drivers/serial/serial_altera_jtag.c index 0164ea5..1c485ed 100644 --- a/drivers/serial/serial_altera_jtag.c +++ b/drivers/serial/serial_altera_jtag.c @@ -4,9 +4,6 @@ * * (C) Copyright 2011 - Franck JULLIEN * - * 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 diff --git a/drivers/serial/serial_ar933x.c b/drivers/serial/serial_ar933x.c index dda6046..2fe1b4f 100644 --- a/drivers/serial/serial_ar933x.c +++ b/drivers/serial/serial_ar933x.c @@ -1,9 +1,6 @@ /* * based on linux.git/drivers/tty/serial/serial_ar933x.c * - * 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 diff --git a/drivers/serial/serial_digic.c b/drivers/serial/serial_digic.c index 06b6e15..d3cfa69 100644 --- a/drivers/serial/serial_digic.c +++ b/drivers/serial/serial_digic.c @@ -2,7 +2,6 @@ * Copyright (C) 2013, 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 diff --git a/drivers/serial/serial_lpuart.c b/drivers/serial/serial_lpuart.c index 246fc3d..bfc3a13 100644 --- a/drivers/serial/serial_lpuart.c +++ b/drivers/serial/serial_lpuart.c @@ -4,9 +4,6 @@ * * Based on analogous driver from U-Boot * - * 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. diff --git a/drivers/serial/serial_mpc5xxx.c b/drivers/serial/serial_mpc5xxx.c index cc63a84..742af27 100644 --- a/drivers/serial/serial_mpc5xxx.c +++ b/drivers/serial/serial_mpc5xxx.c @@ -2,9 +2,6 @@ * (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 diff --git a/drivers/serial/serial_ns16550.c b/drivers/serial/serial_ns16550.c index 3edeb0d..5d6cec8 100644 --- a/drivers/serial/serial_ns16550.c +++ b/drivers/serial/serial_ns16550.c @@ -17,9 +17,6 @@ * (C) Copyright 2000 * Rob Taylor, Flying Pig Systems. robt@flyingpig.com. * - * 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 diff --git a/drivers/serial/serial_pl010.c b/drivers/serial/serial_pl010.c index 06f9d2d..74a0c81 100644 --- a/drivers/serial/serial_pl010.c +++ b/drivers/serial/serial_pl010.c @@ -8,9 +8,6 @@ * ARM Ltd. * Philippe Robin, * - * 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 diff --git a/drivers/serial/serial_pl010.h b/drivers/serial/serial_pl010.h index ff3d2f9..f442339 100644 --- a/drivers/serial/serial_pl010.h +++ b/drivers/serial/serial_pl010.h @@ -5,9 +5,6 @@ * ARM Ltd. * Philippe Robin, * - * 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 diff --git a/drivers/spi/ath79_spi.c b/drivers/spi/ath79_spi.c index bb63d86..e47896b 100644 --- a/drivers/spi/ath79_spi.c +++ b/drivers/spi/ath79_spi.c @@ -2,7 +2,6 @@ * Copyright (C) 2013, 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 as diff --git a/drivers/spi/omap3_spi.c b/drivers/spi/omap3_spi.c index beea772..ff9eccc 100644 --- a/drivers/spi/omap3_spi.c +++ b/drivers/spi/omap3_spi.c @@ -13,9 +13,6 @@ * * Modified by Ruslan Araslanov * - * 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 diff --git a/drivers/spi/omap3_spi.h b/drivers/spi/omap3_spi.h index 24cdc53..8b90920 100644 --- a/drivers/spi/omap3_spi.h +++ b/drivers/spi/omap3_spi.h @@ -8,9 +8,6 @@ * * Modified by Ruslan Araslanov * - * 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 diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index 2ac4184..01653d8 100644 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c @@ -3,9 +3,6 @@ * * 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. diff --git a/drivers/usb/core/of.c b/drivers/usb/core/of.c index 979088e..b534ede 100644 --- a/drivers/usb/core/of.c +++ b/drivers/usb/core/of.c @@ -1,9 +1,6 @@ /* * usb devicetree helper functions * - * 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. diff --git a/drivers/usb/core/usb.c b/drivers/usb/core/usb.c index d0a91b9..30c251f 100644 --- a/drivers/usb/core/usb.c +++ b/drivers/usb/core/usb.c @@ -15,9 +15,6 @@ * Adapted for barebox: * (C) Copyright 2001 Denis Peter, MPL AG Switzerland * - * 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 diff --git a/drivers/usb/gadget/dfu.c b/drivers/usb/gadget/dfu.c index 9117a5b..7e23fa3 100644 --- a/drivers/usb/gadget/dfu.c +++ b/drivers/usb/gadget/dfu.c @@ -5,9 +5,6 @@ * based on existing SAM7DFU code from OpenPCD: * (C) Copyright 2006 by Harald Welte * - * 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 diff --git a/drivers/usb/host/ehci-atmel.c b/drivers/usb/host/ehci-atmel.c index 6c88d64..192c5ef 100644 --- a/drivers/usb/host/ehci-atmel.c +++ b/drivers/usb/host/ehci-atmel.c @@ -1,9 +1,6 @@ /* * (C) Copyright 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 diff --git a/drivers/usb/host/ohci-at91.c b/drivers/usb/host/ohci-at91.c index 1013ba3..05ed287 100644 --- a/drivers/usb/host/ohci-at91.c +++ b/drivers/usb/host/ohci-at91.c @@ -1,9 +1,6 @@ /* * (C) Copyright 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 diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c index 924dc8e..a28c48b 100644 --- a/drivers/usb/host/ohci-hcd.c +++ b/drivers/usb/host/ohci-hcd.c @@ -17,9 +17,6 @@ * Modified for the MP2USB by (C) Copyright 2005 Eric Benard * ebenard@eukrea.com - based on s3c24x0's driver * - * 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 diff --git a/drivers/video/atmel_hlcdfb.c b/drivers/video/atmel_hlcdfb.c index aa84334..9c20e44 100644 --- a/drivers/video/atmel_hlcdfb.c +++ b/drivers/video/atmel_hlcdfb.c @@ -3,9 +3,6 @@ * * Copyright (C) 2007 Atmel Corporation * - * 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 diff --git a/drivers/video/atmel_lcdfb.c b/drivers/video/atmel_lcdfb.c index 322404f..6ce47bb 100644 --- a/drivers/video/atmel_lcdfb.c +++ b/drivers/video/atmel_lcdfb.c @@ -3,9 +3,6 @@ * * Copyright (C) 2007 Atmel Corporation * - * 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 diff --git a/drivers/video/atmel_lcdfb_core.c b/drivers/video/atmel_lcdfb_core.c index c6ece5b..d8c35b2 100644 --- a/drivers/video/atmel_lcdfb_core.c +++ b/drivers/video/atmel_lcdfb_core.c @@ -3,9 +3,6 @@ * * Copyright (C) 2007 Atmel Corporation * - * 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 diff --git a/drivers/video/backlight-pwm.c b/drivers/video/backlight-pwm.c index 9111a42..cae016b 100644 --- a/drivers/video/backlight-pwm.c +++ b/drivers/video/backlight-pwm.c @@ -3,9 +3,6 @@ * * (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 @@ -37,7 +34,6 @@ unsigned int *levels; int enable_gpio; int enable_active_high; - int max_value; int enabled; unsigned int scale; }; @@ -206,6 +202,7 @@ pwm_backlight->backlight.slew_time_ms = 100; pwm_backlight->backlight.brightness_set = backlight_pwm_set; + pwm_backlight->backlight.dev.parent = dev; pwm_backlight->backlight.node = dev->device_node; ret = backlight_register(&pwm_backlight->backlight); diff --git a/drivers/video/imx-ipu-fb.c b/drivers/video/imx-ipu-fb.c index 9cc7a91..18171bd 100644 --- a/drivers/video/imx-ipu-fb.c +++ b/drivers/video/imx-ipu-fb.c @@ -2,9 +2,6 @@ * Copyright (C) 2009 * Guennadi Liakhovetski, DENX Software Engineering, * - * 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 diff --git a/drivers/video/mtl017.c b/drivers/video/mtl017.c index c04875c..dbd509e 100644 --- a/drivers/video/mtl017.c +++ b/drivers/video/mtl017.c @@ -1,9 +1,6 @@ /* * (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 diff --git a/drivers/video/omap.c b/drivers/video/omap.c index 884365f..67b3152 100644 --- a/drivers/video/omap.c +++ b/drivers/video/omap.c @@ -4,9 +4,6 @@ * Copyright (C) 2013 Christoph Fritz * Based on work by Enrico Scholz, sponsored by Phytec * - * 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 diff --git a/drivers/video/omap.h b/drivers/video/omap.h index ac9e1ce..de88c83 100644 --- a/drivers/video/omap.h +++ b/drivers/video/omap.h @@ -3,9 +3,6 @@ * * Copyright (C) 2013 Christoph Fritz * - * 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 diff --git a/drivers/video/simple-panel.c b/drivers/video/simple-panel.c index be39ff0..1d05153 100644 --- a/drivers/video/simple-panel.c +++ b/drivers/video/simple-panel.c @@ -3,9 +3,6 @@ * * (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 diff --git a/drivers/video/vpl.c b/drivers/video/vpl.c index 82ceeeb..68b7d6d 100644 --- a/drivers/video/vpl.c +++ b/drivers/video/vpl.c @@ -3,9 +3,6 @@ * * (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 diff --git a/dts/src/powerpc/arches.dts b/dts/src/powerpc/arches.dts index 75a376a..8fae855 100644 --- a/dts/src/powerpc/arches.dts +++ b/dts/src/powerpc/arches.dts @@ -9,9 +9,6 @@ * Based on the glacier.dts file * Stefan Roese * Copyright 2008 DENX Software Engineering - * - * See file CREDITS for list of people who contributed to this - * project. */ /dts-v1/; diff --git a/fs/devfs-core.c b/fs/devfs-core.c index 5341e39..f804f96 100644 --- a/fs/devfs-core.c +++ b/fs/devfs-core.c @@ -3,9 +3,6 @@ * * 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. diff --git a/fs/devfs.c b/fs/devfs.c index e1893d1..b503f27 100644 --- a/fs/devfs.c +++ b/fs/devfs.c @@ -3,9 +3,6 @@ * * 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. diff --git a/fs/efi.c b/fs/efi.c index 944d6aa..edf6517 100644 --- a/fs/efi.c +++ b/fs/efi.c @@ -3,9 +3,6 @@ * * 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. diff --git a/fs/efivarfs.c b/fs/efivarfs.c index 9eadda4..659716f 100644 --- a/fs/efivarfs.c +++ b/fs/efivarfs.c @@ -3,9 +3,6 @@ * * 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. diff --git a/fs/ext4/ext_barebox.c b/fs/ext4/ext_barebox.c index 82d4c58..353ab44 100644 --- a/fs/ext4/ext_barebox.c +++ b/fs/ext4/ext_barebox.c @@ -3,9 +3,6 @@ * * 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. diff --git a/fs/fat/fat.c b/fs/fat/fat.c index 394c75f..c2da0ad 100644 --- a/fs/fat/fat.c +++ b/fs/fat/fat.c @@ -3,9 +3,6 @@ * * 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. diff --git a/fs/fs.c b/fs/fs.c index 77e8f3a..d838932 100644 --- a/fs/fs.c +++ b/fs/fs.c @@ -3,9 +3,6 @@ * * 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. diff --git a/fs/nfs.c b/fs/nfs.c index 227a486..15ddab7 100644 --- a/fs/nfs.c +++ b/fs/nfs.c @@ -8,9 +8,6 @@ * Based on U-Boot NFS code which is based on NetBSD code with * major changes to support nfs3. * - * 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. diff --git a/fs/ramfs.c b/fs/ramfs.c index 7e7dc7a..5328775 100644 --- a/fs/ramfs.c +++ b/fs/ramfs.c @@ -3,9 +3,6 @@ * * 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. diff --git a/fs/tftp.c b/fs/tftp.c index 1f36c56..d186e79 100644 --- a/fs/tftp.c +++ b/fs/tftp.c @@ -3,9 +3,6 @@ * * 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. diff --git a/include/aiodev.h b/include/aiodev.h index ff877c0..65d817f 100644 --- a/include/aiodev.h +++ b/include/aiodev.h @@ -3,9 +3,6 @@ * * Copyright (c) 2015 Sascha Hauer , Pengutronix * Copyright (c) 2015 Zodiac Inflight Innovation - * - * See file CREDITS for list of people who contributed to this - * project. */ #ifndef __AIODEVICE_H diff --git a/include/asm-generic/io.h b/include/asm-generic/io.h index 973b8b9..76e6d0d 100644 --- a/include/asm-generic/io.h +++ b/include/asm-generic/io.h @@ -420,4 +420,8 @@ #endif #endif /* CONFIG_64BIT */ +#ifndef IOMEM +#define IOMEM(addr) ((void __force __iomem *)(addr)) +#endif + #endif /* __ASM_GENERIC_IO_H */ diff --git a/include/ata_drive.h b/include/ata_drive.h index d98e410..eae74db 100644 --- a/include/ata_drive.h +++ b/include/ata_drive.h @@ -1,8 +1,4 @@ /* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * See file CREDITS for list of people who contributed to this - * project. - */ #ifndef ATA_DISK_H #define ATA_DISK_H diff --git a/include/command.h b/include/command.h index f016e35..860eae3 100644 --- a/include/command.h +++ b/include/command.h @@ -2,9 +2,6 @@ /* * (C) Copyright 2000 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * See file CREDITS for list of people who contributed to this - * project. */ /* diff --git a/include/common.h b/include/common.h index ef2e4e5..ce16ff8 100644 --- a/include/common.h +++ b/include/common.h @@ -2,9 +2,6 @@ /* * (C) Copyright 2000-2004 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * See file CREDITS for list of people who contributed to this - * project. */ #ifndef __COMMON_H_ @@ -87,7 +84,7 @@ extern int (*barebox_main)(void); enum autoboot_state { - AUTOBOOT_UNKNOWN, + AUTOBOOT_COUNTDOWN, AUTOBOOT_ABORT, AUTOBOOT_MENU, AUTOBOOT_BOOT, @@ -138,31 +135,4 @@ void barebox_set_hostname(const char *); void barebox_set_hostname_no_overwrite(const char *); -#ifndef IOMEM -#define IOMEM(addr) ((void __force __iomem *)(addr)) -#endif - -/* - * Check if two regions overlap. returns true if they do, false otherwise - */ -static inline bool region_overlap(unsigned long starta, unsigned long lena, - unsigned long startb, unsigned long lenb) -{ - if (starta + lena <= startb) - return 0; - if (startb + lenb <= starta) - return 0; - return 1; -} - -static inline bool lregion_overlap(loff_t starta, loff_t lena, - loff_t startb, loff_t lenb) -{ - if (starta + lena <= startb) - return 0; - if (startb + lenb <= starta) - return 0; - return 1; -} - #endif /* __COMMON_H_ */ diff --git a/include/console.h b/include/console.h index 634b95c..5b5c037 100644 --- a/include/console.h +++ b/include/console.h @@ -2,9 +2,6 @@ /* * (C) Copyright 2000 * Paolo Scaffardi, AIRVENT SAM s.p.a - RIMINI(ITALY), arsenio@tin.it - * - * See file CREDITS for list of people who contributed to this - * project. */ #ifndef _CONSOLE_H_ diff --git a/include/digest.h b/include/digest.h index 6148c03..e4a5216 100644 --- a/include/digest.h +++ b/include/digest.h @@ -1,9 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* * (C) Copyright 2008-2010 Jean-Christophe PLAGNIOL-VILLARD - * - * See file CREDITS for list of people who contributed to this - * project. */ #ifndef __DIGEST_H__ diff --git a/include/disks.h b/include/disks.h index e9b72c2..1ca7063 100644 --- a/include/disks.h +++ b/include/disks.h @@ -1,8 +1,4 @@ /* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * See file CREDITS for list of people who contributed to this - * project. - */ #ifndef DISKS_H #define DISKS_H diff --git a/include/driver.h b/include/driver.h index fac3953..154525e 100644 --- a/include/driver.h +++ b/include/driver.h @@ -1,9 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2007 Pengutronix, Sascha Hauer - * - * See file CREDITS for list of people who contributed to this - * project. */ #ifndef DRIVER_H diff --git a/include/environment.h b/include/environment.h index 39606b8..9488e4e 100644 --- a/include/environment.h +++ b/include/environment.h @@ -2,9 +2,6 @@ /* * (C) Copyright 2002 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * See file CREDITS for list of people who contributed to this - * project. */ #ifndef _ENVIRONMENT_H_ diff --git a/include/hab.h b/include/hab.h index 1aa5384..d594ad9 100644 --- a/include/hab.h +++ b/include/hab.h @@ -1,9 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2014, 2015 Marc Kleine-Budde - * - * See file CREDITS for list of people who contributed to this - * project. */ #ifndef __HABV4_H diff --git a/include/image.h b/include/image.h index 18344df..88b628b 100644 --- a/include/image.h +++ b/include/image.h @@ -3,9 +3,6 @@ * (C) Copyright 2000-2005 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. * - * See file CREDITS for list of people who contributed to this - * project. - * ******************************************************************** * NOTE: This header file defines an interface to barebox. Including * this (unmodified) header file in another file is considered normal diff --git a/include/int_sqrt.h b/include/int_sqrt.h index b06e6a8..d5dfd29 100644 --- a/include/int_sqrt.h +++ b/include/int_sqrt.h @@ -1,8 +1,4 @@ /* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * See file CREDITS for list of people who contributed to this - * project. - */ #ifndef __INT_SQRT__ #define __INT_SQRT__ diff --git a/include/linux/export.h b/include/linux/export.h new file mode 100644 index 0000000..88d318b --- /dev/null +++ b/include/linux/export.h @@ -0,0 +1,39 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef _LINUX_EXPORT_H +#define _LINUX_EXPORT_H + +#define THIS_MODULE 0 + +#ifdef CONFIG_MODULES + +struct kernel_symbol +{ + unsigned long value; + const char *name; +}; + +/* For every exported symbol, place a struct in the __ksymtab section */ +#define __EXPORT_SYMBOL(sym, sec) \ + extern typeof(sym) sym; \ + static const char __ustrtab_##sym[] \ + __attribute__((section("__usymtab_strings"))) \ + = MODULE_SYMBOL_PREFIX #sym; \ + static const struct kernel_symbol __usymtab_##sym \ + __used \ + __attribute__((section("__usymtab" sec), unused)) \ + = { (unsigned long)&sym, __ustrtab_##sym } + +#define EXPORT_SYMBOL(sym) \ + __EXPORT_SYMBOL(sym, "") + +#define EXPORT_SYMBOL_GPL(sym) \ + __EXPORT_SYMBOL(sym, "") + +#else + +#define EXPORT_SYMBOL(sym) +#define EXPORT_SYMBOL_GPL(sym) + +#endif /* CONFIG_MODULES */ + +#endif /* _LINUX_EXPORT_H */ diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h index e2fe42d..679ce6e 100644 --- a/include/linux/phy/phy.h +++ b/include/linux/phy/phy.h @@ -139,8 +139,6 @@ u8 index); void phy_put(struct phy *phy); struct phy *of_phy_get(struct device_node *np, const char *con_id); -struct phy *of_phy_simple_xlate(struct device_d *dev, - struct of_phandle_args *args); struct phy *phy_create(struct device_d *dev, struct device_node *node, const struct phy_ops *ops); void phy_destroy(struct phy *phy); @@ -215,12 +213,6 @@ return ERR_PTR(-ENOSYS); } -static inline struct phy *of_phy_simple_xlate(struct device_d *dev, - struct of_phandle_args *args) -{ - return ERR_PTR(-ENOSYS); -} - static inline struct phy *phy_create(struct device_d *dev, struct device_node *node, const struct phy_ops *ops) diff --git a/include/mci.h b/include/mci.h index cf9d188..96547fb 100644 --- a/include/mci.h +++ b/include/mci.h @@ -8,9 +8,6 @@ * Andy Fleming * * Based (loosely) on the Linux code - * - * See file CREDITS for list of people who contributed to this - * project. */ #ifndef _MCI_H_ diff --git a/include/menu.h b/include/menu.h index 77c496c..bf1f6c4 100644 --- a/include/menu.h +++ b/include/menu.h @@ -1,9 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* * (C) Copyright 2009-2010 Jean-Christophe PLAGNIOL-VILLARD - * - * See file CREDITS for list of people who contributed to this - * project. */ #ifndef __MENU_H__ diff --git a/include/mfd/mc13892.h b/include/mfd/mc13892.h index e9a41ba..a647bf3 100644 --- a/include/mfd/mc13892.h +++ b/include/mfd/mc13892.h @@ -4,9 +4,6 @@ * * (C) Copyright 2009 Freescale Semiconductor, Inc. * - * 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 diff --git a/include/module.h b/include/module.h index abf740a..cea8c2e 100644 --- a/include/module.h +++ b/include/module.h @@ -4,6 +4,7 @@ #include #include +#include #include #ifndef MODULE_SYMBOL_PREFIX @@ -11,36 +12,12 @@ #endif #define MODULE_NAME_LEN (64 - sizeof(unsigned long)) -#define THIS_MODULE 0 #ifdef CONFIG_MODULES #include -struct kernel_symbol -{ - unsigned long value; - const char *name; -}; - struct module * load_module(void *mod_image, unsigned long len); -/* For every exported symbol, place a struct in the __ksymtab section */ -#define __EXPORT_SYMBOL(sym, sec) \ - extern typeof(sym) sym; \ - static const char __ustrtab_##sym[] \ - __attribute__((section("__usymtab_strings"))) \ - = MODULE_SYMBOL_PREFIX #sym; \ - static const struct kernel_symbol __usymtab_##sym \ - __used \ - __attribute__((section("__usymtab" sec), unused)) \ - = { (unsigned long)&sym, __ustrtab_##sym } - -#define EXPORT_SYMBOL(sym) \ - __EXPORT_SYMBOL(sym, "") - -#define EXPORT_SYMBOL_GPL(sym) \ - __EXPORT_SYMBOL(sym, "") - struct module { /* Unique handle for this module */ char name[MODULE_NAME_LEN]; @@ -74,9 +51,6 @@ unsigned int symindex, unsigned int relsec, struct module *mod); -#else -#define EXPORT_SYMBOL(sym) -#define EXPORT_SYMBOL_GPL(sym) #endif /* CONFIG_MODULES */ extern struct list_head module_list; diff --git a/include/of.h b/include/of.h index 85d55f9..08bbeaf 100644 --- a/include/of.h +++ b/include/of.h @@ -79,8 +79,8 @@ static inline u64 of_read_number(const __be32 *cell, int size) { u64 r = 0; - while (size--) - r = (r << 32) | be32_to_cpu(*(cell++)); + for (; size--; cell++) + r = (r << 32) | be32_to_cpu(*cell); return r; } diff --git a/include/part.h b/include/part.h index 66cc93a..e98647c 100644 --- a/include/part.h +++ b/include/part.h @@ -2,9 +2,6 @@ /* * (C) Copyright 2000-2004 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * See file CREDITS for list of people who contributed to this - * project. */ #ifndef _PART_H #define _PART_H diff --git a/include/password.h b/include/password.h index e259a87..9569547 100644 --- a/include/password.h +++ b/include/password.h @@ -1,9 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2008-2010 Jean-Christophe PLAGNIOL-VILLARD - * - * See file CREDITS for list of people who contributed to this - * project. */ #ifndef __PASSWORD_H__ diff --git a/include/platform_data/ide.h b/include/platform_data/ide.h index f71fbfb..e7aaf2f 100644 --- a/include/platform_data/ide.h +++ b/include/platform_data/ide.h @@ -1,7 +1,4 @@ /* - * 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 diff --git a/include/rtc.h b/include/rtc.h index 3190ea2..d7e103d 100644 --- a/include/rtc.h +++ b/include/rtc.h @@ -2,9 +2,6 @@ /* * (C) Copyright 2001 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * See file CREDITS for list of people who contributed to this - * project. */ /* diff --git a/include/s_record.h b/include/s_record.h index 190850b..096b04d 100644 --- a/include/s_record.h +++ b/include/s_record.h @@ -2,9 +2,6 @@ /* * (C) Copyright 2000 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * See file CREDITS for list of people who contributed to this - * project. */ /*-------------------------------------------------------------------------- diff --git a/include/scsi.h b/include/scsi.h index ede1907..e239748 100644 --- a/include/scsi.h +++ b/include/scsi.h @@ -2,9 +2,6 @@ /* * (C) Copyright 2001 * Denis Peter, MPL AG Switzerland - * - * See file CREDITS for list of people who contributed to this - * project. */ #ifndef _SCSI_H #define _SCSI_H diff --git a/include/serial/lpuart.h b/include/serial/lpuart.h index 9c6e271..3ced2cd 100644 --- a/include/serial/lpuart.h +++ b/include/serial/lpuart.h @@ -4,9 +4,6 @@ * * Based on code found in Linux kernel and U-Boot. * - * 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. diff --git a/include/usb/usb.h b/include/usb/usb.h index 82a4736..c2085ea 100644 --- a/include/usb/usb.h +++ b/include/usb/usb.h @@ -2,9 +2,6 @@ * (C) Copyright 2001 * Denis Peter, MPL AG Switzerland * - * 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 diff --git a/include/usb/usb_defs.h b/include/usb/usb_defs.h index cfde278..731bc51 100644 --- a/include/usb/usb_defs.h +++ b/include/usb/usb_defs.h @@ -2,9 +2,6 @@ * (C) Copyright 2001 * Denis Peter, MPL AG Switzerland * - * 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 diff --git a/lib/cmdlinepart.c b/lib/cmdlinepart.c index 5b9f33c..5a16462 100644 --- a/lib/cmdlinepart.c +++ b/lib/cmdlinepart.c @@ -3,9 +3,6 @@ * * Copyright (c) 2015 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. diff --git a/lib/ctype.c b/lib/ctype.c index 6d20da5..3c117eb 100644 --- a/lib/ctype.c +++ b/lib/ctype.c @@ -2,9 +2,6 @@ * (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 diff --git a/lib/display_options.c b/lib/display_options.c index 0f65f59..d392dee 100644 --- a/lib/display_options.c +++ b/lib/display_options.c @@ -2,9 +2,6 @@ * (C) Copyright 2000-2002 * 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 diff --git a/lib/gui/bmp_layout.h b/lib/gui/bmp_layout.h index d7db537..903d6f8 100644 --- a/lib/gui/bmp_layout.h +++ b/lib/gui/bmp_layout.h @@ -1,9 +1,6 @@ /* (C) Copyright 2002 * Detlev Zundel, DENX Software Engineering, dzu@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 diff --git a/lib/int_sqrt.c b/lib/int_sqrt.c index bf8b18f..24b3d50 100644 --- a/lib/int_sqrt.c +++ b/lib/int_sqrt.c @@ -1,7 +1,4 @@ /* - * 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 diff --git a/lib/libfile.c b/lib/libfile.c index dbeed12..b4d87b6 100644 --- a/lib/libfile.c +++ b/lib/libfile.c @@ -1,9 +1,6 @@ /* * 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. diff --git a/lib/libgen.c b/lib/libgen.c index 61a8670..94c9db9 100644 --- a/lib/libgen.c +++ b/lib/libgen.c @@ -1,9 +1,6 @@ /* * libgen.c - some libgen functions needed for 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. diff --git a/lib/logo/logo.c b/lib/logo/logo.c index 9edf212..8349b06 100644 --- a/lib/logo/logo.c +++ b/lib/logo/logo.c @@ -1,9 +1,6 @@ /* * Copyright (c) 2015 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. diff --git a/lib/misc.c b/lib/misc.c index 7add1fe..532f0bf 100644 --- a/lib/misc.c +++ b/lib/misc.c @@ -3,9 +3,6 @@ * * 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. diff --git a/lib/parameter.c b/lib/parameter.c index 2269563..f57b7d0 100644 --- a/lib/parameter.c +++ b/lib/parameter.c @@ -3,9 +3,6 @@ * * 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. diff --git a/lib/process_escape_sequence.c b/lib/process_escape_sequence.c index 3747da1..2a3b2d9 100644 --- a/lib/process_escape_sequence.c +++ b/lib/process_escape_sequence.c @@ -3,9 +3,6 @@ * * 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. diff --git a/lib/readkey.c b/lib/readkey.c index e72da00..fd72951 100644 --- a/lib/readkey.c +++ b/lib/readkey.c @@ -5,9 +5,6 @@ * * 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. diff --git a/lib/show_progress.c b/lib/show_progress.c index a32a13c..8508579 100644 --- a/lib/show_progress.c +++ b/lib/show_progress.c @@ -3,9 +3,6 @@ * * 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. diff --git a/lib/uncompress.c b/lib/uncompress.c index 3e4bc5f..c47d319 100644 --- a/lib/uncompress.c +++ b/lib/uncompress.c @@ -3,9 +3,6 @@ * * 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. diff --git a/lib/wchar.c b/lib/wchar.c index b2e9e75..4d49431 100644 --- a/lib/wchar.c +++ b/lib/wchar.c @@ -3,9 +3,6 @@ * * 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. diff --git a/lib/xfuncs.c b/lib/xfuncs.c index 1942c1e..ac67bf4 100644 --- a/lib/xfuncs.c +++ b/lib/xfuncs.c @@ -5,9 +5,6 @@ * * 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. diff --git a/net/eth.c b/net/eth.c index 4a8a7a8..e3d0d06 100644 --- a/net/eth.c +++ b/net/eth.c @@ -2,9 +2,6 @@ * (C) Copyright 2001-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 diff --git a/net/ifup.c b/net/ifup.c index b76b4bc..6b56c3a 100644 --- a/net/ifup.c +++ b/net/ifup.c @@ -3,9 +3,6 @@ * * 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. diff --git a/net/lib.c b/net/lib.c index d2b3313..8dc35c1 100644 --- a/net/lib.c +++ b/net/lib.c @@ -10,9 +10,6 @@ * Copyright 2000 Paolo Scaffardi * Copyright 2000-2002 Wolfgang Denk, 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 version 2 * as published by the Free Software Foundation. diff --git a/net/net.c b/net/net.c index 0d889dd..5fd6246 100644 --- a/net/net.c +++ b/net/net.c @@ -10,9 +10,6 @@ * Copyright 2000 Paolo Scaffardi * Copyright 2000-2002 Wolfgang Denk, 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 version 2 * as published by the Free Software Foundation. diff --git a/net/netconsole.c b/net/netconsole.c index ef8b185..0fece65 100644 --- a/net/netconsole.c +++ b/net/netconsole.c @@ -3,9 +3,6 @@ * * 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. diff --git a/net/rarp.h b/net/rarp.h index b5b222e..24659fd 100644 --- a/net/rarp.h +++ b/net/rarp.h @@ -2,9 +2,6 @@ * (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 diff --git a/scripts/bareboxcrc32.c b/scripts/bareboxcrc32.c index 1b105a4..409e1cb 100644 --- a/scripts/bareboxcrc32.c +++ b/scripts/bareboxcrc32.c @@ -3,9 +3,6 @@ * * Copyright (c) 2013 Michael Grzeschik * - * 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. diff --git a/scripts/bareboxenv.c b/scripts/bareboxenv.c index d1cf33a..3c74343 100644 --- a/scripts/bareboxenv.c +++ b/scripts/bareboxenv.c @@ -3,9 +3,6 @@ * * 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. diff --git a/scripts/bareboximd.c b/scripts/bareboximd.c index b332d43..48c3e8a 100644 --- a/scripts/bareboximd.c +++ b/scripts/bareboximd.c @@ -1,9 +1,6 @@ /* * (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 @@ -56,7 +53,7 @@ static int write_file(const char *filename, const void *buf, size_t size) { - int fd, ret; + int fd, ret = 0; int now; fd = open(filename, O_WRONLY | O_TRUNC | O_CREAT, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); @@ -65,22 +62,18 @@ while (size) { now = write(fd, buf, size); - if (now == 0) { - errno = ENOSPC; - return -1; + if (now < 0) { + ret = now; + goto out; } - if (now < 0) - return now; size -= now; buf += now; } +out: close(fd); - if (ret < 0) - return ret; - - return 0; + return ret; } static int read_file_2(const char *filename, size_t *size, void **outbuf, size_t max_size) diff --git a/scripts/imx/imx-image.c b/scripts/imx/imx-image.c index c39ceda..ec7444a 100644 --- a/scripts/imx/imx-image.c +++ b/scripts/imx/imx-image.c @@ -1,9 +1,6 @@ /* * (C) Copyright 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 as * published by the Free Software Foundation; either version 2 of diff --git a/scripts/imx/imx.c b/scripts/imx/imx.c index c820c9a..ea576c2 100644 --- a/scripts/imx/imx.c +++ b/scripts/imx/imx.c @@ -1,9 +1,6 @@ /* * (C) Copyright 2016 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 diff --git a/scripts/s5p_cksum.c b/scripts/s5p_cksum.c index 06f51e3..29cf539 100644 --- a/scripts/s5p_cksum.c +++ b/scripts/s5p_cksum.c @@ -1,9 +1,6 @@ /* * Copyright (C) 2012 Alexey Galakhov * - * 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. diff --git a/scripts/tegra/aes_ref.c b/scripts/tegra/aes_ref.c index 4ae110f..2258311 100644 --- a/scripts/tegra/aes_ref.c +++ b/scripts/tegra/aes_ref.c @@ -12,9 +12,6 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see . - * - * See file CREDITS for list of people who contributed to this - * project. */ /* advanced encryption standard diff --git a/scripts/tegra/bct_dump.c b/scripts/tegra/bct_dump.c index dbef913..74f4d59 100644 --- a/scripts/tegra/bct_dump.c +++ b/scripts/tegra/bct_dump.c @@ -12,9 +12,6 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see . - * - * See file CREDITS for list of people who contributed to this - * project. */ #include "cbootimage.h" diff --git a/scripts/tegra/cbootimage.c b/scripts/tegra/cbootimage.c index 89682eb..d64f322 100644 --- a/scripts/tegra/cbootimage.c +++ b/scripts/tegra/cbootimage.c @@ -12,9 +12,6 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see . - * - * See file CREDITS for list of people who contributed to this - * project. */ /* diff --git a/scripts/tegra/cbootimage.h b/scripts/tegra/cbootimage.h index 46e3b8b..04d1a8b 100644 --- a/scripts/tegra/cbootimage.h +++ b/scripts/tegra/cbootimage.h @@ -12,9 +12,6 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see . - * - * See file CREDITS for list of people who contributed to this - * project. */ /* diff --git a/scripts/tegra/context.c b/scripts/tegra/context.c index 25b322f..9d2fb27 100644 --- a/scripts/tegra/context.c +++ b/scripts/tegra/context.c @@ -12,9 +12,6 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see . - * - * See file CREDITS for list of people who contributed to this - * project. */ #include "cbootimage.h" diff --git a/scripts/tegra/context.h b/scripts/tegra/context.h index 6e72471..bdfa25b 100644 --- a/scripts/tegra/context.h +++ b/scripts/tegra/context.h @@ -12,9 +12,6 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see . - * - * See file CREDITS for list of people who contributed to this - * project. */ #ifndef INCLUDED_CONTEXT_H diff --git a/scripts/tegra/crypto.c b/scripts/tegra/crypto.c index e88a255..e40f56e 100644 --- a/scripts/tegra/crypto.c +++ b/scripts/tegra/crypto.c @@ -12,9 +12,6 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see . - * - * See file CREDITS for list of people who contributed to this - * project. */ /* diff --git a/scripts/tegra/crypto.h b/scripts/tegra/crypto.h index d7151e0..2220ac8 100644 --- a/scripts/tegra/crypto.h +++ b/scripts/tegra/crypto.h @@ -12,9 +12,6 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see . - * - * See file CREDITS for list of people who contributed to this - * project. */ /* diff --git a/scripts/tegra/data_layout.c b/scripts/tegra/data_layout.c index ba3361a..99ae8d9 100644 --- a/scripts/tegra/data_layout.c +++ b/scripts/tegra/data_layout.c @@ -12,9 +12,6 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see . - * - * See file CREDITS for list of people who contributed to this - * project. */ /* diff --git a/scripts/tegra/data_layout.h b/scripts/tegra/data_layout.h index 9ee8267..c708da4 100644 --- a/scripts/tegra/data_layout.h +++ b/scripts/tegra/data_layout.h @@ -12,9 +12,6 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see . - * - * See file CREDITS for list of people who contributed to this - * project. */ /* diff --git a/scripts/tegra/nvaes_ref.h b/scripts/tegra/nvaes_ref.h index 76bd6c3..1d06e71 100644 --- a/scripts/tegra/nvaes_ref.h +++ b/scripts/tegra/nvaes_ref.h @@ -12,9 +12,6 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see . - * - * See file CREDITS for list of people who contributed to this - * project. */ #include "cbootimage.h" diff --git a/scripts/tegra/parse.c b/scripts/tegra/parse.c index 464ee8f..9180adf 100644 --- a/scripts/tegra/parse.c +++ b/scripts/tegra/parse.c @@ -12,9 +12,6 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see . - * - * See file CREDITS for list of people who contributed to this - * project. */ /* diff --git a/scripts/tegra/parse.h b/scripts/tegra/parse.h index 80f42c4..7402a1d 100644 --- a/scripts/tegra/parse.h +++ b/scripts/tegra/parse.h @@ -12,9 +12,6 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see . - * - * See file CREDITS for list of people who contributed to this - * project. */ /* diff --git a/scripts/tegra/set.c b/scripts/tegra/set.c index 91269fc..1c5e8dd 100644 --- a/scripts/tegra/set.c +++ b/scripts/tegra/set.c @@ -12,9 +12,6 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see . - * - * See file CREDITS for list of people who contributed to this - * project. */ /* diff --git a/scripts/tegra/set.h b/scripts/tegra/set.h index 1515fcd..7e7245a 100644 --- a/scripts/tegra/set.h +++ b/scripts/tegra/set.h @@ -12,9 +12,6 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see . - * - * See file CREDITS for list of people who contributed to this - * project. */ /* diff --git a/scripts/tegra/t114/nvbctlib_t114.c b/scripts/tegra/t114/nvbctlib_t114.c index f7e449a..063882a 100644 --- a/scripts/tegra/t114/nvbctlib_t114.c +++ b/scripts/tegra/t114/nvbctlib_t114.c @@ -12,9 +12,6 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see . - * - * See file CREDITS for list of people who contributed to this - * project. */ #include "../cbootimage.h" diff --git a/scripts/tegra/t114/nvboot_bct_t114.h b/scripts/tegra/t114/nvboot_bct_t114.h index e42d149..a2a6b86 100644 --- a/scripts/tegra/t114/nvboot_bct_t114.h +++ b/scripts/tegra/t114/nvboot_bct_t114.h @@ -12,9 +12,6 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see . - * - * See file CREDITS for list of people who contributed to this - * project. */ #ifndef INCLUDED_NVBOOT_BCT_T114_H diff --git a/scripts/tegra/t114/nvboot_sdram_param_t114.h b/scripts/tegra/t114/nvboot_sdram_param_t114.h index 85b758f..78151dc 100644 --- a/scripts/tegra/t114/nvboot_sdram_param_t114.h +++ b/scripts/tegra/t114/nvboot_sdram_param_t114.h @@ -12,9 +12,6 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see . - * - * See file CREDITS for list of people who contributed to this - * project. */ /** diff --git a/scripts/tegra/t114/parse_t114.c b/scripts/tegra/t114/parse_t114.c index 17f612e..79c2ed8 100644 --- a/scripts/tegra/t114/parse_t114.c +++ b/scripts/tegra/t114/parse_t114.c @@ -12,9 +12,6 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see . - * - * See file CREDITS for list of people who contributed to this - * project. */ /* diff --git a/scripts/tegra/t124/nvbctlib_t124.c b/scripts/tegra/t124/nvbctlib_t124.c index 27e5a62..ab2d925 100644 --- a/scripts/tegra/t124/nvbctlib_t124.c +++ b/scripts/tegra/t124/nvbctlib_t124.c @@ -12,9 +12,6 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see . - * - * See file CREDITS for list of people who contributed to this - * project. */ #include "../cbootimage.h" diff --git a/scripts/tegra/t124/nvboot_bct_t124.h b/scripts/tegra/t124/nvboot_bct_t124.h index 8f4b966..bc07add 100644 --- a/scripts/tegra/t124/nvboot_bct_t124.h +++ b/scripts/tegra/t124/nvboot_bct_t124.h @@ -12,9 +12,6 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see . - * - * See file CREDITS for list of people who contributed to this - * project. */ #ifndef INCLUDED_NVBOOT_BCT_T124_H diff --git a/scripts/tegra/t124/nvboot_sdram_param_t124.h b/scripts/tegra/t124/nvboot_sdram_param_t124.h index 34f537e..bae40b1 100644 --- a/scripts/tegra/t124/nvboot_sdram_param_t124.h +++ b/scripts/tegra/t124/nvboot_sdram_param_t124.h @@ -12,9 +12,6 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see . - * - * See file CREDITS for list of people who contributed to this - * project. */ /** diff --git a/scripts/tegra/t124/parse_t124.c b/scripts/tegra/t124/parse_t124.c index 0d80867..8468209 100644 --- a/scripts/tegra/t124/parse_t124.c +++ b/scripts/tegra/t124/parse_t124.c @@ -12,9 +12,6 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see . - * - * See file CREDITS for list of people who contributed to this - * project. */ /* diff --git a/scripts/tegra/t20/nvbctlib_t20.c b/scripts/tegra/t20/nvbctlib_t20.c index c145d6d..5386b28 100644 --- a/scripts/tegra/t20/nvbctlib_t20.c +++ b/scripts/tegra/t20/nvbctlib_t20.c @@ -12,9 +12,6 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see . - * - * See file CREDITS for list of people who contributed to this - * project. */ #include "../cbootimage.h" diff --git a/scripts/tegra/t20/nvboot_bct_t20.h b/scripts/tegra/t20/nvboot_bct_t20.h index 8585cdb..bf94d50 100644 --- a/scripts/tegra/t20/nvboot_bct_t20.h +++ b/scripts/tegra/t20/nvboot_bct_t20.h @@ -12,9 +12,6 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see . - * - * See file CREDITS for list of people who contributed to this - * project. */ #ifndef INCLUDED_NVBOOT_BCT_T20_H diff --git a/scripts/tegra/t20/nvboot_sdram_param_t20.h b/scripts/tegra/t20/nvboot_sdram_param_t20.h index 2c385d5..de002f0 100644 --- a/scripts/tegra/t20/nvboot_sdram_param_t20.h +++ b/scripts/tegra/t20/nvboot_sdram_param_t20.h @@ -12,9 +12,6 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see . - * - * See file CREDITS for list of people who contributed to this - * project. */ /** diff --git a/scripts/tegra/t20/parse_t20.c b/scripts/tegra/t20/parse_t20.c index 5032575..5db74d5 100644 --- a/scripts/tegra/t20/parse_t20.c +++ b/scripts/tegra/t20/parse_t20.c @@ -12,9 +12,6 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see . - * - * See file CREDITS for list of people who contributed to this - * project. */ /* diff --git a/scripts/tegra/t30/nvbctlib_t30.c b/scripts/tegra/t30/nvbctlib_t30.c index 59b0246..e55b0df 100644 --- a/scripts/tegra/t30/nvbctlib_t30.c +++ b/scripts/tegra/t30/nvbctlib_t30.c @@ -12,9 +12,6 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see . - * - * See file CREDITS for list of people who contributed to this - * project. */ #include "../cbootimage.h" diff --git a/scripts/tegra/t30/nvboot_bct_t30.h b/scripts/tegra/t30/nvboot_bct_t30.h index 39c998e..c5fee4c 100644 --- a/scripts/tegra/t30/nvboot_bct_t30.h +++ b/scripts/tegra/t30/nvboot_bct_t30.h @@ -12,9 +12,6 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see . - * - * See file CREDITS for list of people who contributed to this - * project. */ #ifndef INCLUDED_NVBOOT_BCT_T30_H diff --git a/scripts/tegra/t30/nvboot_sdram_param_t30.h b/scripts/tegra/t30/nvboot_sdram_param_t30.h index 18d77d7..24c1768 100644 --- a/scripts/tegra/t30/nvboot_sdram_param_t30.h +++ b/scripts/tegra/t30/nvboot_sdram_param_t30.h @@ -12,9 +12,6 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see . - * - * See file CREDITS for list of people who contributed to this - * project. */ /** diff --git a/scripts/tegra/t30/parse_t30.c b/scripts/tegra/t30/parse_t30.c index 4715f39..e5f4e93 100644 --- a/scripts/tegra/t30/parse_t30.c +++ b/scripts/tegra/t30/parse_t30.c @@ -12,9 +12,6 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see . - * - * See file CREDITS for list of people who contributed to this - * project. */ /*