ソースを参照

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>
Anup patel 5 年 前
コミット
20990ee0ab
88 ファイル変更260 行追加260 行削除
  1. 1 1
      LICENSE
  2. 3 3
      Makefile
  3. 3 3
      firmware/external_deps.mk
  4. 3 3
      firmware/fw_base.S
  5. 3 3
      firmware/fw_base.ldS
  6. 3 3
      firmware/fw_jump.S
  7. 3 3
      firmware/fw_jump.elf.ldS
  8. 3 3
      firmware/fw_payload.S
  9. 3 3
      firmware/fw_payload.elf.ldS
  10. 3 3
      firmware/objects.mk
  11. 3 3
      firmware/payloads/objects.mk
  12. 3 3
      firmware/payloads/test.elf.ldS
  13. 3 3
      firmware/payloads/test_head.S
  14. 3 3
      firmware/payloads/test_main.c
  15. 3 3
      include/sbi/riscv_asm.h
  16. 3 3
      include/sbi/riscv_atomic.h
  17. 3 3
      include/sbi/riscv_barrier.h
  18. 3 3
      include/sbi/riscv_encoding.h
  19. 2 2
      include/sbi/riscv_fp.h
  20. 3 3
      include/sbi/riscv_io.h
  21. 3 3
      include/sbi/riscv_locks.h
  22. 3 3
      include/sbi/sbi_bitops.h
  23. 3 3
      include/sbi/sbi_bits.h
  24. 3 3
      include/sbi/sbi_console.h
  25. 3 3
      include/sbi/sbi_const.h
  26. 3 3
      include/sbi/sbi_ecall.h
  27. 3 3
      include/sbi/sbi_ecall_interface.h
  28. 3 3
      include/sbi/sbi_emulate_csr.h
  29. 3 3
      include/sbi/sbi_error.h
  30. 3 3
      include/sbi/sbi_hart.h
  31. 3 3
      include/sbi/sbi_illegal_insn.h
  32. 3 3
      include/sbi/sbi_init.h
  33. 3 3
      include/sbi/sbi_ipi.h
  34. 3 3
      include/sbi/sbi_misaligned_ldst.h
  35. 3 3
      include/sbi/sbi_platform.h
  36. 3 3
      include/sbi/sbi_scratch.h
  37. 3 3
      include/sbi/sbi_system.h
  38. 3 3
      include/sbi/sbi_timer.h
  39. 3 3
      include/sbi/sbi_trap.h
  40. 3 3
      include/sbi/sbi_types.h
  41. 3 3
      include/sbi/sbi_unpriv.h
  42. 3 3
      lib/objects.mk
  43. 3 3
      lib/riscv_asm.c
  44. 3 3
      lib/riscv_atomic.c
  45. 2 2
      lib/riscv_hardfp.S
  46. 3 3
      lib/riscv_locks.c
  47. 3 3
      lib/sbi_console.c
  48. 3 3
      lib/sbi_ecall.c
  49. 3 3
      lib/sbi_emulate_csr.c
  50. 3 3
      lib/sbi_hart.c
  51. 3 3
      lib/sbi_illegal_insn.c
  52. 3 3
      lib/sbi_init.c
  53. 3 3
      lib/sbi_ipi.c
  54. 3 3
      lib/sbi_misaligned_ldst.c
  55. 3 3
      lib/sbi_system.c
  56. 3 3
      lib/sbi_timer.c
  57. 3 3
      lib/sbi_trap.c
  58. 3 3
      platform/common/include/plat/irqchip/plic.h
  59. 3 3
      platform/common/include/plat/serial/sifive-uart.h
  60. 3 3
      platform/common/include/plat/serial/uart8250.h
  61. 3 3
      platform/common/include/plat/string.h
  62. 3 3
      platform/common/include/plat/sys/clint.h
  63. 3 3
      platform/common/include/plat/tinyfdt.h
  64. 3 3
      platform/common/irqchip/objects.mk
  65. 3 3
      platform/common/irqchip/plic.c
  66. 3 3
      platform/common/libc/objects.mk
  67. 3 3
      platform/common/libc/string.c
  68. 3 3
      platform/common/libfdt/objects.mk
  69. 3 3
      platform/common/objects.mk
  70. 3 3
      platform/common/serial/objects.mk
  71. 3 3
      platform/common/serial/sifive-uart.c
  72. 3 3
      platform/common/serial/uart8250.c
  73. 3 3
      platform/common/sys/clint.c
  74. 3 3
      platform/common/sys/objects.mk
  75. 3 3
      platform/common/tinyfdt.c
  76. 3 3
      platform/kendryte/k210/config.mk
  77. 3 3
      platform/kendryte/k210/k210.dts
  78. 3 3
      platform/kendryte/k210/objects.mk
  79. 3 3
      platform/kendryte/k210/platform.c
  80. 3 3
      platform/qemu/sifive_u/config.mk
  81. 3 3
      platform/qemu/sifive_u/objects.mk
  82. 3 3
      platform/qemu/sifive_u/platform.c
  83. 3 3
      platform/qemu/virt/config.mk
  84. 3 3
      platform/qemu/virt/objects.mk
  85. 3 3
      platform/qemu/virt/platform.c
  86. 3 3
      platform/sifive/fu540/config.mk
  87. 3 3
      platform/sifive/fu540/objects.mk
  88. 3 3
      platform/sifive/fu540/platform.c

