This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 35ff0d834eb5a19f1db63fe6f0de5ef143bc1c1c
Author: Alin Jerpelea <[email protected]>
AuthorDate: Mon Dec 2 09:47:00 2024 +0100

    arch/or1k: migrate to SPDX identifier
    
    Most tools used for compliance and SBOM generation use SPDX identifiers
    This change brings us a step closer to an easy SBOM generation.
    
    Signed-off-by: Alin Jerpelea <[email protected]>
---
 arch/or1k/include/arch.h                       | 2 ++
 arch/or1k/include/inttypes.h                   | 2 ++
 arch/or1k/include/irq.h                        | 2 ++
 arch/or1k/include/limits.h                     | 2 ++
 arch/or1k/include/mor1kx/irq.h                 | 5 +++--
 arch/or1k/include/spr.h                        | 5 +++--
 arch/or1k/include/types.h                      | 2 ++
 arch/or1k/src/Makefile                         | 2 ++
 arch/or1k/src/common/or1k_allocateheap.c       | 2 ++
 arch/or1k/src/common/or1k_checkstack.c         | 2 ++
 arch/or1k/src/common/or1k_copyfullstate.c      | 2 ++
 arch/or1k/src/common/or1k_cpuinfo.c            | 5 +++--
 arch/or1k/src/common/or1k_createstack.c        | 2 ++
 arch/or1k/src/common/or1k_doirq.c              | 2 ++
 arch/or1k/src/common/or1k_etherstub.c          | 2 ++
 arch/or1k/src/common/or1k_exit.c               | 2 ++
 arch/or1k/src/common/or1k_fullcontextrestore.S | 2 ++
 arch/or1k/src/common/or1k_getintstack.c        | 2 ++
 arch/or1k/src/common/or1k_idle.c               | 2 ++
 arch/or1k/src/common/or1k_initialize.c         | 2 ++
 arch/or1k/src/common/or1k_initialstate.c       | 5 +++--
 arch/or1k/src/common/or1k_internal.h           | 2 ++
 arch/or1k/src/common/or1k_lowputs.c            | 2 ++
 arch/or1k/src/common/or1k_mdelay.c             | 2 ++
 arch/or1k/src/common/or1k_modifyreg16.c        | 2 ++
 arch/or1k/src/common/or1k_modifyreg32.c        | 2 ++
 arch/or1k/src/common/or1k_modifyreg8.c         | 2 ++
 arch/or1k/src/common/or1k_nputs.c              | 2 ++
 arch/or1k/src/common/or1k_pthread_start.c      | 2 ++
 arch/or1k/src/common/or1k_registerdump.c       | 2 ++
 arch/or1k/src/common/or1k_releasestack.c       | 2 ++
 arch/or1k/src/common/or1k_saveusercontext.S    | 2 ++
 arch/or1k/src/common/or1k_schedulesigaction.c  | 2 ++
 arch/or1k/src/common/or1k_stackframe.c         | 2 ++
 arch/or1k/src/common/or1k_switchcontext.c      | 2 ++
 arch/or1k/src/common/or1k_task_start.c         | 2 ++
 arch/or1k/src/common/or1k_timer.c              | 5 +++--
 arch/or1k/src/common/or1k_udelay.c             | 2 ++
 arch/or1k/src/common/or1k_usestack.c           | 2 ++
 arch/or1k/src/mor1kx/Make.defs                 | 2 ++
 arch/or1k/src/mor1kx/Toolchain.defs            | 2 ++
 arch/or1k/src/mor1kx/mor1kx_serial.c           | 2 ++
 arch/or1k/src/mor1kx/mor1kx_start.c            | 2 ++
 arch/or1k/src/mor1kx/mor1kx_start.h            | 2 ++
 arch/or1k/src/mor1kx/or1k_irq.c                | 2 ++
 arch/or1k/src/mor1kx/or1k_vectortab.S          | 5 +++--
 46 files changed, 98 insertions(+), 12 deletions(-)

