Signed-off-by: Roland Hieber <r...@pengutronix.de> --- src/barebox-state.c | 10 +--------- src/barebox-state/backend_bucket_circular.c | 11 +---------- src/barebox-state/backend_bucket_direct.c | 11 +---------- src/barebox-state/backend_format_dtb.c | 11 +---------- src/barebox-state/backend_format_raw.c | 11 +---------- src/barebox-state/backend_storage.c | 11 +---------- src/crypto/digest.c | 12 +----------- src/crypto/hmac.c | 3 +-- src/crypto/internal.h | 3 +-- src/crypto/keystore.h | 12 +----------- src/digest.h | 12 +----------- src/dtblint-imx-pinmux.c | 5 +---- src/dtblint.c | 5 +---- src/fdt.c | 10 +--------- src/keystore-blob.c | 5 +---- src/libdt.c | 10 +--------- 16 files changed, 16 insertions(+), 126 deletions(-)
diff --git a/src/barebox-state.c b/src/barebox-state.c index 334aed6f3d43..d96fe02f1f53 100644 --- a/src/barebox-state.c +++ b/src/barebox-state.c @@ -1,16 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * state.c - state handling tool * * Copyright (c) 2014 Sascha Hauer <s.ha...@pengutronix.de>, 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. */ #include <dirent.h> diff --git a/src/barebox-state/backend_bucket_circular.c b/src/barebox-state/backend_bucket_circular.c index 735510e0d36b..bab001534aa1 100644 --- a/src/barebox-state/backend_bucket_circular.c +++ b/src/barebox-state/backend_bucket_circular.c @@ -1,15 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2016 Pengutronix, Markus Pargmann <m...@pengutronix.de> - * - * This program is free software; you can 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 <asm-generic/ioctl.h> diff --git a/src/barebox-state/backend_bucket_direct.c b/src/barebox-state/backend_bucket_direct.c index 4522f0170f3d..1d930396ea4c 100644 --- a/src/barebox-state/backend_bucket_direct.c +++ b/src/barebox-state/backend_bucket_direct.c @@ -1,15 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2016 Pengutronix, Markus Pargmann <m...@pengutronix.de> - * - * This program is free software; you can 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 <fcntl.h> diff --git a/src/barebox-state/backend_format_dtb.c b/src/barebox-state/backend_format_dtb.c index 48f30db1f5f9..a078f528f6ef 100644 --- a/src/barebox-state/backend_format_dtb.c +++ b/src/barebox-state/backend_format_dtb.c @@ -1,18 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2012-2014 Pengutronix, Jan Luebbe <j.lue...@pengutronix.de> * Copyright (C) 2013-2014 Pengutronix, Sascha Hauer <s.ha...@pengutronix.de> * Copyright (C) 2015 Pengutronix, Marc Kleine-Budde <m...@pengutronix.de> * Copyright (C) 2016 Pengutronix, Markus Pargmann <m...@pengutronix.de> - * - * This program is free software; you can 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 <common.h> diff --git a/src/barebox-state/backend_format_raw.c b/src/barebox-state/backend_format_raw.c index 5a71149d3443..16815155d00d 100644 --- a/src/barebox-state/backend_format_raw.c +++ b/src/barebox-state/backend_format_raw.c @@ -1,18 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2012-2014 Pengutronix, Jan Luebbe <j.lue...@pengutronix.de> * Copyright (C) 2013-2014 Pengutronix, Sascha Hauer <s.ha...@pengutronix.de> * Copyright (C) 2015 Pengutronix, Marc Kleine-Budde <m...@pengutronix.de> * Copyright (C) 2016 Pengutronix, Markus Pargmann <m...@pengutronix.de> - * - * This program is free software; you can 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 <common.h> diff --git a/src/barebox-state/backend_storage.c b/src/barebox-state/backend_storage.c index 509427f16f1d..11e9b9036546 100644 --- a/src/barebox-state/backend_storage.c +++ b/src/barebox-state/backend_storage.c @@ -1,15 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2016 Pengutronix, Markus Pargmann <m...@pengutronix.de> - * - * This program is free software; you can 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 <asm-generic/ioctl.h> diff --git a/src/crypto/digest.c b/src/crypto/digest.c index dc73ede9834d..b90ae675ab14 100644 --- a/src/crypto/digest.c +++ b/src/crypto/digest.c @@ -1,16 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * (C) Copyright 2008-2010 Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.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; 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. - * */ #include <common.h> diff --git a/src/crypto/hmac.c b/src/crypto/hmac.c index ab1b24d09c6b..c4429fb37988 100644 --- a/src/crypto/hmac.c +++ b/src/crypto/hmac.c @@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * (C) Copyright 2015 Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> - * - * GPL v2 only */ #include <common.h> diff --git a/src/crypto/internal.h b/src/crypto/internal.h index 06254ea7d94f..bf44146bbb46 100644 --- a/src/crypto/internal.h +++ b/src/crypto/internal.h @@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * (C) Copyright 2015 Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> - * - * GPL v2 only */ int digest_generic_verify(struct digest *d, const unsigned char *md); diff --git a/src/crypto/keystore.h b/src/crypto/keystore.h index 2cedd73934db..53cd535d00b2 100644 --- a/src/crypto/keystore.h +++ b/src/crypto/keystore.h @@ -1,16 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * (C) Copyright 2015 Pengutronix, Marc Kleine-Budde <ker...@pengutronix.de> - * - * This program is free software; 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. - * */ #ifndef __KEYSTORE_H diff --git a/src/digest.h b/src/digest.h index 9764e57e43e9..a36af1955079 100644 --- a/src/digest.h +++ b/src/digest.h @@ -1,16 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * (C) Copyright 2008-2010 Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.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; 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. - * */ #ifndef __DIGEST_H__ diff --git a/src/dtblint-imx-pinmux.c b/src/dtblint-imx-pinmux.c index 83bfd90c2d75..4a08e86ed229 100644 --- a/src/dtblint-imx-pinmux.c +++ b/src/dtblint-imx-pinmux.c @@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2015 Pengutronix, Uwe Kleine-König <ker...@pengutronix.de> - * - * This program is free software; you can 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 <inttypes.h> #include <stdlib.h> diff --git a/src/dtblint.c b/src/dtblint.c index ed9f0b292315..5799b33fa770 100644 --- a/src/dtblint.c +++ b/src/dtblint.c @@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2016 Pengutronix, Uwe Kleine-König <ker...@pengutronix.de> - * - * This program is free software; you can 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 <stdlib.h> #include <stdint.h> diff --git a/src/fdt.c b/src/fdt.c index 74d2825d945f..a136112d51e3 100644 --- a/src/fdt.c +++ b/src/fdt.c @@ -1,18 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * dtb.c - flat devicetree functions * * Copyright (c) 2013 Sascha Hauer <s.ha...@pengutronix.de>, Pengutronix * * based on Linux devicetree support - * - * This program is free software; you can 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 <stdio.h> diff --git a/src/keystore-blob.c b/src/keystore-blob.c index ed6ecb4eaa25..9df11f06ecc2 100644 --- a/src/keystore-blob.c +++ b/src/keystore-blob.c @@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2015 Pengutronix, Marc Kleine-Budde <ker...@pengutronix.de> - * - * This program is free software; you can 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 <common.h> diff --git a/src/libdt.c b/src/libdt.c index 59e76d336d8d..c16f5796613b 100644 --- a/src/libdt.c +++ b/src/libdt.c @@ -1,18 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * of.c - basic devicetree functions * * Copyright (c) 2012 Sascha Hauer <s.ha...@pengutronix.de>, Pengutronix * * based on Linux devicetree support - * - * This program is free software; you can 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 <stdio.h> #include <linux/types.h> -- 2.29.2 _______________________________________________ OSS-Tools mailing list OSS-Tools@pengutronix.de