summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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
16 files changed, 47 insertions, 47 deletions
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>