diff --git a/arch/or1k/include/arch.h b/arch/or1k/include/arch.h
index 38f4ddcb59..339c44f7ff 100644
--- a/arch/or1k/include/arch.h
+++ b/arch/or1k/include/arch.h
@@ -1,6 +1,8 @@
 /****************************************************************************
  * arch/or1k/include/arch.h
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.  The
diff --git a/arch/or1k/include/inttypes.h b/arch/or1k/include/inttypes.h
index bda4e117b5..f369b9d50c 100644
--- a/arch/or1k/include/inttypes.h
+++ b/arch/or1k/include/inttypes.h
@@ -1,6 +1,8 @@
 /****************************************************************************
  * arch/or1k/include/inttypes.h
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.  The
diff --git a/arch/or1k/include/irq.h b/arch/or1k/include/irq.h
index 95359321b2..a4a5b63085 100644
--- a/arch/or1k/include/irq.h
+++ b/arch/or1k/include/irq.h
@@ -1,6 +1,8 @@
 /****************************************************************************
  * arch/or1k/include/irq.h
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.  The
diff --git a/arch/or1k/include/limits.h b/arch/or1k/include/limits.h
index 95982025b6..93fd3ce7fc 100644
--- a/arch/or1k/include/limits.h
+++ b/arch/or1k/include/limits.h
@@ -1,6 +1,8 @@
 /****************************************************************************
  * arch/or1k/include/limits.h
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.  The
diff --git a/arch/or1k/include/mor1kx/irq.h b/arch/or1k/include/mor1kx/irq.h
index f45e5949ed..c9bc9cddb9 100644
--- a/arch/or1k/include/mor1kx/irq.h
+++ b/arch/or1k/include/mor1kx/irq.h
@@ -1,8 +1,9 @@
 /****************************************************************************
  * arch/or1k/include/mor1kx/irq.h
  *
- *   Copyright (C) 2018 Extent3D. All rights reserved.
- *   Author: Matt Thompson <[email protected]>
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-FileCopyrightText: 2018 Extent3D. All rights reserved.
+ * SPDX-FileCopyrightText: Matt Thompson <[email protected]>
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
diff --git a/arch/or1k/include/spr.h b/arch/or1k/include/spr.h
index a7a3358151..b75da44a47 100644
--- a/arch/or1k/include/spr.h
+++ b/arch/or1k/include/spr.h
@@ -1,8 +1,9 @@
 /****************************************************************************
  * arch/or1k/include/spr.h
  *
- *   Copyright (C) 2018 Extent3D. All rights reserved.
- *   Author: Matt Thompson <[email protected]>
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-FileCopyrightText: 2018 Extent3D. All rights reserved.
+ * SPDX-FileCopyrightText: Matt Thompson <[email protected]>
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
diff --git a/arch/or1k/include/types.h b/arch/or1k/include/types.h
index 3a4ad630e0..f5d2371ed5 100644
--- a/arch/or1k/include/types.h
+++ b/arch/or1k/include/types.h
@@ -1,6 +1,8 @@
 /****************************************************************************
  * arch/or1k/include/types.h
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.  The
diff --git a/arch/or1k/src/Makefile b/arch/or1k/src/Makefile
index 60eaff9701..8a9c9561bd 100644
--- a/arch/or1k/src/Makefile
+++ b/arch/or1k/src/Makefile
@@ -1,6 +1,8 @@
 ############################################################################
 # arch/or1k/src/Makefile
 #
+# SPDX-License-Identifier: Apache-2.0
+#
 # Licensed to the Apache Software Foundation (ASF) under one or more
 # contributor license agreements.  See the NOTICE file distributed with
 # this work for additional information regarding copyright ownership.  The
diff --git a/arch/or1k/src/common/or1k_allocateheap.c 
b/arch/or1k/src/common/or1k_allocateheap.c
index 4369ae7bef..c9777ac20c 100644
--- a/arch/or1k/src/common/or1k_allocateheap.c
+++ b/arch/or1k/src/common/or1k_allocateheap.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * arch/or1k/src/common/or1k_allocateheap.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.  The
diff --git a/arch/or1k/src/common/or1k_checkstack.c 
b/arch/or1k/src/common/or1k_checkstack.c
index c317d5d039..00e16fa3de 100644
--- a/arch/or1k/src/common/or1k_checkstack.c
+++ b/arch/or1k/src/common/or1k_checkstack.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * arch/or1k/src/common/or1k_checkstack.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.  The
diff --git a/arch/or1k/src/common/or1k_copyfullstate.c 
b/arch/or1k/src/common/or1k_copyfullstate.c
index 35c50757ab..486b06dfeb 100644
--- a/arch/or1k/src/common/or1k_copyfullstate.c
+++ b/arch/or1k/src/common/or1k_copyfullstate.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * arch/or1k/src/common/or1k_copyfullstate.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.  The
diff --git a/arch/or1k/src/common/or1k_cpuinfo.c 
b/arch/or1k/src/common/or1k_cpuinfo.c
index 931ecf8cc5..f1a362687f 100644
--- a/arch/or1k/src/common/or1k_cpuinfo.c
+++ b/arch/or1k/src/common/or1k_cpuinfo.c
@@ -1,8 +1,9 @@
 /****************************************************************************
  * arch/or1k/src/common/or1k_cpuinfo.c
  *
- *   Copyright (C) 2018 Extent3D. All rights reserved.
- *   Author: Matt Thompson <[email protected]>
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-FileCopyrightText: 2018 Extent3D. All rights reserved.
+ * SPDX-FileCopyrightText: Matt Thompson <[email protected]>
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
diff --git a/arch/or1k/src/common/or1k_createstack.c 
b/arch/or1k/src/common/or1k_createstack.c
index 87725f493b..cbda137c10 100644
--- a/arch/or1k/src/common/or1k_createstack.c
+++ b/arch/or1k/src/common/or1k_createstack.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * arch/or1k/src/common/or1k_createstack.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.  The
diff --git a/arch/or1k/src/common/or1k_doirq.c 
b/arch/or1k/src/common/or1k_doirq.c
index ecd6e33a43..8f3fa6b4d6 100644
--- a/arch/or1k/src/common/or1k_doirq.c
+++ b/arch/or1k/src/common/or1k_doirq.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * arch/or1k/src/common/or1k_doirq.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.  The
diff --git a/arch/or1k/src/common/or1k_etherstub.c 
b/arch/or1k/src/common/or1k_etherstub.c
index 742e2f8a77..ccc40e5324 100644
--- a/arch/or1k/src/common/or1k_etherstub.c
+++ b/arch/or1k/src/common/or1k_etherstub.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * arch/or1k/src/common/or1k_etherstub.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.  The
diff --git a/arch/or1k/src/common/or1k_exit.c b/arch/or1k/src/common/or1k_exit.c
index a79775f8bf..022be0df25 100644
--- a/arch/or1k/src/common/or1k_exit.c
+++ b/arch/or1k/src/common/or1k_exit.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * arch/or1k/src/common/or1k_exit.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.  The
diff --git a/arch/or1k/src/common/or1k_fullcontextrestore.S 
b/arch/or1k/src/common/or1k_fullcontextrestore.S
index f9dd348a41..35ff4630e6 100644
--- a/arch/or1k/src/common/or1k_fullcontextrestore.S
+++ b/arch/or1k/src/common/or1k_fullcontextrestore.S
@@ -1,6 +1,8 @@
 /**************************************************************************
  * arch/or1k/src/common/or1k_fullcontextrestore.S
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.  The
diff --git a/arch/or1k/src/common/or1k_getintstack.c 
b/arch/or1k/src/common/or1k_getintstack.c
index b202eeaa41..c506b253de 100644
--- a/arch/or1k/src/common/or1k_getintstack.c
+++ b/arch/or1k/src/common/or1k_getintstack.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * arch/or1k/src/common/or1k_getintstack.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.  The
diff --git a/arch/or1k/src/common/or1k_idle.c b/arch/or1k/src/common/or1k_idle.c
index d048558ae5..57c23dc640 100644
--- a/arch/or1k/src/common/or1k_idle.c
+++ b/arch/or1k/src/common/or1k_idle.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * arch/or1k/src/common/or1k_idle.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.  The
diff --git a/arch/or1k/src/common/or1k_initialize.c 
b/arch/or1k/src/common/or1k_initialize.c
index 28321b1b3e..43b9b2b339 100644
--- a/arch/or1k/src/common/or1k_initialize.c
+++ b/arch/or1k/src/common/or1k_initialize.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * arch/or1k/src/common/or1k_initialize.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.  The
diff --git a/arch/or1k/src/common/or1k_initialstate.c 
b/arch/or1k/src/common/or1k_initialstate.c
index 4b57368eed..e8c6953c97 100644
--- a/arch/or1k/src/common/or1k_initialstate.c
+++ b/arch/or1k/src/common/or1k_initialstate.c
@@ -1,8 +1,9 @@
 /****************************************************************************
  * arch/or1k/src/common/or1k_initialstate.c
  *
- *   Copyright (C) 2018 Extent3D. All rights reserved.
- *   Author: Matt Thompson <[email protected]>
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-FileCopyrightText: 2018 Extent3D. All rights reserved.
+ * SPDX-FileCopyrightText: Matt Thompson <[email protected]>
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
diff --git a/arch/or1k/src/common/or1k_internal.h 
b/arch/or1k/src/common/or1k_internal.h
index 9db0346194..0ba986e9b7 100644
--- a/arch/or1k/src/common/or1k_internal.h
+++ b/arch/or1k/src/common/or1k_internal.h
@@ -1,6 +1,8 @@
 /****************************************************************************
  * arch/or1k/src/common/or1k_internal.h
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.  The
diff --git a/arch/or1k/src/common/or1k_lowputs.c 
b/arch/or1k/src/common/or1k_lowputs.c
index 771e963e98..35261a7359 100644
--- a/arch/or1k/src/common/or1k_lowputs.c
+++ b/arch/or1k/src/common/or1k_lowputs.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * arch/or1k/src/common/or1k_lowputs.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.  The
diff --git a/arch/or1k/src/common/or1k_mdelay.c 
b/arch/or1k/src/common/or1k_mdelay.c
index 8beeaeeb55..e92b15e991 100644
--- a/arch/or1k/src/common/or1k_mdelay.c
+++ b/arch/or1k/src/common/or1k_mdelay.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * arch/or1k/src/common/or1k_mdelay.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.  The
diff --git a/arch/or1k/src/common/or1k_modifyreg16.c 
b/arch/or1k/src/common/or1k_modifyreg16.c
index e2c7b29e4d..83421b675d 100644
--- a/arch/or1k/src/common/or1k_modifyreg16.c
+++ b/arch/or1k/src/common/or1k_modifyreg16.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * arch/or1k/src/common/or1k_modifyreg16.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.  The
diff --git a/arch/or1k/src/common/or1k_modifyreg32.c 
b/arch/or1k/src/common/or1k_modifyreg32.c
index 3a82c8f6c2..c079d32323 100644
--- a/arch/or1k/src/common/or1k_modifyreg32.c
+++ b/arch/or1k/src/common/or1k_modifyreg32.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * arch/or1k/src/common/or1k_modifyreg32.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.  The
diff --git a/arch/or1k/src/common/or1k_modifyreg8.c 
b/arch/or1k/src/common/or1k_modifyreg8.c
index aa1ef38a26..c378b542a0 100644
--- a/arch/or1k/src/common/or1k_modifyreg8.c
+++ b/arch/or1k/src/common/or1k_modifyreg8.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * arch/or1k/src/common/or1k_modifyreg8.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.  The
diff --git a/arch/or1k/src/common/or1k_nputs.c 
b/arch/or1k/src/common/or1k_nputs.c
index 5ed0bdb648..3e92f3c087 100644
--- a/arch/or1k/src/common/or1k_nputs.c
+++ b/arch/or1k/src/common/or1k_nputs.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * arch/or1k/src/common/or1k_nputs.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.  The
diff --git a/arch/or1k/src/common/or1k_pthread_start.c 
b/arch/or1k/src/common/or1k_pthread_start.c
index 1656481f95..2b4c3cffcd 100644
--- a/arch/or1k/src/common/or1k_pthread_start.c
+++ b/arch/or1k/src/common/or1k_pthread_start.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * arch/or1k/src/common/or1k_pthread_start.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.  The
diff --git a/arch/or1k/src/common/or1k_registerdump.c 
b/arch/or1k/src/common/or1k_registerdump.c
index 6861a0995b..ef1e0ad47a 100644
--- a/arch/or1k/src/common/or1k_registerdump.c
+++ b/arch/or1k/src/common/or1k_registerdump.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * arch/or1k/src/common/or1k_registerdump.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.  The
diff --git a/arch/or1k/src/common/or1k_releasestack.c 
b/arch/or1k/src/common/or1k_releasestack.c
index 5eb84dd9ab..f1db157f19 100644
--- a/arch/or1k/src/common/or1k_releasestack.c
+++ b/arch/or1k/src/common/or1k_releasestack.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * arch/or1k/src/common/or1k_releasestack.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.  The
diff --git a/arch/or1k/src/common/or1k_saveusercontext.S 
b/arch/or1k/src/common/or1k_saveusercontext.S
index e3e1b39c6b..8570cdad2c 100644
--- a/arch/or1k/src/common/or1k_saveusercontext.S
+++ b/arch/or1k/src/common/or1k_saveusercontext.S
@@ -1,6 +1,8 @@
 /**************************************************************************
  * arch/or1k/src/common/or1k_saveusercontext.S
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.  The
diff --git a/arch/or1k/src/common/or1k_schedulesigaction.c 
b/arch/or1k/src/common/or1k_schedulesigaction.c
index c7f56ede5b..305e3de998 100644
--- a/arch/or1k/src/common/or1k_schedulesigaction.c
+++ b/arch/or1k/src/common/or1k_schedulesigaction.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * arch/or1k/src/common/or1k_schedulesigaction.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.  The
diff --git a/arch/or1k/src/common/or1k_stackframe.c 
b/arch/or1k/src/common/or1k_stackframe.c
index daa7e1680f..69061fc95e 100644
--- a/arch/or1k/src/common/or1k_stackframe.c
+++ b/arch/or1k/src/common/or1k_stackframe.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * arch/or1k/src/common/or1k_stackframe.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.  The
diff --git a/arch/or1k/src/common/or1k_switchcontext.c 
b/arch/or1k/src/common/or1k_switchcontext.c
index 1e0921e251..a8e12a310a 100644
--- a/arch/or1k/src/common/or1k_switchcontext.c
+++ b/arch/or1k/src/common/or1k_switchcontext.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * arch/or1k/src/common/or1k_switchcontext.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.  The
diff --git a/arch/or1k/src/common/or1k_task_start.c 
b/arch/or1k/src/common/or1k_task_start.c
index 5ee95684c6..a43385703f 100644
--- a/arch/or1k/src/common/or1k_task_start.c
+++ b/arch/or1k/src/common/or1k_task_start.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * arch/or1k/src/common/or1k_task_start.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.  The
diff --git a/arch/or1k/src/common/or1k_timer.c 
b/arch/or1k/src/common/or1k_timer.c
index 0c0aa843bc..9e57484c4f 100644
--- a/arch/or1k/src/common/or1k_timer.c
+++ b/arch/or1k/src/common/or1k_timer.c
@@ -1,8 +1,9 @@
 /****************************************************************************
  * arch/or1k/src/common/or1k_timer.c
  *
- *   Copyright (C) 2018 Extent3D. All rights reserved.
- *   Author: Matt Thompson <[email protected]>
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-FileCopyrightText: 2018 Extent3D. All rights reserved.
+ * SPDX-FileCopyrightText: Matt Thompson <[email protected]>
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
diff --git a/arch/or1k/src/common/or1k_udelay.c 
b/arch/or1k/src/common/or1k_udelay.c
index 362ddde554..686f780aa4 100644
--- a/arch/or1k/src/common/or1k_udelay.c
+++ b/arch/or1k/src/common/or1k_udelay.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * arch/or1k/src/common/or1k_udelay.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.  The
diff --git a/arch/or1k/src/common/or1k_usestack.c 
b/arch/or1k/src/common/or1k_usestack.c
index 6d92adcc2f..840693cd06 100644
--- a/arch/or1k/src/common/or1k_usestack.c
+++ b/arch/or1k/src/common/or1k_usestack.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * arch/or1k/src/common/or1k_usestack.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.  The
diff --git a/arch/or1k/src/mor1kx/Make.defs b/arch/or1k/src/mor1kx/Make.defs
index 93556fea87..c4987c73e4 100644
--- a/arch/or1k/src/mor1kx/Make.defs
+++ b/arch/or1k/src/mor1kx/Make.defs
@@ -1,6 +1,8 @@
 ############################################################################
 # arch/or1k/src/mor1kx/Make.defs
 #
+# SPDX-License-Identifier: Apache-2.0
+#
 # Licensed to the Apache Software Foundation (ASF) under one or more
 # contributor license agreements.  See the NOTICE file distributed with
 # this work for additional information regarding copyright ownership.  The
diff --git a/arch/or1k/src/mor1kx/Toolchain.defs 
b/arch/or1k/src/mor1kx/Toolchain.defs
index 991c2d05b9..5feaf57d55 100644
--- a/arch/or1k/src/mor1kx/Toolchain.defs
+++ b/arch/or1k/src/mor1kx/Toolchain.defs
@@ -1,6 +1,8 @@
 ############################################################################
 # arch/or1k/src/mor1kx/Toolchain.defs
 #
+# SPDX-License-Identifier: Apache-2.0
+#
 # Licensed to the Apache Software Foundation (ASF) under one or more
 # contributor license agreements.  See the NOTICE file distributed with
 # this work for additional information regarding copyright ownership.  The
diff --git a/arch/or1k/src/mor1kx/mor1kx_serial.c 
b/arch/or1k/src/mor1kx/mor1kx_serial.c
index 04f443d38b..9a72027d5f 100644
--- a/arch/or1k/src/mor1kx/mor1kx_serial.c
+++ b/arch/or1k/src/mor1kx/mor1kx_serial.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * arch/or1k/src/mor1kx/mor1kx_serial.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.  The
diff --git a/arch/or1k/src/mor1kx/mor1kx_start.c 
b/arch/or1k/src/mor1kx/mor1kx_start.c
index 4d543b0d0f..bc4ae1f7a8 100644
--- a/arch/or1k/src/mor1kx/mor1kx_start.c
+++ b/arch/or1k/src/mor1kx/mor1kx_start.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * arch/or1k/src/mor1kx/mor1kx_start.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.  The
diff --git a/arch/or1k/src/mor1kx/mor1kx_start.h 
b/arch/or1k/src/mor1kx/mor1kx_start.h
index 7ff1ec7097..3b56f482ee 100644
--- a/arch/or1k/src/mor1kx/mor1kx_start.h
+++ b/arch/or1k/src/mor1kx/mor1kx_start.h
@@ -1,6 +1,8 @@
 /****************************************************************************
  * arch/or1k/src/mor1kx/mor1kx_start.h
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.  The
diff --git a/arch/or1k/src/mor1kx/or1k_irq.c b/arch/or1k/src/mor1kx/or1k_irq.c
index fc8e1f3b4e..dd68a54157 100644
--- a/arch/or1k/src/mor1kx/or1k_irq.c
+++ b/arch/or1k/src/mor1kx/or1k_irq.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * arch/or1k/src/mor1kx/or1k_irq.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.  The
diff --git a/arch/or1k/src/mor1kx/or1k_vectortab.S 
b/arch/or1k/src/mor1kx/or1k_vectortab.S
index eec99e8adb..cef2f34e6f 100644
--- a/arch/or1k/src/mor1kx/or1k_vectortab.S
+++ b/arch/or1k/src/mor1kx/or1k_vectortab.S
@@ -1,8 +1,9 @@
 /****************************************************************************
  * arch/or1k/src/mor1kx/or1k_vectortab.S
  *
- *   Copyright (C) 2018 Extent3D. All rights reserved.
- *   Author: Matt Thompson <[email protected]>
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-FileCopyrightText: 2018 Extent3D. All rights reserved.
+ * SPDX-FileCopyrightText: Matt Thompson <[email protected]>
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions

Reply via email to