diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2020-09-18 12:35:37 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-09-21 08:27:53 +0200 |
commit | bcda7bce5c0cd6a563ed11e2aea27a80a75cd837 (patch) | |
tree | 3a82c1a48b10f12b52b7ab2872e477b559d06333 /arch/x86/lib | |
parent | 21297485a95c9127c862dd5efed5f69611442984 (diff) | |
download | barebox-bcda7bce5c0cd6a563ed11e2aea27a80a75cd837.tar.gz barebox-bcda7bce5c0cd6a563ed11e2aea27a80a75cd837.tar.xz |
arch/x86: Replace license and copyright boilerplate by SPDX identfiers
Converts the files that licensecheck can determine the license for.
Additionally some minor code reformatting is done.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/x86/lib')
-rw-r--r-- | arch/x86/lib/barebox.lds.S | 14 | ||||
-rw-r--r-- | arch/x86/lib/gdt.c | 17 | ||||
-rw-r--r-- | arch/x86/lib/linux_start.S | 23 | ||||
-rw-r--r-- | arch/x86/lib/memory.c | 21 |
4 files changed, 12 insertions, 63 deletions
diff --git a/arch/x86/lib/barebox.lds.S b/arch/x86/lib/barebox.lds.S index bf52ba9a18..b24c4807b5 100644 --- a/arch/x86/lib/barebox.lds.S +++ b/arch/x86/lib/barebox.lds.S @@ -1,16 +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 */ #undef i386 #include <asm-generic/barebox.lds.h> diff --git a/arch/x86/lib/gdt.c b/arch/x86/lib/gdt.c index 447e81942e..4cd1622b6b 100644 --- a/arch/x86/lib/gdt.c +++ b/arch/x86/lib/gdt.c @@ -1,18 +1,5 @@ -/* - * Copyright (C) 2009 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 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: 2009 Juergen Beisert, Pengutronix /** * @file diff --git a/arch/x86/lib/linux_start.S b/arch/x86/lib/linux_start.S index b9489b8e50..07be37fed4 100644 --- a/arch/x86/lib/linux_start.S +++ b/arch/x86/lib/linux_start.S @@ -1,21 +1,8 @@ -/* - * Copyright (C) 2009 Juergen Beisert, Pengutronix - * - * Mostly stolen from the GRUB2 project - * Copyright (C) 1999,2000,2001,2002,2003,2004,2005,2006,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. - * - * - */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* SPDX-FileCopyrightText: 2009 Juergen Beisert, Pengutronix */ +/* SPDX-FileCopyrightText: 1999-2008 Free Software Foundation, Inc. */ + +/* Mostly stolen from the GRUB2 project */ /** * @file diff --git a/arch/x86/lib/memory.c b/arch/x86/lib/memory.c index de0e5d907f..64fbbb9300 100644 --- a/arch/x86/lib/memory.c +++ b/arch/x86/lib/memory.c @@ -1,20 +1,7 @@ -/* - * Copyright (C) 2009 Juergen Beisert, Pengutronix - * - * This code was inspired by the GRUB2 project. - * - * This program is free software; you can redistribute it 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: 2009 Juergen Beisert, Pengutronix + +/* This code was inspired by the GRUB2 project. */ /** * @file |