+ 1 - 1
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:

+ 3 - 3
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

+ 3 - 3
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)

+ 3 - 3
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>

+ 3 - 3
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;

+ 3 - 3
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"

+ 3 - 3
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)

+ 3 - 3
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"

+ 3 - 3
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)

+ 3 - 3
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 +=

+ 3 - 3
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
 

+ 3 - 3
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)

+ 3 - 3
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

+ 3 - 3
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>

+ 3 - 3
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__

+ 3 - 3
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__

+ 3 - 3
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__

+ 3 - 3
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__

+ 2 - 2
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__

+ 3 - 3
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__

+ 3 - 3
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__

+ 3 - 3
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__

+ 3 - 3
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__

+ 3 - 3
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__

+ 3 - 3
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__

+ 3 - 3
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__

+ 3 - 3
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__

+ 3 - 3
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__

+ 3 - 3
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__

+ 3 - 3
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__

+ 3 - 3
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__

+ 3 - 3
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__

+ 3 - 3
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__

+ 3 - 3
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__

+ 3 - 3
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__

+ 3 - 3
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__

+ 3 - 3
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__

+ 3 - 3
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__

+ 3 - 3
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__

+ 3 - 3
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__

+ 3 - 3
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__

+ 3 - 3
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

+ 3 - 3
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>

+ 3 - 3
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>

+ 2 - 2
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

+ 3 - 3
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>

+ 3 - 3
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>

+ 3 - 3
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>

+ 3 - 3
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>

+ 3 - 3
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>

+ 3 - 3
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>

+ 3 - 3
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>

+ 3 - 3
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>

+ 3 - 3
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>

+ 3 - 3
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>

+ 3 - 3
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>

+ 3 - 3
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>

+ 3 - 3
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__

+ 3 - 3
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__

+ 3 - 3
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__

+ 3 - 3
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__

+ 3 - 3
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__

+ 3 - 3
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__

+ 3 - 3
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

+ 3 - 3
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>

+ 3 - 3
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
 

+ 3 - 3
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
  */
 
 /*

+ 3 - 3
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

+ 3 - 3
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

+ 3 - 3
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

+ 3 - 3
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>

+ 3 - 3
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>

+ 3 - 3
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>

+ 3 - 3
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

+ 3 - 3
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>

+ 3 - 3
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 =

+ 3 - 3
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/;

+ 3 - 3
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

+ 3 - 3
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>

+ 3 - 3
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 =

+ 3 - 3
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

+ 3 - 3
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>

+ 3 - 3
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 =

+ 3 - 3
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

+ 3 - 3
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>

+ 3 - 3
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 =

+ 3 - 3
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

+ 3 - 3
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>