summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--LICENSE2
-rw-r--r--Makefile6
-rw-r--r--firmware/external_deps.mk6
-rw-r--r--firmware/fw_base.S6
-rw-r--r--firmware/fw_base.ldS6
-rw-r--r--firmware/fw_jump.S6
-rw-r--r--firmware/fw_jump.elf.ldS6
-rw-r--r--firmware/fw_payload.S6
-rw-r--r--firmware/fw_payload.elf.ldS6
-rw-r--r--firmware/objects.mk6
-rw-r--r--firmware/payloads/objects.mk6
-rw-r--r--firmware/payloads/test.elf.ldS6
-rw-r--r--firmware/payloads/test_head.S6
-rw-r--r--firmware/payloads/test_main.c6
-rw-r--r--include/sbi/riscv_asm.h6
-rw-r--r--include/sbi/riscv_atomic.h6
-rw-r--r--include/sbi/riscv_barrier.h6
-rw-r--r--include/sbi/riscv_encoding.h6
-rw-r--r--include/sbi/riscv_fp.h4
-rw-r--r--include/sbi/riscv_io.h6
-rw-r--r--include/sbi/riscv_locks.h6
-rw-r--r--include/sbi/sbi_bitops.h6
-rw-r--r--include/sbi/sbi_bits.h6
-rw-r--r--include/sbi/sbi_console.h6
-rw-r--r--include/sbi/sbi_const.h6
-rw-r--r--include/sbi/sbi_ecall.h6
-rw-r--r--include/sbi/sbi_ecall_interface.h6
-rw-r--r--include/sbi/sbi_emulate_csr.h6
-rw-r--r--include/sbi/sbi_error.h6
-rw-r--r--include/sbi/sbi_hart.h6
-rw-r--r--include/sbi/sbi_illegal_insn.h6
-rw-r--r--include/sbi/sbi_init.h6
-rw-r--r--include/sbi/sbi_ipi.h6
-rw-r--r--include/sbi/sbi_misaligned_ldst.h6
-rw-r--r--include/sbi/sbi_platform.h6
-rw-r--r--include/sbi/sbi_scratch.h6
-rw-r--r--include/sbi/sbi_system.h6
-rw-r--r--include/sbi/sbi_timer.h6
-rw-r--r--include/sbi/sbi_trap.h6
-rw-r--r--include/sbi/sbi_types.h6
-rw-r--r--include/sbi/sbi_unpriv.h6
-rw-r--r--lib/objects.mk6
-rw-r--r--lib/riscv_asm.c6
-rw-r--r--lib/riscv_atomic.c6
-rw-r--r--lib/riscv_hardfp.S4
-rw-r--r--lib/riscv_locks.c6
-rw-r--r--lib/sbi_console.c6
-rw-r--r--lib/sbi_ecall.c6
-rw-r--r--lib/sbi_emulate_csr.c6
-rw-r--r--lib/sbi_hart.c6
-rw-r--r--lib/sbi_illegal_insn.c6
-rw-r--r--lib/sbi_init.c6
-rw-r--r--lib/sbi_ipi.c6
-rw-r--r--lib/sbi_misaligned_ldst.c6
-rw-r--r--lib/sbi_system.c6
-rw-r--r--lib/sbi_timer.c6
-rw-r--r--lib/sbi_trap.c6
-rw-r--r--platform/common/include/plat/irqchip/plic.h6
-rw-r--r--platform/common/include/plat/serial/sifive-uart.h6
-rw-r--r--platform/common/include/plat/serial/uart8250.h6
-rw-r--r--platform/common/include/plat/string.h6
-rw-r--r--platform/common/include/plat/sys/clint.h6
-rw-r--r--platform/common/include/plat/tinyfdt.h6
-rw-r--r--platform/common/irqchip/objects.mk6
-rw-r--r--platform/common/irqchip/plic.c6
-rw-r--r--platform/common/libc/objects.mk6
-rw-r--r--platform/common/libc/string.c6
-rw-r--r--platform/common/libfdt/objects.mk6
-rw-r--r--platform/common/objects.mk6
-rw-r--r--platform/common/serial/objects.mk6
-rw-r--r--platform/common/serial/sifive-uart.c6
-rw-r--r--platform/common/serial/uart8250.c6
-rw-r--r--platform/common/sys/clint.c6
-rw-r--r--platform/common/sys/objects.mk6
-rw-r--r--platform/common/tinyfdt.c6
-rw-r--r--platform/kendryte/k210/config.mk6
-rw-r--r--platform/kendryte/k210/k210.dts6
-rw-r--r--platform/kendryte/k210/objects.mk6
-rw-r--r--platform/kendryte/k210/platform.c6
-rw-r--r--platform/qemu/sifive_u/config.mk6
-rw-r--r--platform/qemu/sifive_u/objects.mk6
-rw-r--r--platform/qemu/sifive_u/platform.c6
-rw-r--r--platform/qemu/virt/config.mk6
-rw-r--r--platform/qemu/virt/objects.mk6
-rw-r--r--platform/qemu/virt/platform.c6
-rw-r--r--platform/sifive/fu540/config.mk6
-rw-r--r--platform/sifive/fu540/objects.mk6
-rw-r--r--platform/sifive/fu540/platform.c6
88 files changed, 260 insertions, 260 deletions
diff --git a/LICENSE b/LICENSE
index 1cdc70e..46dea46 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,4 @@
-Copyright (c) 2018 Western Digital Corporation or its affiliates.
+Copyright (c) 2019 Western Digital Corporation or its affiliates.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
diff --git a/Makefile b/Makefile
index 9823899..b362a56 100644
--- a/Makefile
+++ b/Makefile
@@ -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
-#
# Current Version
MAJOR = 0
diff --git a/firmware/external_deps.mk b/firmware/external_deps.mk
index c2e9e90..d2346ab 100644
--- a/firmware/external_deps.mk
+++ b/firmware/external_deps.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
-#
$(build_dir)/$(platform_subdir)/firmware/fw_payload.o: $(FW_PAYLOAD_PATH_FINAL)
$(build_dir)/$(platform_subdir)/firmware/fw_payload.o: $(FW_PAYLOAD_FDT_PATH)
diff --git a/firmware/fw_base.S b/firmware/fw_base.S
index 5738f57..63cb64c 100644
--- a/firmware/fw_base.S
+++ b/firmware/fw_base.S
@@ -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_asm.h>
diff --git a/firmware/fw_base.ldS b/firmware/fw_base.ldS
index 52771f8..84d3758 100644
--- a/firmware/fw_base.ldS
+++ b/firmware/fw_base.ldS
@@ -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
*/
. = FW_TEXT_START;
diff --git a/firmware/fw_jump.S b/firmware/fw_jump.S
index be9c296..4b71863 100644
--- a/firmware/fw_jump.S
+++ b/firmware/fw_jump.S
@@ -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 "fw_base.S"
diff --git a/firmware/fw_jump.elf.ldS b/firmware/fw_jump.elf.ldS
index 8df45ab..7ee0787 100644
--- a/firmware/fw_jump.elf.ldS
+++ b/firmware/fw_jump.elf.ldS
@@ -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
*/
OUTPUT_ARCH(riscv)
diff --git a/firmware/fw_payload.S b/firmware/fw_payload.S
index 7cbd57b..4d4db45 100644
--- a/firmware/fw_payload.S
+++ b/firmware/fw_payload.S
@@ -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 "fw_base.S"
diff --git a/firmware/fw_payload.elf.ldS b/firmware/fw_payload.elf.ldS
index 7106005..44fa4c3 100644
--- a/firmware/fw_payload.elf.ldS
+++ b/firmware/fw_payload.elf.ldS
@@ -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
*/
OUTPUT_ARCH(riscv)
diff --git a/firmware/objects.mk b/firmware/objects.mk
index 128834c..89410f7 100644
--- a/firmware/objects.mk
+++ b/firmware/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
-#
firmware-genflags-y =
firmware-cppflags-y +=
diff --git a/firmware/payloads/objects.mk b/firmware/payloads/objects.mk
index 0395599..21e0185 100644
--- a/firmware/payloads/objects.mk
+++ b/firmware/payloads/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
-#
firmware-bins-$(FW_PAYLOAD) += payloads/test.bin
diff --git a/firmware/payloads/test.elf.ldS b/firmware/payloads/test.elf.ldS
index d0854d5..f3f3242 100644
--- a/firmware/payloads/test.elf.ldS
+++ b/firmware/payloads/test.elf.ldS
@@ -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
*/
OUTPUT_ARCH(riscv)
diff --git a/firmware/payloads/test_head.S b/firmware/payloads/test_head.S
index e2b5f7b..4454e46 100644
--- a/firmware/payloads/test_head.S
+++ b/firmware/payloads/test_head.S
@@ -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
*/
#define __ASM_STR(x) x
diff --git a/firmware/payloads/test_main.c b/firmware/payloads/test_main.c
index 957f963..c96ed87 100644
--- a/firmware/payloads/test_main.c
+++ b/firmware/payloads/test_main.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/sbi_ecall_interface.h>
diff --git a/include/sbi/riscv_asm.h b/include/sbi/riscv_asm.h
index b7a8d4e..e071049 100644
--- a/include/sbi/riscv_asm.h
+++ b/include/sbi/riscv_asm.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 __RISCV_ASM_H__
diff --git a/include/sbi/riscv_atomic.h b/include/sbi/riscv_atomic.h
index 0fea6bd..215191e 100644
--- a/include/sbi/riscv_atomic.h
+++ b/include/sbi/riscv_atomic.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 __RISCV_ATOMIC_H__
diff --git a/include/sbi/riscv_barrier.h b/include/sbi/riscv_barrier.h
index 993cbda..ce4b5d1 100644
--- a/include/sbi/riscv_barrier.h
+++ b/include/sbi/riscv_barrier.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 __RISCV_BARRIER_H__
diff --git a/include/sbi/riscv_encoding.h b/include/sbi/riscv_encoding.h
index a6651a1..b441c8e 100644
--- a/include/sbi/riscv_encoding.h
+++ b/include/sbi/riscv_encoding.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 __RISCV_ENCODING_H__
diff --git a/include/sbi/riscv_fp.h b/include/sbi/riscv_fp.h
index 0deb8e4..7143023 100644
--- a/include/sbi/riscv_fp.h
+++ b/include/sbi/riscv_fp.h
@@ -1,10 +1,10 @@
/*
+ * 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 __RISCV_FP_H__
diff --git a/include/sbi/riscv_io.h b/include/sbi/riscv_io.h
index 08f1a2f..ea29c44 100644
--- a/include/sbi/riscv_io.h
+++ b/include/sbi/riscv_io.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 __RISCV_IO_H__
diff --git a/include/sbi/riscv_locks.h b/include/sbi/riscv_locks.h
index 4a683d9..4476319 100644
--- a/include/sbi/riscv_locks.h
+++ b/include/sbi/riscv_locks.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 __RISCV_LOCKS_H__
diff --git a/include/sbi/sbi_bitops.h b/include/sbi/sbi_bitops.h
index c7a6e88..13d4fab 100644
--- a/include/sbi/sbi_bitops.h
+++ b/include/sbi/sbi_bitops.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 __SBI_BITOPS_H__
diff --git a/include/sbi/sbi_bits.h b/include/sbi/sbi_bits.h
index b9e4a1a..6dc49fb 100644
--- a/include/sbi/sbi_bits.h
+++ b/include/sbi/sbi_bits.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 __SBI_BITS_H__
diff --git a/include/sbi/sbi_console.h b/include/sbi/sbi_console.h
index df258ba..8069669 100644
--- a/include/sbi/sbi_console.h
+++ b/include/sbi/sbi_console.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 __SBI_CONSOLE_H__
diff --git a/include/sbi/sbi_const.h b/include/sbi/sbi_const.h
index 3071094..e90b752 100644
--- a/include/sbi/sbi_const.h
+++ b/include/sbi/sbi_const.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 __SBI_CONST_H__
diff --git a/include/sbi/sbi_ecall.h b/include/sbi/sbi_ecall.h
index 4f39329..2425fc5 100644
--- a/include/sbi/sbi_ecall.h
+++ b/include/sbi/sbi_ecall.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 __SBI_ECALL_H__
diff --git a/include/sbi/sbi_ecall_interface.h b/include/sbi/sbi_ecall_interface.h
index 1ea2676..2bf004d 100644
--- a/include/sbi/sbi_ecall_interface.h
+++ b/include/sbi/sbi_ecall_interface.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 __SBI_ECALL_INTERFACE_H__
diff --git a/include/sbi/sbi_emulate_csr.h b/include/sbi/sbi_emulate_csr.h
index c6fe419..00d5eff 100644
--- a/include/sbi/sbi_emulate_csr.h
+++ b/include/sbi/sbi_emulate_csr.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 __SBI_EMULATE_CSR_H__
diff --git a/include/sbi/sbi_error.h b/include/sbi/sbi_error.h
index 955674e..68076e7 100644
--- a/include/sbi/sbi_error.h
+++ b/include/sbi/sbi_error.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 __SBI_ERROR_H__
diff --git a/include/sbi/sbi_hart.h b/include/sbi/sbi_hart.h
index 7041643..8b11df7 100644
--- a/include/sbi/sbi_hart.h
+++ b/include/sbi/sbi_hart.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 __SBI_HART_H__
diff --git a/include/sbi/sbi_illegal_insn.h b/include/sbi/sbi_illegal_insn.h
index 1b8837f..2dc0988 100644
--- a/include/sbi/sbi_illegal_insn.h
+++ b/include/sbi/sbi_illegal_insn.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 __SBI_ILLEGAl_INSN_H__
diff --git a/include/sbi/sbi_init.h b/include/sbi/sbi_init.h
index 7c4267b..033286f 100644
--- a/include/sbi/sbi_init.h
+++ b/include/sbi/sbi_init.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 __SBI_INIT_H__
diff --git a/include/sbi/sbi_ipi.h b/include/sbi/sbi_ipi.h
index 188f84e..708dd8c 100644
--- a/include/sbi/sbi_ipi.h
+++ b/include/sbi/sbi_ipi.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 __SBI_IPI_H__
diff --git a/include/sbi/sbi_misaligned_ldst.h b/include/sbi/sbi_misaligned_ldst.h
index 1641958..c631f76 100644
--- a/include/sbi/sbi_misaligned_ldst.h
+++ b/include/sbi/sbi_misaligned_ldst.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 __SBI_MISALIGNED_LDST_H__
diff --git a/include/sbi/sbi_platform.h b/include/sbi/sbi_platform.h
index 05e7a7e..8f4f44b 100644
--- a/include/sbi/sbi_platform.h
+++ b/include/sbi/sbi_platform.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 __SBI_PLATFORM_H__
diff --git a/include/sbi/sbi_scratch.h b/include/sbi/sbi_scratch.h
index 562f7bb..e4c648c 100644
--- a/include/sbi/sbi_scratch.h
+++ b/include/sbi/sbi_scratch.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 __SBI_SCRATCH_H__
diff --git a/include/sbi/sbi_system.h b/include/sbi/sbi_system.h
index 3aad646..3e794e2 100644
--- a/include/sbi/sbi_system.h
+++ b/include/sbi/sbi_system.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 __SBI_SYSTEM_H__
diff --git a/include/sbi/sbi_timer.h b/include/sbi/sbi_timer.h
index 37e1c79..e40cce9 100644
--- a/include/sbi/sbi_timer.h
+++ b/include/sbi/sbi_timer.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 __SBI_TIMER_H__
diff --git a/include/sbi/sbi_trap.h b/include/sbi/sbi_trap.h
index ab94d19..504e7dd 100644
--- a/include/sbi/sbi_trap.h
+++ b/include/sbi/sbi_trap.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 __SBI_TRAP_H__
diff --git a/include/sbi/sbi_types.h b/include/sbi/sbi_types.h
index c6cdf18..9231dff 100644
--- a/include/sbi/sbi_types.h
+++ b/include/sbi/sbi_types.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 __SBI_TYPES_H__
diff --git a/include/sbi/sbi_unpriv.h b/include/sbi/sbi_unpriv.h
index 2b925c5..2da5785 100644
--- a/include/sbi/sbi_unpriv.h
+++ b/include/sbi/sbi_unpriv.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 __SBI_UNPRIV_H__
diff --git a/lib/objects.mk b/lib/objects.mk
index 2ce6328..ebee592 100644
--- a/lib/objects.mk
+++ b/lib/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
-#
lib-objs-y += riscv_asm.o
lib-objs-y += riscv_atomic.o
diff --git a/lib/riscv_asm.c b/lib/riscv_asm.c
index 4ffd754..2959a54 100644
--- a/lib/riscv_asm.c
+++ b/lib/riscv_asm.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_asm.h>
diff --git a/lib/riscv_atomic.c b/lib/riscv_atomic.c
index 4a52fc6..f6d6195 100644
--- a/lib/riscv_atomic.c
+++ b/lib/riscv_atomic.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/sbi_types.h>
diff --git a/lib/riscv_hardfp.S b/lib/riscv_hardfp.S
index 11f3e41..f363908 100644
--- a/lib/riscv_hardfp.S
+++ b/lib/riscv_hardfp.S
@@ -1,10 +1,10 @@
/*
+ * 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
*/
#ifdef __riscv_flen
diff --git a/lib/riscv_locks.c b/lib/riscv_locks.c
index 0f94986..8b5413e 100644
--- a/lib/riscv_locks.c
+++ b/lib/riscv_locks.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_barrier.h>
diff --git a/lib/sbi_console.c b/lib/sbi_console.c
index 36a4414..bc8f952 100644
--- a/lib/sbi_console.c
+++ b/lib/sbi_console.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/sbi_platform.h>
diff --git a/lib/sbi_ecall.c b/lib/sbi_ecall.c
index 9341ea8..7f3986d 100644
--- a/lib/sbi_ecall.c
+++ b/lib/sbi_ecall.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/sbi_console.h>
diff --git a/lib/sbi_emulate_csr.c b/lib/sbi_emulate_csr.c
index d073189..2918a80 100644
--- a/lib/sbi_emulate_csr.c
+++ b/lib/sbi_emulate_csr.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_asm.h>
diff --git a/lib/sbi_hart.c b/lib/sbi_hart.c
index dfa474c..ae11a52 100644
--- a/lib/sbi_hart.c
+++ b/lib/sbi_hart.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_asm.h>
diff --git a/lib/sbi_illegal_insn.c b/lib/sbi_illegal_insn.c
index 1bdc759..3f7f4ea 100644
--- a/lib/sbi_illegal_insn.c
+++ b/lib/sbi_illegal_insn.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_asm.h>
diff --git a/lib/sbi_init.c b/lib/sbi_init.c
index 3e5de51..a806b45 100644
--- a/lib/sbi_init.c
+++ b/lib/sbi_init.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_asm.h>
diff --git a/lib/sbi_ipi.c b/lib/sbi_ipi.c
index 55896b2..316b2a0 100644
--- a/lib/sbi_ipi.c
+++ b/lib/sbi_ipi.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_asm.h>
diff --git a/lib/sbi_misaligned_ldst.c b/lib/sbi_misaligned_ldst.c
index bde9607..77885a4 100644
--- a/lib/sbi_misaligned_ldst.c
+++ b/lib/sbi_misaligned_ldst.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_asm.h>
diff --git a/lib/sbi_system.c b/lib/sbi_system.c
index 738ff45..7b73aa4 100644
--- a/lib/sbi_system.c
+++ b/lib/sbi_system.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/sbi_hart.h>
diff --git a/lib/sbi_timer.c b/lib/sbi_timer.c
index 0cef98a..a72c280 100644
--- a/lib/sbi_timer.c
+++ b/lib/sbi_timer.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_asm.h>
diff --git a/lib/sbi_trap.c b/lib/sbi_trap.c
index c6a6b3f..4c0f2a9 100644
--- a/lib/sbi_trap.c
+++ b/lib/sbi_trap.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_asm.h>
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>