diff options
author | Anup patel <anup.patel@wdc.com> | 2019-01-24 09:11:10 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2019-01-24 11:37:47 +0300 |
commit | 20990ee0abaf286917b6e2aae992d4183ff695f6 (patch) | |
tree | 69597455ca5dbecf27fa9af7b58b0967e6cafba4 /platform | |
parent | d68741d8b1ed50fb9a86a475074b6ddf1f818813 (diff) | |
download | opensbi-20990ee0abaf286917b6e2aae992d4183ff695f6.tar.xz |
all: Update copyright header in all files
This patch updates copyright header in all files as follows:
1. Makes "SPDX-License-Identifier: BSD-2-Clause" as first line
2. Change copyright year to 2019 for Western Digital
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'platform')
31 files changed, 93 insertions, 93 deletions
diff --git a/platform/common/include/plat/irqchip/plic.h b/platform/common/include/plat/irqchip/plic.h index 79a8e54..6e18440 100644 --- a/platform/common/include/plat/irqchip/plic.h +++ b/platform/common/include/plat/irqchip/plic.h @@ -1,10 +1,10 @@ /* - * Copyright (c) 2018 Western Digital Corporation or its affiliates. + * SPDX-License-Identifier: BSD-2-Clause + * + * Copyright (c) 2019 Western Digital Corporation or its affiliates. * * Authors: * Anup Patel <anup.patel@wdc.com> - * - * SPDX-License-Identifier: BSD-2-Clause */ #ifndef __IRQCHIP_PLIC_H__ diff --git a/platform/common/include/plat/serial/sifive-uart.h b/platform/common/include/plat/serial/sifive-uart.h index b932b16..2c4e7f3 100644 --- a/platform/common/include/plat/serial/sifive-uart.h +++ b/platform/common/include/plat/serial/sifive-uart.h @@ -1,10 +1,10 @@ /* - * Copyright (c) 2018 Western Digital Corporation or its affiliates. + * SPDX-License-Identifier: BSD-2-Clause + * + * Copyright (c) 2019 Western Digital Corporation or its affiliates. * * Authors: * Anup Patel <anup.patel@wdc.com> - * - * SPDX-License-Identifier: BSD-2-Clause */ #ifndef __SERIAL_SIFIVE_UART_H__ diff --git a/platform/common/include/plat/serial/uart8250.h b/platform/common/include/plat/serial/uart8250.h index ca19a9f..c1ffc0d 100644 --- a/platform/common/include/plat/serial/uart8250.h +++ b/platform/common/include/plat/serial/uart8250.h @@ -1,10 +1,10 @@ /* - * Copyright (c) 2018 Western Digital Corporation or its affiliates. + * SPDX-License-Identifier: BSD-2-Clause + * + * Copyright (c) 2019 Western Digital Corporation or its affiliates. * * Authors: * Anup Patel <anup.patel@wdc.com> - * - * SPDX-License-Identifier: BSD-2-Clause */ #ifndef __SERIAL_UART8250_H__ diff --git a/platform/common/include/plat/string.h b/platform/common/include/plat/string.h index ab09f4e..67ad3f2 100644 --- a/platform/common/include/plat/string.h +++ b/platform/common/include/plat/string.h @@ -1,10 +1,10 @@ /* - * Copyright (c) 2018 Western Digital Corporation or its affiliates. + * SPDX-License-Identifier: BSD-2-Clause + * + * Copyright (c) 2019 Western Digital Corporation or its affiliates. * * Authors: * Atish Patra <atish.patra@wdc.com> - * - * SPDX-License-Identifier: BSD-2-Clause */ #ifndef __STRING_H__ diff --git a/platform/common/include/plat/sys/clint.h b/platform/common/include/plat/sys/clint.h index 7da8aad..78e1209 100644 --- a/platform/common/include/plat/sys/clint.h +++ b/platform/common/include/plat/sys/clint.h @@ -1,10 +1,10 @@ /* - * Copyright (c) 2018 Western Digital Corporation or its affiliates. + * SPDX-License-Identifier: BSD-2-Clause + * + * Copyright (c) 2019 Western Digital Corporation or its affiliates. * * Authors: * Anup Patel <anup.patel@wdc.com> - * - * SPDX-License-Identifier: BSD-2-Clause */ #ifndef __SYS_CLINT_H__ diff --git a/platform/common/include/plat/tinyfdt.h b/platform/common/include/plat/tinyfdt.h index 246243f..8d21262 100644 --- a/platform/common/include/plat/tinyfdt.h +++ b/platform/common/include/plat/tinyfdt.h @@ -1,10 +1,10 @@ /* - * Copyright (c) 2018 Western Digital Corporation or its affiliates. + * SPDX-License-Identifier: BSD-2-Clause + * + * Copyright (c) 2019 Western Digital Corporation or its affiliates. * * Authors: * Anup Patel <anup.patel@wdc.com> - * - * SPDX-License-Identifier: BSD-2-Clause */ #ifndef __FDT_H__ diff --git a/platform/common/irqchip/objects.mk b/platform/common/irqchip/objects.mk index 84fffa6..041834d 100644 --- a/platform/common/irqchip/objects.mk +++ b/platform/common/irqchip/objects.mk @@ -1,10 +1,10 @@ # -# Copyright (c) 2018 Western Digital Corporation or its affiliates. +# SPDX-License-Identifier: BSD-2-Clause +# +# Copyright (c) 2019 Western Digital Corporation or its affiliates. # # Authors: # Anup Patel <anup.patel@wdc.com> # -# SPDX-License-Identifier: BSD-2-Clause -# platform-common-objs-$(PLATFORM_IRQCHIP_PLIC) += irqchip/plic.o diff --git a/platform/common/irqchip/plic.c b/platform/common/irqchip/plic.c index ce2aafc..3a0c93f 100644 --- a/platform/common/irqchip/plic.c +++ b/platform/common/irqchip/plic.c @@ -1,10 +1,10 @@ /* - * Copyright (c) 2018 Western Digital Corporation or its affiliates. + * SPDX-License-Identifier: BSD-2-Clause + * + * Copyright (c) 2019 Western Digital Corporation or its affiliates. * * Authors: * Anup Patel <anup.patel@wdc.com> - * - * SPDX-License-Identifier: BSD-2-Clause */ #include <sbi/riscv_io.h> diff --git a/platform/common/libc/objects.mk b/platform/common/libc/objects.mk index 9da0b0e..1dcfe8e 100644 --- a/platform/common/libc/objects.mk +++ b/platform/common/libc/objects.mk @@ -1,11 +1,11 @@ # -# Copyright (c) 2018 Western Digital Corporation or its affiliates. +# SPDX-License-Identifier: BSD-2-Clause +# +# Copyright (c) 2019 Western Digital Corporation or its affiliates. # # Authors: # Atish Patra<atish.patra@wdc.com> # -# SPDX-License-Identifier: BSD-2-Clause -# libc_files = string.o diff --git a/platform/common/libc/string.c b/platform/common/libc/string.c index 9c09445..7cc0fb7 100644 --- a/platform/common/libc/string.c +++ b/platform/common/libc/string.c @@ -1,10 +1,10 @@ /* - * Copyright (c) 2018 Western Digital Corporation or its affiliates. + * SPDX-License-Identifier: BSD-2-Clause + * + * Copyright (c) 2019 Western Digital Corporation or its affiliates. * * Authors: * Atish Patra <atish.patra@wdc.com> - * - * SPDX-License-Identifier: BSD-2-Clause */ /* diff --git a/platform/common/libfdt/objects.mk b/platform/common/libfdt/objects.mk index bd58e30..e045150 100644 --- a/platform/common/libfdt/objects.mk +++ b/platform/common/libfdt/objects.mk @@ -1,11 +1,11 @@ # -# Copyright (c) 2018 Western Digital Corporation or its affiliates. +# SPDX-License-Identifier: BSD-2-Clause +# +# Copyright (c) 2019 Western Digital Corporation or its affiliates. # # Authors: # Atish Patra<atish.patra@wdc.com> # -# SPDX-License-Identifier: BSD-2-Clause -# libfdt_files = fdt.o fdt_ro.o fdt_wip.o fdt_rw.o fdt_sw.o fdt_strerror.o \ fdt_empty_tree.o diff --git a/platform/common/objects.mk b/platform/common/objects.mk index b3e06fd..49e9631 100644 --- a/platform/common/objects.mk +++ b/platform/common/objects.mk @@ -1,10 +1,10 @@ # -# Copyright (c) 2018 Western Digital Corporation or its affiliates. +# SPDX-License-Identifier: BSD-2-Clause +# +# Copyright (c) 2019 Western Digital Corporation or its affiliates. # # Authors: # Anup Patel <anup.patel@wdc.com> # -# SPDX-License-Identifier: BSD-2-Clause -# platform-common-objs-y += tinyfdt.o diff --git a/platform/common/serial/objects.mk b/platform/common/serial/objects.mk index cb6062d..67f85b4 100644 --- a/platform/common/serial/objects.mk +++ b/platform/common/serial/objects.mk @@ -1,11 +1,11 @@ # -# Copyright (c) 2018 Western Digital Corporation or its affiliates. +# SPDX-License-Identifier: BSD-2-Clause +# +# Copyright (c) 2019 Western Digital Corporation or its affiliates. # # Authors: # Anup Patel <anup.patel@wdc.com> # -# SPDX-License-Identifier: BSD-2-Clause -# platform-common-objs-$(PLATFORM_SERIAL_UART8250) += serial/uart8250.o platform-common-objs-$(PLATFORM_SERIAL_SIFIVE_UART) += serial/sifive-uart.o diff --git a/platform/common/serial/sifive-uart.c b/platform/common/serial/sifive-uart.c index 60eade3..2c0e1f1 100644 --- a/platform/common/serial/sifive-uart.c +++ b/platform/common/serial/sifive-uart.c @@ -1,10 +1,10 @@ /* - * Copyright (c) 2018 Western Digital Corporation or its affiliates. + * SPDX-License-Identifier: BSD-2-Clause + * + * Copyright (c) 2019 Western Digital Corporation or its affiliates. * * Authors: * Anup Patel <anup.patel@wdc.com> - * - * SPDX-License-Identifier: BSD-2-Clause */ #include <sbi/riscv_io.h> diff --git a/platform/common/serial/uart8250.c b/platform/common/serial/uart8250.c index 7a99045..02eabbe 100644 --- a/platform/common/serial/uart8250.c +++ b/platform/common/serial/uart8250.c @@ -1,10 +1,10 @@ /* - * Copyright (c) 2018 Western Digital Corporation or its affiliates. + * SPDX-License-Identifier: BSD-2-Clause + * + * Copyright (c) 2019 Western Digital Corporation or its affiliates. * * Authors: * Anup Patel <anup.patel@wdc.com> - * - * SPDX-License-Identifier: BSD-2-Clause */ #include <sbi/riscv_io.h> diff --git a/platform/common/sys/clint.c b/platform/common/sys/clint.c index a518996..78ea118 100644 --- a/platform/common/sys/clint.c +++ b/platform/common/sys/clint.c @@ -1,10 +1,10 @@ /* - * Copyright (c) 2018 Western Digital Corporation or its affiliates. + * SPDX-License-Identifier: BSD-2-Clause + * + * Copyright (c) 2019 Western Digital Corporation or its affiliates. * * Authors: * Anup Patel <anup.patel@wdc.com> - * - * SPDX-License-Identifier: BSD-2-Clause */ #include <sbi/riscv_io.h> diff --git a/platform/common/sys/objects.mk b/platform/common/sys/objects.mk index 183d8db..5cb9886 100644 --- a/platform/common/sys/objects.mk +++ b/platform/common/sys/objects.mk @@ -1,10 +1,10 @@ # -# Copyright (c) 2018 Western Digital Corporation or its affiliates. +# SPDX-License-Identifier: BSD-2-Clause +# +# Copyright (c) 2019 Western Digital Corporation or its affiliates. # # Authors: # Anup Patel <anup.patel@wdc.com> # -# SPDX-License-Identifier: BSD-2-Clause -# platform-common-objs-$(PLATFORM_SYS_CLINT) += sys/clint.o diff --git a/platform/common/tinyfdt.c b/platform/common/tinyfdt.c index c3bf210..e83f540 100644 --- a/platform/common/tinyfdt.c +++ b/platform/common/tinyfdt.c @@ -1,10 +1,10 @@ /* - * Copyright (c) 2018 Western Digital Corporation or its affiliates. + * SPDX-License-Identifier: BSD-2-Clause + * + * Copyright (c) 2019 Western Digital Corporation or its affiliates. * * Authors: * Anup Patel <anup.patel@wdc.com> - * - * SPDX-License-Identifier: BSD-2-Clause */ #include <plat/string.h> diff --git a/platform/kendryte/k210/config.mk b/platform/kendryte/k210/config.mk index 14747c0..3bc4931 100644 --- a/platform/kendryte/k210/config.mk +++ b/platform/kendryte/k210/config.mk @@ -1,11 +1,11 @@ # -# Copyright (c) 2018 Western Digital Corporation or its affiliates. +# SPDX-License-Identifier: BSD-2-Clause +# +# Copyright (c) 2019 Western Digital Corporation or its affiliates. # # Authors: # Damien Le Moal <damien.lemoal@wdc.com> # -# SPDX-License-Identifier: BSD-2-Clause -# # Compiler flags platform-cppflags-y = diff --git a/platform/kendryte/k210/k210.dts b/platform/kendryte/k210/k210.dts index 17f5214..bcd075b 100644 --- a/platform/kendryte/k210/k210.dts +++ b/platform/kendryte/k210/k210.dts @@ -1,10 +1,10 @@ /* - * Copyright (c) 2018 Western Digital Corporation or its affiliates. + * SPDX-License-Identifier: BSD-2-Clause + * + * Copyright (c) 2019 Western Digital Corporation or its affiliates. * * Authors: * Damien Le Moal <damien.lemoal@wdc.com> - * - * SPDX-License-Identifier: BSD-2-Clause */ /dts-v1/; diff --git a/platform/kendryte/k210/objects.mk b/platform/kendryte/k210/objects.mk index a8a6e35..1924d7a 100644 --- a/platform/kendryte/k210/objects.mk +++ b/platform/kendryte/k210/objects.mk @@ -1,11 +1,11 @@ # -# Copyright (c) 2018 Western Digital Corporation or its affiliates. +# SPDX-License-Identifier: BSD-2-Clause +# +# Copyright (c) 2019 Western Digital Corporation or its affiliates. # # Authors: # Damien Le Moal <damien.lemoal@wdc.com> # -# SPDX-License-Identifier: BSD-2-Clause -# platform-objs-y += uarths.o sysctl.o platform.o platform-dtb-y += k210.dtb diff --git a/platform/kendryte/k210/platform.c b/platform/kendryte/k210/platform.c index 5c513d4..f1e19b7 100644 --- a/platform/kendryte/k210/platform.c +++ b/platform/kendryte/k210/platform.c @@ -1,10 +1,10 @@ /* - * Copyright (c) 2018 Western Digital Corporation or its affiliates. + * SPDX-License-Identifier: BSD-2-Clause + * + * Copyright (c) 2019 Western Digital Corporation or its affiliates. * * Authors: * Damien Le Moal <damien.lemoal@wdc.com> - * - * SPDX-License-Identifier: BSD-2-Clause */ #include <sbi/riscv_encoding.h> diff --git a/platform/qemu/sifive_u/config.mk b/platform/qemu/sifive_u/config.mk index 59d3d06..6e2c193 100644 --- a/platform/qemu/sifive_u/config.mk +++ b/platform/qemu/sifive_u/config.mk @@ -1,11 +1,11 @@ # -# Copyright (c) 2018 Western Digital Corporation or its affiliates. +# SPDX-License-Identifier: BSD-2-Clause +# +# Copyright (c) 2019 Western Digital Corporation or its affiliates. # # Authors: # Anup Patel <anup.patel@wdc.com> # -# SPDX-License-Identifier: BSD-2-Clause -# # Compiler flags platform-cppflags-y = diff --git a/platform/qemu/sifive_u/objects.mk b/platform/qemu/sifive_u/objects.mk index 7e96bad..c382cbf 100644 --- a/platform/qemu/sifive_u/objects.mk +++ b/platform/qemu/sifive_u/objects.mk @@ -1,10 +1,10 @@ # -# Copyright (c) 2018 Western Digital Corporation or its affiliates. +# SPDX-License-Identifier: BSD-2-Clause +# +# Copyright (c) 2019 Western Digital Corporation or its affiliates. # # Authors: # Anup Patel <anup.patel@wdc.com> # -# SPDX-License-Identifier: BSD-2-Clause -# platform-objs-y += platform.o diff --git a/platform/qemu/sifive_u/platform.c b/platform/qemu/sifive_u/platform.c index 9f3da1c..e8542f2 100644 --- a/platform/qemu/sifive_u/platform.c +++ b/platform/qemu/sifive_u/platform.c @@ -1,10 +1,10 @@ /* - * Copyright (c) 2018 Western Digital Corporation or its affiliates. + * SPDX-License-Identifier: BSD-2-Clause + * + * Copyright (c) 2019 Western Digital Corporation or its affiliates. * * Authors: * Anup Patel <anup.patel@wdc.com> - * - * SPDX-License-Identifier: BSD-2-Clause */ #include <sbi/riscv_encoding.h> diff --git a/platform/qemu/virt/config.mk b/platform/qemu/virt/config.mk index bb162e0..1ee66d0 100644 --- a/platform/qemu/virt/config.mk +++ b/platform/qemu/virt/config.mk @@ -1,11 +1,11 @@ # -# Copyright (c) 2018 Western Digital Corporation or its affiliates. +# SPDX-License-Identifier: BSD-2-Clause +# +# Copyright (c) 2019 Western Digital Corporation or its affiliates. # # Authors: # Anup Patel <anup.patel@wdc.com> # -# SPDX-License-Identifier: BSD-2-Clause -# # Compiler flags platform-cppflags-y = diff --git a/platform/qemu/virt/objects.mk b/platform/qemu/virt/objects.mk index 7e96bad..c382cbf 100644 --- a/platform/qemu/virt/objects.mk +++ b/platform/qemu/virt/objects.mk @@ -1,10 +1,10 @@ # -# Copyright (c) 2018 Western Digital Corporation or its affiliates. +# SPDX-License-Identifier: BSD-2-Clause +# +# Copyright (c) 2019 Western Digital Corporation or its affiliates. # # Authors: # Anup Patel <anup.patel@wdc.com> # -# SPDX-License-Identifier: BSD-2-Clause -# platform-objs-y += platform.o diff --git a/platform/qemu/virt/platform.c b/platform/qemu/virt/platform.c index 63f4747..9dfd4d6 100644 --- a/platform/qemu/virt/platform.c +++ b/platform/qemu/virt/platform.c @@ -1,10 +1,10 @@ /* - * Copyright (c) 2018 Western Digital Corporation or its affiliates. + * SPDX-License-Identifier: BSD-2-Clause + * + * Copyright (c) 2019 Western Digital Corporation or its affiliates. * * Authors: * Anup Patel <anup.patel@wdc.com> - * - * SPDX-License-Identifier: BSD-2-Clause */ #include <sbi/riscv_encoding.h> diff --git a/platform/sifive/fu540/config.mk b/platform/sifive/fu540/config.mk index ffcbff8..30f6413 100644 --- a/platform/sifive/fu540/config.mk +++ b/platform/sifive/fu540/config.mk @@ -1,11 +1,11 @@ # -# Copyright (c) 2018 Western Digital Corporation or its affiliates. +# SPDX-License-Identifier: BSD-2-Clause +# +# Copyright (c) 2019 Western Digital Corporation or its affiliates. # # Authors: # Atish Patra <atish.patra@wdc.com> # -# SPDX-License-Identifier: BSD-2-Clause -# # Compiler flags platform-cppflags-y = diff --git a/platform/sifive/fu540/objects.mk b/platform/sifive/fu540/objects.mk index 0a4dfa7..e0d0585 100644 --- a/platform/sifive/fu540/objects.mk +++ b/platform/sifive/fu540/objects.mk @@ -1,10 +1,10 @@ # -# Copyright (c) 2018 Western Digital Corporation or its affiliates. +# SPDX-License-Identifier: BSD-2-Clause +# +# Copyright (c) 2019 Western Digital Corporation or its affiliates. # # Authors: # Atish Patra <atish.patra@wdc.com> # -# SPDX-License-Identifier: BSD-2-Clause -# platform-objs-y += platform.o diff --git a/platform/sifive/fu540/platform.c b/platform/sifive/fu540/platform.c index 28b86ec..56ca666 100644 --- a/platform/sifive/fu540/platform.c +++ b/platform/sifive/fu540/platform.c @@ -1,10 +1,10 @@ /* - * Copyright (c) 2018 Western Digital Corporation or its affiliates. + * SPDX-License-Identifier: BSD-2-Clause + * + * Copyright (c) 2019 Western Digital Corporation or its affiliates. * * Authors: * Atish Patra <atish.patra@wdc.com> - * - * SPDX-License-Identifier: BSD-2-Clause */ #include <libfdt.h> |