diff options
Diffstat (limited to 'lib')
39 files changed, 40 insertions, 606 deletions
| diff --git a/lib/Makefile b/lib/Makefile index f5a8819f3..df0cdd425 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -2,23 +2,7 @@  # (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. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, -# MA 02111-1307 USA +# SPDX-License-Identifier:	GPL-2.0+  #  include $(TOPDIR)/config.mk @@ -2,23 +2,7 @@   * Copyright (c) 2011 The Chromium OS Authors.   * (C) Copyright 2011 NVIDIA Corporation www.nvidia.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 - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier:	GPL-2.0+   */  /* diff --git a/lib/asm-offsets.c b/lib/asm-offsets.c index 8546a52f4..6ea7b03ad 100644 --- a/lib/asm-offsets.c +++ b/lib/asm-offsets.c @@ -9,10 +9,7 @@   * compile this file to assembler, and then extract the   * #defines from the assembly-language output.   * - * This program is free software; you can redistribute it 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. + * SPDX-License-Identifier:	GPL-2.0+   */  #include <common.h> diff --git a/lib/bitrev.c b/lib/bitrev.c index 160021a37..72cb39b05 100644 --- a/lib/bitrev.c +++ b/lib/bitrev.c @@ -1,6 +1,5 @@  /* - * This file is released under the terms of GPL v2 and any later version. - * See the file COPYING in the root directory of the source tree for details. + * SPDX-License-Identifier:	GPL-2.0+   *   * Based on bitrev from the Linux kernel, by Akinobu Mita   */ diff --git a/lib/circbuf.c b/lib/circbuf.c index 2332c6371..9848da3b7 100644 --- a/lib/circbuf.c +++ b/lib/circbuf.c @@ -2,20 +2,7 @@   * (C) Copyright 2003   * Gerry Hamel, geh@ti.com, Texas Instruments   * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	 See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307	 USA - * + * SPDX-License-Identifier:	GPL-2.0+   */  #include <common.h> diff --git a/lib/crc16.c b/lib/crc16.c index 6904365e5..c63fde9c4 100644 --- a/lib/crc16.c +++ b/lib/crc16.c @@ -6,39 +6,7 @@   *      16 bit CRC with polynomial x^16+x^12+x^5+1   *   *========================================================================== - *####ECOSGPLCOPYRIGHTBEGIN#### - * ------------------------------------------- - * This file is part of eCos, the Embedded Configurable Operating System. - * Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc. - * Copyright (C) 2002 Gary Thomas - * - * eCos is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License as published by the Free - * Software Foundation; either version 2 or (at your option) any later version. - * - * eCos 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 eCos; if not, write to the Free Software Foundation, Inc., - * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. - * - * As a special exception, if other files instantiate templates or use macros - * or inline functions from this file, or you compile this file and link it - * with other works to produce a work based on this file, this file does not - * by itself cause the resulting work to be covered by the GNU General Public - * License. However the source code for this file must still be made available - * in accordance with section (3) of the GNU General Public License. - * - * This exception does not invalidate any other reasons why a work based on - * this file might be covered by the GNU General Public License. - * - * Alternative licenses for eCos may be arranged by contacting Red Hat, Inc. - * at http: *sources.redhat.com/ecos/ecos-license/ - * ------------------------------------------- - *####ECOSGPLCOPYRIGHTEND#### + * SPDX-License-Identifier:	eCos-2.0   *==========================================================================   *#####DESCRIPTIONBEGIN####   * diff --git a/lib/ctype.c b/lib/ctype.c index dffe56372..65e1ac9ca 100644 --- a/lib/ctype.c +++ b/lib/ctype.c @@ -2,23 +2,7 @@   * (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. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier:	GPL-2.0+   */  /* diff --git a/lib/display_options.c b/lib/display_options.c index e6d684bd6..4a972b08a 100644 --- a/lib/display_options.c +++ b/lib/display_options.c @@ -2,23 +2,7 @@   * (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 - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier:	GPL-2.0+   */  #include <config.h> diff --git a/lib/fdtdec.c b/lib/fdtdec.c index 4d1f3feda..dc358562d 100644 --- a/lib/fdtdec.c +++ b/lib/fdtdec.c @@ -1,22 +1,6 @@  /*   * Copyright (c) 2011 The Chromium OS Authors. - * See file CREDITS for list of people who contributed to 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. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier:	GPL-2.0+   */  #include <common.h> diff --git a/lib/fdtdec_test.c b/lib/fdtdec_test.c index 497be8e3f..cc8b918f6 100644 --- a/lib/fdtdec_test.c +++ b/lib/fdtdec_test.c @@ -3,23 +3,7 @@   * They are easiest to use with sandbox.   *   * Copyright (c) 2011 The Chromium OS Authors. - * See file CREDITS for list of people who contributed to 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. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier:	GPL-2.0+   */  #include <common.h> diff --git a/lib/gunzip.c b/lib/gunzip.c index 99a8ab028..9959781b0 100644 --- a/lib/gunzip.c +++ b/lib/gunzip.c @@ -2,23 +2,7 @@   * (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. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier:	GPL-2.0+   */  #include <common.h> diff --git a/lib/gzip.c b/lib/gzip.c index a83f4af08..ff37d4f31 100644 --- a/lib/gzip.c +++ b/lib/gzip.c @@ -2,23 +2,7 @@   * (C) Copyright 2012   * Lei Wen <leiwen@marvell.com>, Marvell 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 - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier:	GPL-2.0+   */  #include <common.h> diff --git a/lib/hang.c b/lib/hang.c index fc1286c0b..8db268ef9 100644 --- a/lib/hang.c +++ b/lib/hang.c @@ -5,23 +5,7 @@   * This file consolidates all the different hang() functions implemented in   * 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 as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier:	GPL-2.0+   */  #include <common.h> diff --git a/lib/hashtable.c b/lib/hashtable.c index 4cdbc9532..644330a17 100644 --- a/lib/hashtable.c +++ b/lib/hashtable.c @@ -10,20 +10,7 @@   * This file is part of the GNU C Library.   * Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1993.   * - * The GNU C Library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * The GNU C Library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with the GNU C Library; if not, write to the Free - * Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA - * 02111-1307 USA. + * SPDX-License-Identifier:	LGPL-2.1+   */  #include <errno.h> diff --git a/lib/initcall.c b/lib/initcall.c index fc91bf641..fa76dd73c 100644 --- a/lib/initcall.c +++ b/lib/initcall.c @@ -1,23 +1,7 @@  /*   * Copyright (c) 2013 The Chromium OS Authors.   * - * See file CREDITS for list of people who contributed to 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. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier:	GPL-2.0+   */  #include <common.h> diff --git a/lib/ldiv.c b/lib/ldiv.c index 5d231a2a6..8e11333ac 100644 --- a/lib/ldiv.c +++ b/lib/ldiv.c @@ -1,20 +1,8 @@  /* Copyright (C) 1992, 1997 Free Software Foundation, Inc.     This file is part of the GNU C Library. -   The GNU C Library is free software; you can redistribute it and/or -   modify it under the terms of the GNU Library General Public License as -   published by the Free Software Foundation; either version 2 of the -   License, or (at your option) any later version. - -   The GNU C Library 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 -   Library General Public License for more details. - -   You should have received a copy of the GNU Library General Public -   License along with the GNU C Library; see the file COPYING.LIB.  If not, -   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -   Boston, MA 02111-1307, USA.  */ + * SPDX-License-Identifier:	LGPL-2.0+ + */  typedef struct {  	long    quot; diff --git a/lib/libfdt/Makefile b/lib/libfdt/Makefile index 0693d4bf5..07373df99 100644 --- a/lib/libfdt/Makefile +++ b/lib/libfdt/Makefile @@ -2,23 +2,7 @@  # (C) Copyright 2000-2007  # 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. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, -# MA 02111-1307 USA +# SPDX-License-Identifier:	GPL-2.0+  #  include $(TOPDIR)/config.mk @@ -4,10 +4,7 @@   * Peter Bergner, IBM Corp.	June 2001.   * Copyright (C) 2001 Peter Bergner.   * - *      This program is free software; you can redistribute it 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. + * SPDX-License-Identifier:	GPL-2.0+   */  #include <common.h> diff --git a/lib/lzma/LzmaTools.c b/lib/lzma/LzmaTools.c index 28a8aefc2..8d1165e11b 100644 --- a/lib/lzma/LzmaTools.c +++ b/lib/lzma/LzmaTools.c @@ -6,23 +6,7 @@   *   * Copyright (C) 1999-2005 Igor Pavlov   * - * See file CREDITS for list of people who contributed to 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. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier:	GPL-2.0+    */  /* diff --git a/lib/lzma/LzmaTools.h b/lib/lzma/LzmaTools.h index 2db80fc0f..f8bdd1ffd 100644 --- a/lib/lzma/LzmaTools.h +++ b/lib/lzma/LzmaTools.h @@ -6,23 +6,7 @@   *   * Copyright (C) 1999-2005 Igor Pavlov   * - * See file CREDITS for list of people who contributed to 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. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier:	GPL-2.0+    */  #ifndef __LZMA_TOOL_H__ diff --git a/lib/lzma/Makefile b/lib/lzma/Makefile index 4d3401dfa..412e187c5 100644 --- a/lib/lzma/Makefile +++ b/lib/lzma/Makefile @@ -5,23 +5,7 @@  # (C) Copyright 2003-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. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, -# MA 02111-1307 USA +# SPDX-License-Identifier:	GPL-2.0+  #  include $(TOPDIR)/config.mk diff --git a/lib/lzo/Makefile b/lib/lzo/Makefile index 69bc83922..516519a1f 100644 --- a/lib/lzo/Makefile +++ b/lib/lzo/Makefile @@ -2,23 +2,7 @@  # (C) Copyright 2008  # Stefan Roese, DENX Software Engineering, sr@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. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, -# MA 02111-1307 USA +# SPDX-License-Identifier:	GPL-2.0+  #  include $(TOPDIR)/config.mk diff --git a/lib/net_utils.c b/lib/net_utils.c index b425a68d9..8d6616315 100644 --- a/lib/net_utils.c +++ b/lib/net_utils.c @@ -7,23 +7,7 @@   * Copyright 2000-2002 Wolfgang Denk, wd@denx.de   * Copyright 2009 Dirk Behme, dirk.behme@googlemail.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 - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier:	GPL-2.0+   */  #include <common.h> diff --git a/lib/rand.c b/lib/rand.c index c9764f5c1..5c367e186 100644 --- a/lib/rand.c +++ b/lib/rand.c @@ -5,23 +5,7 @@   * Copyright (c) 2012 Michael Walle   * Michael Walle <michael@walle.cc>   * - * See file CREDITS for list of people who contributed to 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. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier:	GPL-2.0+   */  #include <common.h> diff --git a/lib/rbtree.c b/lib/rbtree.c index 42eab4988..b05f1ab7f 100644 --- a/lib/rbtree.c +++ b/lib/rbtree.c @@ -3,19 +3,7 @@    (C) 1999  Andrea Arcangeli <andrea@suse.de>    (C) 2002  David Woodhouse <dwmw2@infradead.org> -  This program is free software; you can redistribute it and/or modify -  it under the terms of the GNU General Public License as published by -  the Free Software Foundation; either version 2 of the License, or -  (at your option) any later version. - -  This program is distributed in the hope that it will be useful, -  but WITHOUT ANY WARRANTY; without even the implied warranty of -  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the -  GNU General Public License for more details. - -  You should have received a copy of the GNU General Public License -  along with this program; if not, write to the Free Software -  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA + * SPDX-License-Identifier:	GPL-2.0+    linux/lib/rbtree.c  */ diff --git a/lib/rsa/Makefile b/lib/rsa/Makefile index 9eb3e40f5..decd6e509 100644 --- a/lib/rsa/Makefile +++ b/lib/rsa/Makefile @@ -4,23 +4,7 @@  # (C) Copyright 2000-2007  # 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. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, -# MA 02111-1307 USA +# SPDX-License-Identifier:	GPL-2.0+  #  include $(TOPDIR)/config.mk diff --git a/lib/rsa/rsa-sign.c b/lib/rsa/rsa-sign.c index e30d8ca84..549130eda 100644 --- a/lib/rsa/rsa-sign.c +++ b/lib/rsa/rsa-sign.c @@ -1,20 +1,7 @@  /*   * Copyright (c) 2013, Google 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. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier:	GPL-2.0+   */  #include "mkimage.h" diff --git a/lib/rsa/rsa-verify.c b/lib/rsa/rsa-verify.c index 6a0268919..02cc4e335 100644 --- a/lib/rsa/rsa-verify.c +++ b/lib/rsa/rsa-verify.c @@ -1,20 +1,7 @@  /*   * Copyright (c) 2013, Google 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. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier:	GPL-2.0+   */  #include <common.h> diff --git a/lib/sha256.c b/lib/sha256.c index ab2db4890..734816257 100644 --- a/lib/sha256.c +++ b/lib/sha256.c @@ -3,19 +3,7 @@   *   * Copyright (C) 2001-2003  Christophe Devine   * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA + * SPDX-License-Identifier:	GPL-2.0+   */  #ifndef USE_HOSTCC diff --git a/lib/strmhz.c b/lib/strmhz.c index 89f2263ae..f9a17727f 100644 --- a/lib/strmhz.c +++ b/lib/strmhz.c @@ -2,23 +2,7 @@   * (C) Copyright 2002-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. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier:	GPL-2.0+   */  #include <common.h> diff --git a/lib/time.c b/lib/time.c index 6e2937b8e..68b8ff419 100644 --- a/lib/time.c +++ b/lib/time.c @@ -2,23 +2,7 @@   * (C) Copyright 2000-2009   * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier:	GPL-2.0+   */  #include <common.h> diff --git a/lib/tizen/Makefile b/lib/tizen/Makefile index 395996b01..80d76cfef 100644 --- a/lib/tizen/Makefile +++ b/lib/tizen/Makefile @@ -2,23 +2,7 @@  # (C) Copyright 2012 Samsung Electronics  # Donghwa Lee <dh09.lee@samsung.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 -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, -# MA 02111-1307 USA +# SPDX-License-Identifier:	GPL-2.0+  #  include $(TOPDIR)/config.mk diff --git a/lib/tizen/tizen.c b/lib/tizen/tizen.c index 390f71c19..e872591cd 100644 --- a/lib/tizen/tizen.c +++ b/lib/tizen/tizen.c @@ -2,21 +2,7 @@   * (C) Copyright 2012 Samsung Electronics   * Donghwa Lee <dh09.lee@samsung.com>   * - * This program is free software; you can redistribute it 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 - * aint with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA - * + * SPDX-License-Identifier:	GPL-2.0+   */  #include <common.h> diff --git a/lib/tizen/tizen_hd_logo.h b/lib/tizen/tizen_hd_logo.h index 2258fd578..28377b75c 100644 --- a/lib/tizen/tizen_hd_logo.h +++ b/lib/tizen/tizen_hd_logo.h @@ -2,21 +2,7 @@   * (C) Copyright 2012 Samsung Electronics   * Donghwa Lee <dh09.lee@samsung.com>   * - * This program is free software; you can redistribute it 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 - * aint with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA - * + * SPDX-License-Identifier:	GPL-2.0+   */  #ifndef _TIZEN_HD_LOGO_H_ diff --git a/lib/tizen/tizen_hd_logo_data.h b/lib/tizen/tizen_hd_logo_data.h index 775ece1ac..95e5f827e 100644 --- a/lib/tizen/tizen_hd_logo_data.h +++ b/lib/tizen/tizen_hd_logo_data.h @@ -2,21 +2,7 @@   * (C) Copyright 2012 Samsung Electronics   * Donghwa Lee <dh09.lee@samsung.com>   * - * This program is free software; you can redistribute it 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 - * aint with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA - * + * SPDX-License-Identifier:	GPL-2.0+   */  #ifndef _TIZEN_HD_LOGO_DATA_H_ @@ -2,23 +2,7 @@   * Copyright (c) 2013 The Chromium OS Authors.   * Coypright (c) 2013 Guntermann & Drunck 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 - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier:	GPL-2.0+   */  #include <common.h> diff --git a/lib/trace.c b/lib/trace.c index e7455bcfe..711e5b583 100644 --- a/lib/trace.c +++ b/lib/trace.c @@ -1,20 +1,7 @@  /*   * Copyright (c) 2012 The Chromium OS Authors.   * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier:	GPL-2.0+   */  #include <common.h> diff --git a/lib/uuid.c b/lib/uuid.c index 10b022fcb..c48bf3836 100644 --- a/lib/uuid.c +++ b/lib/uuid.c @@ -1,23 +1,7 @@  /*   * Copyright 2011 Calxeda, 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 - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier:	GPL-2.0+   */  #include <linux/ctype.h> diff --git a/lib/zlib/Makefile b/lib/zlib/Makefile index 1596302c8..b69e2348f 100644 --- a/lib/zlib/Makefile +++ b/lib/zlib/Makefile @@ -2,23 +2,7 @@  # (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. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, -# MA 02111-1307 USA +# SPDX-License-Identifier:	GPL-2.0+  #  include $(TOPDIR)/config.mk |