From: Rick Chen Date: Tue, 29 May 2018 06:10:06 +0000 (+0800) Subject: SPDX: Convert single license tags to Linux Kernel style X-Git-Tag: v2018.07-rc1~28^2~14 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7215787c4ea4b14ed2efbc9926c7ea539294a151;p=oweals%2Fu-boot.git SPDX: Convert single license tags to Linux Kernel style Fix license tags problem after apply patchs about riscv: Enable efi_loader support. Signed-off-by: Rick Chen Signed-off-by: Rick Chen Cc: Greentime Hu --- diff --git a/arch/riscv/include/asm/setjmp.h b/arch/riscv/include/asm/setjmp.h index 01ad6d081f..72383d4330 100644 --- a/arch/riscv/include/asm/setjmp.h +++ b/arch/riscv/include/asm/setjmp.h @@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2018 Alexander Graf - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _SETJMP_H_ diff --git a/arch/riscv/lib/crt0_riscv_efi.S b/arch/riscv/lib/crt0_riscv_efi.S index 498870e1be..18f61f515a 100644 --- a/arch/riscv/lib/crt0_riscv_efi.S +++ b/arch/riscv/lib/crt0_riscv_efi.S @@ -1,11 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * crt0-efi-riscv.S - PE/COFF header for RISC-V EFI applications * * Copright (C) 2014 Linaro Ltd. * Copright (C) 2018 Alexander Graf * - * SPDX-License-Identifier: GPL-2.0+ BSD-2-Clause - * * This file is inspired by arch/arm/lib/crt0_aarch64_efi.S */ diff --git a/arch/riscv/lib/elf_riscv32_efi.lds b/arch/riscv/lib/elf_riscv32_efi.lds index 96d11985b0..629705fc28 100644 --- a/arch/riscv/lib/elf_riscv32_efi.lds +++ b/arch/riscv/lib/elf_riscv32_efi.lds @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * U-Boot riscv32 EFI linker script * diff --git a/arch/riscv/lib/elf_riscv64_efi.lds b/arch/riscv/lib/elf_riscv64_efi.lds index 25c863de8a..aece030c37 100644 --- a/arch/riscv/lib/elf_riscv64_efi.lds +++ b/arch/riscv/lib/elf_riscv64_efi.lds @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * U-Boot riscv64 EFI linker script * diff --git a/arch/riscv/lib/reloc_riscv_efi.c b/arch/riscv/lib/reloc_riscv_efi.c index d80ffc975c..8b4b2b1d8f 100644 --- a/arch/riscv/lib/reloc_riscv_efi.c +++ b/arch/riscv/lib/reloc_riscv_efi.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* reloc_riscv.c - position independent ELF shared object relocator Copyright (C) 2018 Alexander Graf Copyright (C) 2014 Linaro Ltd. diff --git a/arch/riscv/lib/setjmp.S b/arch/riscv/lib/setjmp.S index 103f359185..8f5a6a23aa 100644 --- a/arch/riscv/lib/setjmp.S +++ b/arch/riscv/lib/setjmp.S @@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) 2018 Alexander Graf - * - * SPDX-License-Identifier: GPL-2.0+ */ #include