From 9cc017fd48830a33d3e0338eff9e1da5fab4d505 Mon Sep 17 00:00:00 2001 From: Alexander Zilberkant Date: Sun, 18 Nov 2018 20:14:05 +0200 Subject: [PATCH] Normalize license headers - add SPDX license identifier - add missing license headers - update year in license headers --- .../COMPONENT_SPE/psa_setup.c | 4 +++- .../its_reset/COMPONENT_PSA_SRV_IPC/test_pits.c | 17 +++++++++++++++++ .../psa_test_its_reset_partition.c | 4 +++- .../psa_test_its_reset_partition.h | 4 +++- .../its_reset/COMPONENT_SPE/test_pits_impl.cpp | 2 ++ .../COMPONENT_SPE/test_pits_reset_partition.c | 17 +++++++++++++++++ .../its_reset/psa_test_its_reset_ifs.h | 4 +++- .../COMPONENT_NSPE/client_ipc_tests.cpp | 4 +++- .../COMPONENT_SPE/psa_client_tests_part1_ifs.h | 4 +++- .../psa_client_tests_part1_partition.c | 4 +++- .../psa_client_tests_part1_partition.h | 4 +++- TESTS/psa/spm_client/COMPONENT_SPE/psa_setup.c | 4 +++- TESTS/psa/spm_client/COMPONENT_SPE/server.c | 4 +++- .../psa/spm_client/psa_client_tests_part1_ifs.h | 4 +++- TESTS/psa/spm_server/COMPONENT_NSPE/main.cpp | 4 +++- TESTS/psa/spm_server/COMPONENT_SPE/partition.c | 4 +++- TESTS/psa/spm_server/COMPONENT_SPE/partition2.c | 4 +++- .../COMPONENT_SPE/psa_server_test_part1_ifs.h | 4 +++- .../psa_server_test_part1_partition.c | 4 +++- .../psa_server_test_part1_partition.h | 4 +++- .../COMPONENT_SPE/psa_server_test_part2_ifs.h | 4 +++- .../psa_server_test_part2_partition.c | 4 +++- .../psa_server_test_part2_partition.h | 4 +++- TESTS/psa/spm_server/COMPONENT_SPE/psa_setup.c | 4 +++- .../psa/spm_server/COMPONENT_SPE/server_tests.h | 4 +++- TESTS/psa/spm_server/COMPONENT_SPE/tests.c | 4 +++- .../psa/spm_server/psa_server_test_part1_ifs.h | 4 +++- .../psa/spm_server/psa_server_test_part2_ifs.h | 4 +++- TESTS/psa/spm_server/server_tests.h | 4 +++- TESTS/psa/spm_smoke/COMPONENT_NSPE/main.cpp | 4 +++- TESTS/psa/spm_smoke/COMPONENT_SPE/psa_setup.c | 4 +++- .../COMPONENT_SPE/psa_smoke_test_part1_ifs.h | 4 +++- .../psa_smoke_test_part1_partition.c | 4 +++- .../psa_smoke_test_part1_partition.h | 4 +++- TESTS/psa/spm_smoke/psa_smoke_test_part1_ifs.h | 4 +++- .../psa_prot_internal_storage.c | 2 ++ .../COMPONENT_SPE/its_partition.c | 2 ++ .../COMPONENT_SPE/psa_its_partition.c | 4 +++- .../COMPONENT_SPE/psa_its_partition.h | 4 +++- .../psa_prot_internal_storage/psa_its_ifs.h | 4 +++- .../spm/COMPONENT_SPE/handles_manager.c | 14 +++++++------- .../spm/COMPONENT_SPE/handles_manager.h | 14 +++++++------- .../TARGET_PSA/spm/COMPONENT_SPE/psa_setup.c | 4 +++- .../TARGET_PSA/spm/COMPONENT_SPE/spm_client.c | 4 +++- .../TARGET_PSA/spm/COMPONENT_SPE/spm_common.c | 4 +++- .../TARGET_PSA/spm/COMPONENT_SPE/spm_init.c | 4 +++- .../TARGET_PSA/spm/COMPONENT_SPE/spm_internal.h | 4 +++- .../TARGET_PSA/spm/COMPONENT_SPE/spm_main.c | 17 +++++++++++++++++ .../TARGET_PSA/spm/COMPONENT_SPE/spm_panic.h | 4 +++- .../TARGET_PSA/spm/COMPONENT_SPE/spm_server.c | 4 +++- .../TARGET_PSA/spm/COMPONENT_SPE/spm_server.h | 4 +++- .../COMPONENT_NSPE/spm_client_proxy.c | 2 ++ .../COMPONENT_NSPE/spm_mailbox_nspe.c | 17 +++++++++++++++++ .../COMPONENT_SPE/spm_mailbox_spe.c | 17 +++++++++++++++++ .../spm/COMPONENT_SPM_MAILBOX/ipc_defs.h | 2 ++ .../spm/COMPONENT_SPM_MAILBOX/ipc_queue.c | 2 ++ .../spm/COMPONENT_SPM_MAILBOX/ipc_queue.h | 2 ++ .../NEG_CLIENT_PART1/psa_neg_client_part1_ifs.h | 2 +- .../psa_neg_client_part1_partition.c | 2 +- .../psa_neg_client_part1_partition.h | 2 +- .../neg_client_tests/neg_ipc_tests.cpp | 2 +- .../TARGET_IGNORE/neg_client_tests/neg_tests.h | 2 +- .../TARGET_IGNORE/neg_client_tests/psa_setup.c | 2 +- .../TARGET_IGNORE/neg_client_tests/server1.c | 2 +- .../TARGET_IGNORE/neg_client_tests/spm_reboot.c | 2 +- .../NEG_DUAL_PART1/psa_neg_dual_part1_ifs.h | 2 +- .../psa_neg_dual_part1_partition.c | 2 +- .../psa_neg_dual_part1_partition.h | 2 +- .../NEG_DUAL_PART2/psa_neg_dual_part2_ifs.h | 2 +- .../psa_neg_dual_part2_partition.c | 2 +- .../psa_neg_dual_part2_partition.h | 2 +- .../neg_dual_partition/neg_dual_tests.cpp | 2 +- .../neg_dual_partition/neg_tests.h | 2 +- .../neg_dual_partition/psa_setup.c | 2 +- .../TARGET_IGNORE/neg_dual_partition/server1.c | 2 +- .../TARGET_IGNORE/neg_dual_partition/server2.c | 2 +- .../neg_dual_partition/spm_reboot.c | 2 +- .../NEG_SERVER_PART1/psa_neg_server_part1_ifs.h | 2 +- .../psa_neg_server_part1_partition.c | 2 +- .../psa_neg_server_part1_partition.h | 2 +- .../NEG_SERVER_PART2/psa_neg_server_part2_ifs.h | 2 +- .../psa_neg_server_part2_partition.c | 2 +- .../psa_neg_server_part2_partition.h | 2 +- .../neg_server_tests/neg_ipc_tests.cpp | 2 +- .../TARGET_IGNORE/neg_server_tests/neg_tests.h | 2 +- .../TARGET_IGNORE/neg_server_tests/psa_setup.c | 2 +- .../TARGET_IGNORE/neg_server_tests/server1.c | 2 +- .../TARGET_IGNORE/neg_server_tests/server2.c | 2 +- .../TARGET_IGNORE/neg_server_tests/spm_reboot.c | 2 +- components/TARGET_PSA/spm/psa_defs.h | 4 +++- components/TARGET_PSA/spm/spm_client.h | 4 +++- components/TARGET_PSA/spm/spm_init.h | 4 +++- components/TARGET_PSA/spm/spm_messages.h | 14 +++++++------- tools/spm/__init__.py | 16 ++++++++++++++++ tools/spm/generate_partition_code.py | 16 ++++++++++++++++ .../COMPONENT_SPE/psa_NAME_partition.c.tpl | 4 +++- .../COMPONENT_SPE/psa_NAME_partition.h.tpl | 4 +++- .../spm/templates/COMPONENT_SPE/psa_setup.c.tpl | 4 +++- tools/spm/templates/psa_NAME_ifs.h.tpl | 4 +++- 99 files changed, 334 insertions(+), 103 deletions(-) diff --git a/TESTS/psa/prot_internal_storage/COMPONENT_SPE/psa_setup.c b/TESTS/psa/prot_internal_storage/COMPONENT_SPE/psa_setup.c index 8fd20970cc..007c6c3dbd 100644 --- a/TESTS/psa/prot_internal_storage/COMPONENT_SPE/psa_setup.c +++ b/TESTS/psa/prot_internal_storage/COMPONENT_SPE/psa_setup.c @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/TESTS/psa/prot_internal_storage/its_reset/COMPONENT_PSA_SRV_IPC/test_pits.c b/TESTS/psa/prot_internal_storage/its_reset/COMPONENT_PSA_SRV_IPC/test_pits.c index 309c493cd5..8493581f9e 100644 --- a/TESTS/psa/prot_internal_storage/its_reset/COMPONENT_PSA_SRV_IPC/test_pits.c +++ b/TESTS/psa/prot_internal_storage/its_reset/COMPONENT_PSA_SRV_IPC/test_pits.c @@ -1,3 +1,20 @@ +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #include "spm_client.h" #include "psa_prot_internal_storage.h" #include "test_pits.h" diff --git a/TESTS/psa/prot_internal_storage/its_reset/COMPONENT_SPE/psa_test_its_reset_partition.c b/TESTS/psa/prot_internal_storage/its_reset/COMPONENT_SPE/psa_test_its_reset_partition.c index fe8173858a..7f340853dd 100644 --- a/TESTS/psa/prot_internal_storage/its_reset/COMPONENT_SPE/psa_test_its_reset_partition.c +++ b/TESTS/psa/prot_internal_storage/its_reset/COMPONENT_SPE/psa_test_its_reset_partition.c @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/TESTS/psa/prot_internal_storage/its_reset/COMPONENT_SPE/psa_test_its_reset_partition.h b/TESTS/psa/prot_internal_storage/its_reset/COMPONENT_SPE/psa_test_its_reset_partition.h index 4c16e89c1e..4e41e02655 100644 --- a/TESTS/psa/prot_internal_storage/its_reset/COMPONENT_SPE/psa_test_its_reset_partition.h +++ b/TESTS/psa/prot_internal_storage/its_reset/COMPONENT_SPE/psa_test_its_reset_partition.h @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/TESTS/psa/prot_internal_storage/its_reset/COMPONENT_SPE/test_pits_impl.cpp b/TESTS/psa/prot_internal_storage/its_reset/COMPONENT_SPE/test_pits_impl.cpp index 21d805d00d..7b2f4e57f3 100644 --- a/TESTS/psa/prot_internal_storage/its_reset/COMPONENT_SPE/test_pits_impl.cpp +++ b/TESTS/psa/prot_internal_storage/its_reset/COMPONENT_SPE/test_pits_impl.cpp @@ -1,4 +1,6 @@ /* Copyright (c) 2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/TESTS/psa/prot_internal_storage/its_reset/COMPONENT_SPE/test_pits_reset_partition.c b/TESTS/psa/prot_internal_storage/its_reset/COMPONENT_SPE/test_pits_reset_partition.c index 5bf71a879d..efdd1ad0c7 100644 --- a/TESTS/psa/prot_internal_storage/its_reset/COMPONENT_SPE/test_pits_reset_partition.c +++ b/TESTS/psa/prot_internal_storage/its_reset/COMPONENT_SPE/test_pits_reset_partition.c @@ -1,3 +1,20 @@ +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + // -------------------------------------- Includes ----------------------------------- #include diff --git a/TESTS/psa/prot_internal_storage/its_reset/psa_test_its_reset_ifs.h b/TESTS/psa/prot_internal_storage/its_reset/psa_test_its_reset_ifs.h index 468516bc57..4dccfa0284 100644 --- a/TESTS/psa/prot_internal_storage/its_reset/psa_test_its_reset_ifs.h +++ b/TESTS/psa/prot_internal_storage/its_reset/psa_test_its_reset_ifs.h @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/TESTS/psa/spm_client/COMPONENT_NSPE/client_ipc_tests.cpp b/TESTS/psa/spm_client/COMPONENT_NSPE/client_ipc_tests.cpp index 8de7df2660..8023b85870 100644 --- a/TESTS/psa/spm_client/COMPONENT_NSPE/client_ipc_tests.cpp +++ b/TESTS/psa/spm_client/COMPONENT_NSPE/client_ipc_tests.cpp @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/TESTS/psa/spm_client/COMPONENT_SPE/psa_client_tests_part1_ifs.h b/TESTS/psa/spm_client/COMPONENT_SPE/psa_client_tests_part1_ifs.h index aadba6f9e9..97d0771ccf 100644 --- a/TESTS/psa/spm_client/COMPONENT_SPE/psa_client_tests_part1_ifs.h +++ b/TESTS/psa/spm_client/COMPONENT_SPE/psa_client_tests_part1_ifs.h @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/TESTS/psa/spm_client/COMPONENT_SPE/psa_client_tests_part1_partition.c b/TESTS/psa/spm_client/COMPONENT_SPE/psa_client_tests_part1_partition.c index 1f19cb6e89..b34f30fa5d 100644 --- a/TESTS/psa/spm_client/COMPONENT_SPE/psa_client_tests_part1_partition.c +++ b/TESTS/psa/spm_client/COMPONENT_SPE/psa_client_tests_part1_partition.c @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/TESTS/psa/spm_client/COMPONENT_SPE/psa_client_tests_part1_partition.h b/TESTS/psa/spm_client/COMPONENT_SPE/psa_client_tests_part1_partition.h index 20903ebf08..1da5c784d3 100644 --- a/TESTS/psa/spm_client/COMPONENT_SPE/psa_client_tests_part1_partition.h +++ b/TESTS/psa/spm_client/COMPONENT_SPE/psa_client_tests_part1_partition.h @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/TESTS/psa/spm_client/COMPONENT_SPE/psa_setup.c b/TESTS/psa/spm_client/COMPONENT_SPE/psa_setup.c index 6c0c212e8d..80f1889d01 100644 --- a/TESTS/psa/spm_client/COMPONENT_SPE/psa_setup.c +++ b/TESTS/psa/spm_client/COMPONENT_SPE/psa_setup.c @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/TESTS/psa/spm_client/COMPONENT_SPE/server.c b/TESTS/psa/spm_client/COMPONENT_SPE/server.c index c7656517d5..df197febdd 100644 --- a/TESTS/psa/spm_client/COMPONENT_SPE/server.c +++ b/TESTS/psa/spm_client/COMPONENT_SPE/server.c @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/TESTS/psa/spm_client/psa_client_tests_part1_ifs.h b/TESTS/psa/spm_client/psa_client_tests_part1_ifs.h index aadba6f9e9..97d0771ccf 100644 --- a/TESTS/psa/spm_client/psa_client_tests_part1_ifs.h +++ b/TESTS/psa/spm_client/psa_client_tests_part1_ifs.h @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/TESTS/psa/spm_server/COMPONENT_NSPE/main.cpp b/TESTS/psa/spm_server/COMPONENT_NSPE/main.cpp index 694f370f69..d4b9a7e7dd 100644 --- a/TESTS/psa/spm_server/COMPONENT_NSPE/main.cpp +++ b/TESTS/psa/spm_server/COMPONENT_NSPE/main.cpp @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/TESTS/psa/spm_server/COMPONENT_SPE/partition.c b/TESTS/psa/spm_server/COMPONENT_SPE/partition.c index 314f791097..0c78bde8af 100644 --- a/TESTS/psa/spm_server/COMPONENT_SPE/partition.c +++ b/TESTS/psa/spm_server/COMPONENT_SPE/partition.c @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/TESTS/psa/spm_server/COMPONENT_SPE/partition2.c b/TESTS/psa/spm_server/COMPONENT_SPE/partition2.c index 1dc3d6f234..e5972079ba 100644 --- a/TESTS/psa/spm_server/COMPONENT_SPE/partition2.c +++ b/TESTS/psa/spm_server/COMPONENT_SPE/partition2.c @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/TESTS/psa/spm_server/COMPONENT_SPE/psa_server_test_part1_ifs.h b/TESTS/psa/spm_server/COMPONENT_SPE/psa_server_test_part1_ifs.h index e24a0d4897..7cb1c0cba5 100644 --- a/TESTS/psa/spm_server/COMPONENT_SPE/psa_server_test_part1_ifs.h +++ b/TESTS/psa/spm_server/COMPONENT_SPE/psa_server_test_part1_ifs.h @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/TESTS/psa/spm_server/COMPONENT_SPE/psa_server_test_part1_partition.c b/TESTS/psa/spm_server/COMPONENT_SPE/psa_server_test_part1_partition.c index 9a8e22b9e9..8f329baf35 100644 --- a/TESTS/psa/spm_server/COMPONENT_SPE/psa_server_test_part1_partition.c +++ b/TESTS/psa/spm_server/COMPONENT_SPE/psa_server_test_part1_partition.c @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/TESTS/psa/spm_server/COMPONENT_SPE/psa_server_test_part1_partition.h b/TESTS/psa/spm_server/COMPONENT_SPE/psa_server_test_part1_partition.h index 5b45296656..9f75e0d396 100644 --- a/TESTS/psa/spm_server/COMPONENT_SPE/psa_server_test_part1_partition.h +++ b/TESTS/psa/spm_server/COMPONENT_SPE/psa_server_test_part1_partition.h @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/TESTS/psa/spm_server/COMPONENT_SPE/psa_server_test_part2_ifs.h b/TESTS/psa/spm_server/COMPONENT_SPE/psa_server_test_part2_ifs.h index e06c8f77a3..6124cbdc96 100644 --- a/TESTS/psa/spm_server/COMPONENT_SPE/psa_server_test_part2_ifs.h +++ b/TESTS/psa/spm_server/COMPONENT_SPE/psa_server_test_part2_ifs.h @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/TESTS/psa/spm_server/COMPONENT_SPE/psa_server_test_part2_partition.c b/TESTS/psa/spm_server/COMPONENT_SPE/psa_server_test_part2_partition.c index 2f0cceb2b7..4f4b5ed439 100644 --- a/TESTS/psa/spm_server/COMPONENT_SPE/psa_server_test_part2_partition.c +++ b/TESTS/psa/spm_server/COMPONENT_SPE/psa_server_test_part2_partition.c @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/TESTS/psa/spm_server/COMPONENT_SPE/psa_server_test_part2_partition.h b/TESTS/psa/spm_server/COMPONENT_SPE/psa_server_test_part2_partition.h index 371588ccfc..53b66dd413 100644 --- a/TESTS/psa/spm_server/COMPONENT_SPE/psa_server_test_part2_partition.h +++ b/TESTS/psa/spm_server/COMPONENT_SPE/psa_server_test_part2_partition.h @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/TESTS/psa/spm_server/COMPONENT_SPE/psa_setup.c b/TESTS/psa/spm_server/COMPONENT_SPE/psa_setup.c index c3675dc5a0..06aeea9bd4 100644 --- a/TESTS/psa/spm_server/COMPONENT_SPE/psa_setup.c +++ b/TESTS/psa/spm_server/COMPONENT_SPE/psa_setup.c @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/TESTS/psa/spm_server/COMPONENT_SPE/server_tests.h b/TESTS/psa/spm_server/COMPONENT_SPE/server_tests.h index 29baa94697..99002eb6b3 100644 --- a/TESTS/psa/spm_server/COMPONENT_SPE/server_tests.h +++ b/TESTS/psa/spm_server/COMPONENT_SPE/server_tests.h @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/TESTS/psa/spm_server/COMPONENT_SPE/tests.c b/TESTS/psa/spm_server/COMPONENT_SPE/tests.c index c207334a4e..c0b4b4d04d 100644 --- a/TESTS/psa/spm_server/COMPONENT_SPE/tests.c +++ b/TESTS/psa/spm_server/COMPONENT_SPE/tests.c @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/TESTS/psa/spm_server/psa_server_test_part1_ifs.h b/TESTS/psa/spm_server/psa_server_test_part1_ifs.h index e24a0d4897..7cb1c0cba5 100644 --- a/TESTS/psa/spm_server/psa_server_test_part1_ifs.h +++ b/TESTS/psa/spm_server/psa_server_test_part1_ifs.h @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/TESTS/psa/spm_server/psa_server_test_part2_ifs.h b/TESTS/psa/spm_server/psa_server_test_part2_ifs.h index e06c8f77a3..6124cbdc96 100644 --- a/TESTS/psa/spm_server/psa_server_test_part2_ifs.h +++ b/TESTS/psa/spm_server/psa_server_test_part2_ifs.h @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/TESTS/psa/spm_server/server_tests.h b/TESTS/psa/spm_server/server_tests.h index 29baa94697..99002eb6b3 100644 --- a/TESTS/psa/spm_server/server_tests.h +++ b/TESTS/psa/spm_server/server_tests.h @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/TESTS/psa/spm_smoke/COMPONENT_NSPE/main.cpp b/TESTS/psa/spm_smoke/COMPONENT_NSPE/main.cpp index dac1a4771a..67e386601e 100644 --- a/TESTS/psa/spm_smoke/COMPONENT_NSPE/main.cpp +++ b/TESTS/psa/spm_smoke/COMPONENT_NSPE/main.cpp @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/TESTS/psa/spm_smoke/COMPONENT_SPE/psa_setup.c b/TESTS/psa/spm_smoke/COMPONENT_SPE/psa_setup.c index b0fa369050..b575209049 100644 --- a/TESTS/psa/spm_smoke/COMPONENT_SPE/psa_setup.c +++ b/TESTS/psa/spm_smoke/COMPONENT_SPE/psa_setup.c @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/TESTS/psa/spm_smoke/COMPONENT_SPE/psa_smoke_test_part1_ifs.h b/TESTS/psa/spm_smoke/COMPONENT_SPE/psa_smoke_test_part1_ifs.h index d0a55a8017..d5d6d636a0 100644 --- a/TESTS/psa/spm_smoke/COMPONENT_SPE/psa_smoke_test_part1_ifs.h +++ b/TESTS/psa/spm_smoke/COMPONENT_SPE/psa_smoke_test_part1_ifs.h @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/TESTS/psa/spm_smoke/COMPONENT_SPE/psa_smoke_test_part1_partition.c b/TESTS/psa/spm_smoke/COMPONENT_SPE/psa_smoke_test_part1_partition.c index ffe39aed44..8716f15562 100644 --- a/TESTS/psa/spm_smoke/COMPONENT_SPE/psa_smoke_test_part1_partition.c +++ b/TESTS/psa/spm_smoke/COMPONENT_SPE/psa_smoke_test_part1_partition.c @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/TESTS/psa/spm_smoke/COMPONENT_SPE/psa_smoke_test_part1_partition.h b/TESTS/psa/spm_smoke/COMPONENT_SPE/psa_smoke_test_part1_partition.h index 9f594bfc83..a5bd726e6b 100644 --- a/TESTS/psa/spm_smoke/COMPONENT_SPE/psa_smoke_test_part1_partition.h +++ b/TESTS/psa/spm_smoke/COMPONENT_SPE/psa_smoke_test_part1_partition.h @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/TESTS/psa/spm_smoke/psa_smoke_test_part1_ifs.h b/TESTS/psa/spm_smoke/psa_smoke_test_part1_ifs.h index d0a55a8017..d5d6d636a0 100644 --- a/TESTS/psa/spm_smoke/psa_smoke_test_part1_ifs.h +++ b/TESTS/psa/spm_smoke/psa_smoke_test_part1_ifs.h @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/services/psa_prot_internal_storage/COMPONENT_PSA_SRV_IPC/psa_prot_internal_storage.c b/components/TARGET_PSA/services/psa_prot_internal_storage/COMPONENT_PSA_SRV_IPC/psa_prot_internal_storage.c index 4706959a81..af2aed4fd3 100644 --- a/components/TARGET_PSA/services/psa_prot_internal_storage/COMPONENT_PSA_SRV_IPC/psa_prot_internal_storage.c +++ b/components/TARGET_PSA/services/psa_prot_internal_storage/COMPONENT_PSA_SRV_IPC/psa_prot_internal_storage.c @@ -1,4 +1,6 @@ /* Copyright (c) 2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/services/psa_prot_internal_storage/COMPONENT_SPE/its_partition.c b/components/TARGET_PSA/services/psa_prot_internal_storage/COMPONENT_SPE/its_partition.c index a788c8d553..ab8799f509 100644 --- a/components/TARGET_PSA/services/psa_prot_internal_storage/COMPONENT_SPE/its_partition.c +++ b/components/TARGET_PSA/services/psa_prot_internal_storage/COMPONENT_SPE/its_partition.c @@ -1,4 +1,6 @@ /* Copyright (c) 2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/services/psa_prot_internal_storage/COMPONENT_SPE/psa_its_partition.c b/components/TARGET_PSA/services/psa_prot_internal_storage/COMPONENT_SPE/psa_its_partition.c index e6ce9a6327..0fd5ffabef 100644 --- a/components/TARGET_PSA/services/psa_prot_internal_storage/COMPONENT_SPE/psa_its_partition.c +++ b/components/TARGET_PSA/services/psa_prot_internal_storage/COMPONENT_SPE/psa_its_partition.c @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/services/psa_prot_internal_storage/COMPONENT_SPE/psa_its_partition.h b/components/TARGET_PSA/services/psa_prot_internal_storage/COMPONENT_SPE/psa_its_partition.h index 8f6a93b8af..a96366eb42 100644 --- a/components/TARGET_PSA/services/psa_prot_internal_storage/COMPONENT_SPE/psa_its_partition.h +++ b/components/TARGET_PSA/services/psa_prot_internal_storage/COMPONENT_SPE/psa_its_partition.h @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/services/psa_prot_internal_storage/psa_its_ifs.h b/components/TARGET_PSA/services/psa_prot_internal_storage/psa_its_ifs.h index 76784696b1..2ca3f19a4f 100644 --- a/components/TARGET_PSA/services/psa_prot_internal_storage/psa_its_ifs.h +++ b/components/TARGET_PSA/services/psa_prot_internal_storage/psa_its_ifs.h @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/COMPONENT_SPE/handles_manager.c b/components/TARGET_PSA/spm/COMPONENT_SPE/handles_manager.c index 96337e4c14..b64cd1ee44 100644 --- a/components/TARGET_PSA/spm/COMPONENT_SPE/handles_manager.c +++ b/components/TARGET_PSA/spm/COMPONENT_SPE/handles_manager.c @@ -1,16 +1,16 @@ -/* - * Copyright (c) 2017, ARM Limited, All Rights Reserved +/* Copyright (c) 2017-2018 ARM Limited + * * SPDX-License-Identifier: Apache-2.0 * - * Licensed under the Apache License, Version 2.0 (the "License"); you may - * not use this file except in compliance with the License. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ diff --git a/components/TARGET_PSA/spm/COMPONENT_SPE/handles_manager.h b/components/TARGET_PSA/spm/COMPONENT_SPE/handles_manager.h index 3de59725f8..2386798c10 100644 --- a/components/TARGET_PSA/spm/COMPONENT_SPE/handles_manager.h +++ b/components/TARGET_PSA/spm/COMPONENT_SPE/handles_manager.h @@ -1,16 +1,16 @@ -/* - * Copyright (c) 2017, ARM Limited, All Rights Reserved +/* Copyright (c) 2017-2018 ARM Limited + * * SPDX-License-Identifier: Apache-2.0 * - * Licensed under the Apache License, Version 2.0 (the "License"); you may - * not use this file except in compliance with the License. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ diff --git a/components/TARGET_PSA/spm/COMPONENT_SPE/psa_setup.c b/components/TARGET_PSA/spm/COMPONENT_SPE/psa_setup.c index c2518475af..5096d91033 100644 --- a/components/TARGET_PSA/spm/COMPONENT_SPE/psa_setup.c +++ b/components/TARGET_PSA/spm/COMPONENT_SPE/psa_setup.c @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/COMPONENT_SPE/spm_client.c b/components/TARGET_PSA/spm/COMPONENT_SPE/spm_client.c index 4c3922188d..17f4a497b5 100644 --- a/components/TARGET_PSA/spm/COMPONENT_SPE/spm_client.c +++ b/components/TARGET_PSA/spm/COMPONENT_SPE/spm_client.c @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/COMPONENT_SPE/spm_common.c b/components/TARGET_PSA/spm/COMPONENT_SPE/spm_common.c index 9529d39763..23f757416d 100644 --- a/components/TARGET_PSA/spm/COMPONENT_SPE/spm_common.c +++ b/components/TARGET_PSA/spm/COMPONENT_SPE/spm_common.c @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/COMPONENT_SPE/spm_init.c b/components/TARGET_PSA/spm/COMPONENT_SPE/spm_init.c index 6125b2bfcb..c873eee329 100644 --- a/components/TARGET_PSA/spm/COMPONENT_SPE/spm_init.c +++ b/components/TARGET_PSA/spm/COMPONENT_SPE/spm_init.c @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/COMPONENT_SPE/spm_internal.h b/components/TARGET_PSA/spm/COMPONENT_SPE/spm_internal.h index 491f9a43ff..4bad58e42d 100644 --- a/components/TARGET_PSA/spm/COMPONENT_SPE/spm_internal.h +++ b/components/TARGET_PSA/spm/COMPONENT_SPE/spm_internal.h @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/COMPONENT_SPE/spm_main.c b/components/TARGET_PSA/spm/COMPONENT_SPE/spm_main.c index d9499142a2..82372865a3 100644 --- a/components/TARGET_PSA/spm/COMPONENT_SPE/spm_main.c +++ b/components/TARGET_PSA/spm/COMPONENT_SPE/spm_main.c @@ -1,3 +1,20 @@ +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #if defined(COMPONENT_SPM_MAILBOX) #include "ipc_queue.h" diff --git a/components/TARGET_PSA/spm/COMPONENT_SPE/spm_panic.h b/components/TARGET_PSA/spm/COMPONENT_SPE/spm_panic.h index 16cce729d5..31c1369a65 100644 --- a/components/TARGET_PSA/spm/COMPONENT_SPE/spm_panic.h +++ b/components/TARGET_PSA/spm/COMPONENT_SPE/spm_panic.h @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/COMPONENT_SPE/spm_server.c b/components/TARGET_PSA/spm/COMPONENT_SPE/spm_server.c index a33f0590f0..b2183f66fc 100644 --- a/components/TARGET_PSA/spm/COMPONENT_SPE/spm_server.c +++ b/components/TARGET_PSA/spm/COMPONENT_SPE/spm_server.c @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/COMPONENT_SPE/spm_server.h b/components/TARGET_PSA/spm/COMPONENT_SPE/spm_server.h index 5d7d468cbb..75b6f13eca 100644 --- a/components/TARGET_PSA/spm/COMPONENT_SPE/spm_server.h +++ b/components/TARGET_PSA/spm/COMPONENT_SPE/spm_server.h @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/COMPONENT_SPM_MAILBOX/COMPONENT_NSPE/spm_client_proxy.c b/components/TARGET_PSA/spm/COMPONENT_SPM_MAILBOX/COMPONENT_NSPE/spm_client_proxy.c index af7e82c0d2..4df3e193a4 100644 --- a/components/TARGET_PSA/spm/COMPONENT_SPM_MAILBOX/COMPONENT_NSPE/spm_client_proxy.c +++ b/components/TARGET_PSA/spm/COMPONENT_SPM_MAILBOX/COMPONENT_NSPE/spm_client_proxy.c @@ -1,4 +1,6 @@ /* Copyright (c) 2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/COMPONENT_SPM_MAILBOX/COMPONENT_NSPE/spm_mailbox_nspe.c b/components/TARGET_PSA/spm/COMPONENT_SPM_MAILBOX/COMPONENT_NSPE/spm_mailbox_nspe.c index fffea52377..e5a8e33efc 100644 --- a/components/TARGET_PSA/spm/COMPONENT_SPM_MAILBOX/COMPONENT_NSPE/spm_mailbox_nspe.c +++ b/components/TARGET_PSA/spm/COMPONENT_SPM_MAILBOX/COMPONENT_NSPE/spm_mailbox_nspe.c @@ -1,3 +1,20 @@ +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #include "cmsis_os2.h" #include "psa_defs.h" #include "mbed_assert.h" diff --git a/components/TARGET_PSA/spm/COMPONENT_SPM_MAILBOX/COMPONENT_SPE/spm_mailbox_spe.c b/components/TARGET_PSA/spm/COMPONENT_SPM_MAILBOX/COMPONENT_SPE/spm_mailbox_spe.c index 0e62f8f720..cccd00281f 100644 --- a/components/TARGET_PSA/spm/COMPONENT_SPM_MAILBOX/COMPONENT_SPE/spm_mailbox_spe.c +++ b/components/TARGET_PSA/spm/COMPONENT_SPM_MAILBOX/COMPONENT_SPE/spm_mailbox_spe.c @@ -1,3 +1,20 @@ +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #include "psa_defs.h" #include "spm_client.h" #include "spm_messages.h" diff --git a/components/TARGET_PSA/spm/COMPONENT_SPM_MAILBOX/ipc_defs.h b/components/TARGET_PSA/spm/COMPONENT_SPM_MAILBOX/ipc_defs.h index b898f62d17..fa6c04eafb 100644 --- a/components/TARGET_PSA/spm/COMPONENT_SPM_MAILBOX/ipc_defs.h +++ b/components/TARGET_PSA/spm/COMPONENT_SPM_MAILBOX/ipc_defs.h @@ -1,4 +1,6 @@ /* Copyright (c) 2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/COMPONENT_SPM_MAILBOX/ipc_queue.c b/components/TARGET_PSA/spm/COMPONENT_SPM_MAILBOX/ipc_queue.c index d718905d73..4b2cacf4ee 100644 --- a/components/TARGET_PSA/spm/COMPONENT_SPM_MAILBOX/ipc_queue.c +++ b/components/TARGET_PSA/spm/COMPONENT_SPM_MAILBOX/ipc_queue.c @@ -1,4 +1,6 @@ /* Copyright (c) 2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/COMPONENT_SPM_MAILBOX/ipc_queue.h b/components/TARGET_PSA/spm/COMPONENT_SPM_MAILBOX/ipc_queue.h index 7d1fa2d96a..fd9130b4ea 100644 --- a/components/TARGET_PSA/spm/COMPONENT_SPM_MAILBOX/ipc_queue.h +++ b/components/TARGET_PSA/spm/COMPONENT_SPM_MAILBOX/ipc_queue.h @@ -1,4 +1,6 @@ /* Copyright (c) 2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_client_tests/NEG_CLIENT_PART1/psa_neg_client_part1_ifs.h b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_client_tests/NEG_CLIENT_PART1/psa_neg_client_part1_ifs.h index 303c9acbbe..1465404494 100644 --- a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_client_tests/NEG_CLIENT_PART1/psa_neg_client_part1_ifs.h +++ b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_client_tests/NEG_CLIENT_PART1/psa_neg_client_part1_ifs.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_client_tests/NEG_CLIENT_PART1/psa_neg_client_part1_partition.c b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_client_tests/NEG_CLIENT_PART1/psa_neg_client_part1_partition.c index eb09b44d77..c52b3b8be9 100644 --- a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_client_tests/NEG_CLIENT_PART1/psa_neg_client_part1_partition.c +++ b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_client_tests/NEG_CLIENT_PART1/psa_neg_client_part1_partition.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_client_tests/NEG_CLIENT_PART1/psa_neg_client_part1_partition.h b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_client_tests/NEG_CLIENT_PART1/psa_neg_client_part1_partition.h index 9a02e5c741..2a930c823e 100644 --- a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_client_tests/NEG_CLIENT_PART1/psa_neg_client_part1_partition.h +++ b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_client_tests/NEG_CLIENT_PART1/psa_neg_client_part1_partition.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_client_tests/neg_ipc_tests.cpp b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_client_tests/neg_ipc_tests.cpp index 1bc967bdbd..2d110b53e6 100644 --- a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_client_tests/neg_ipc_tests.cpp +++ b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_client_tests/neg_ipc_tests.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_client_tests/neg_tests.h b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_client_tests/neg_tests.h index d2b7aff915..114e352dc5 100644 --- a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_client_tests/neg_tests.h +++ b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_client_tests/neg_tests.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_client_tests/psa_setup.c b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_client_tests/psa_setup.c index a9ad570981..ac2648d381 100644 --- a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_client_tests/psa_setup.c +++ b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_client_tests/psa_setup.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_client_tests/server1.c b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_client_tests/server1.c index 2c94f605b4..e22522702f 100644 --- a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_client_tests/server1.c +++ b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_client_tests/server1.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_client_tests/spm_reboot.c b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_client_tests/spm_reboot.c index 35865b94de..02e9cfb995 100644 --- a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_client_tests/spm_reboot.c +++ b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_client_tests/spm_reboot.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/NEG_DUAL_PART1/psa_neg_dual_part1_ifs.h b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/NEG_DUAL_PART1/psa_neg_dual_part1_ifs.h index f32df2b32e..84c4e87521 100644 --- a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/NEG_DUAL_PART1/psa_neg_dual_part1_ifs.h +++ b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/NEG_DUAL_PART1/psa_neg_dual_part1_ifs.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/NEG_DUAL_PART1/psa_neg_dual_part1_partition.c b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/NEG_DUAL_PART1/psa_neg_dual_part1_partition.c index d1a3da2c9d..722b8aca29 100644 --- a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/NEG_DUAL_PART1/psa_neg_dual_part1_partition.c +++ b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/NEG_DUAL_PART1/psa_neg_dual_part1_partition.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/NEG_DUAL_PART1/psa_neg_dual_part1_partition.h b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/NEG_DUAL_PART1/psa_neg_dual_part1_partition.h index 40b1167e56..7fbcc462a4 100644 --- a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/NEG_DUAL_PART1/psa_neg_dual_part1_partition.h +++ b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/NEG_DUAL_PART1/psa_neg_dual_part1_partition.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/NEG_DUAL_PART2/psa_neg_dual_part2_ifs.h b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/NEG_DUAL_PART2/psa_neg_dual_part2_ifs.h index ffe0b9b6d5..be733ab870 100644 --- a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/NEG_DUAL_PART2/psa_neg_dual_part2_ifs.h +++ b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/NEG_DUAL_PART2/psa_neg_dual_part2_ifs.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/NEG_DUAL_PART2/psa_neg_dual_part2_partition.c b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/NEG_DUAL_PART2/psa_neg_dual_part2_partition.c index 1f54d3262b..0b5d554ad8 100644 --- a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/NEG_DUAL_PART2/psa_neg_dual_part2_partition.c +++ b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/NEG_DUAL_PART2/psa_neg_dual_part2_partition.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/NEG_DUAL_PART2/psa_neg_dual_part2_partition.h b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/NEG_DUAL_PART2/psa_neg_dual_part2_partition.h index 6a2d9fc4e2..2db584cd88 100644 --- a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/NEG_DUAL_PART2/psa_neg_dual_part2_partition.h +++ b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/NEG_DUAL_PART2/psa_neg_dual_part2_partition.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/neg_dual_tests.cpp b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/neg_dual_tests.cpp index 7c2a891202..454f6efce1 100644 --- a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/neg_dual_tests.cpp +++ b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/neg_dual_tests.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/neg_tests.h b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/neg_tests.h index d2b7aff915..114e352dc5 100644 --- a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/neg_tests.h +++ b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/neg_tests.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/psa_setup.c b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/psa_setup.c index 5c79a03e0e..2e17b70910 100644 --- a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/psa_setup.c +++ b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/psa_setup.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/server1.c b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/server1.c index 181cfb4eee..4124b6eaa6 100644 --- a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/server1.c +++ b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/server1.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/server2.c b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/server2.c index b9b57512d2..4c3c5011e6 100644 --- a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/server2.c +++ b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/server2.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/spm_reboot.c b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/spm_reboot.c index 35865b94de..02e9cfb995 100644 --- a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/spm_reboot.c +++ b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_dual_partition/spm_reboot.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/NEG_SERVER_PART1/psa_neg_server_part1_ifs.h b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/NEG_SERVER_PART1/psa_neg_server_part1_ifs.h index d549014c54..f6aaac482f 100644 --- a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/NEG_SERVER_PART1/psa_neg_server_part1_ifs.h +++ b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/NEG_SERVER_PART1/psa_neg_server_part1_ifs.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/NEG_SERVER_PART1/psa_neg_server_part1_partition.c b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/NEG_SERVER_PART1/psa_neg_server_part1_partition.c index 7518d705de..52c688ea61 100644 --- a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/NEG_SERVER_PART1/psa_neg_server_part1_partition.c +++ b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/NEG_SERVER_PART1/psa_neg_server_part1_partition.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/NEG_SERVER_PART1/psa_neg_server_part1_partition.h b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/NEG_SERVER_PART1/psa_neg_server_part1_partition.h index d417cdc9d4..0f0bcd4dc1 100644 --- a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/NEG_SERVER_PART1/psa_neg_server_part1_partition.h +++ b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/NEG_SERVER_PART1/psa_neg_server_part1_partition.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/NEG_SERVER_PART2/psa_neg_server_part2_ifs.h b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/NEG_SERVER_PART2/psa_neg_server_part2_ifs.h index 0c2de85c28..da41961ea1 100644 --- a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/NEG_SERVER_PART2/psa_neg_server_part2_ifs.h +++ b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/NEG_SERVER_PART2/psa_neg_server_part2_ifs.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/NEG_SERVER_PART2/psa_neg_server_part2_partition.c b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/NEG_SERVER_PART2/psa_neg_server_part2_partition.c index 8a1a5eedbd..ca1a5dff75 100644 --- a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/NEG_SERVER_PART2/psa_neg_server_part2_partition.c +++ b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/NEG_SERVER_PART2/psa_neg_server_part2_partition.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/NEG_SERVER_PART2/psa_neg_server_part2_partition.h b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/NEG_SERVER_PART2/psa_neg_server_part2_partition.h index a06c3d0fff..bd0e7f6169 100644 --- a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/NEG_SERVER_PART2/psa_neg_server_part2_partition.h +++ b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/NEG_SERVER_PART2/psa_neg_server_part2_partition.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/neg_ipc_tests.cpp b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/neg_ipc_tests.cpp index e75d609cc8..1b8f7ff4a2 100644 --- a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/neg_ipc_tests.cpp +++ b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/neg_ipc_tests.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/neg_tests.h b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/neg_tests.h index d2b7aff915..114e352dc5 100644 --- a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/neg_tests.h +++ b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/neg_tests.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/psa_setup.c b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/psa_setup.c index 4c339496a6..ab065ac05e 100644 --- a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/psa_setup.c +++ b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/psa_setup.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/server1.c b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/server1.c index 91436ce684..200acb30ba 100644 --- a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/server1.c +++ b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/server1.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/server2.c b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/server2.c index d12511807a..f4dfa7660a 100644 --- a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/server2.c +++ b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/server2.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/spm_reboot.c b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/spm_reboot.c index 35865b94de..02e9cfb995 100644 --- a/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/spm_reboot.c +++ b/components/TARGET_PSA/spm/TARGET_IGNORE/neg_server_tests/spm_reboot.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/psa_defs.h b/components/TARGET_PSA/spm/psa_defs.h index 08a4d8a836..a49ee336e7 100644 --- a/components/TARGET_PSA/spm/psa_defs.h +++ b/components/TARGET_PSA/spm/psa_defs.h @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/spm_client.h b/components/TARGET_PSA/spm/spm_client.h index 387f9dd6c3..eda1a7deac 100644 --- a/components/TARGET_PSA/spm/spm_client.h +++ b/components/TARGET_PSA/spm/spm_client.h @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/spm_init.h b/components/TARGET_PSA/spm/spm_init.h index c596aa2f34..e6c5073afd 100644 --- a/components/TARGET_PSA/spm/spm_init.h +++ b/components/TARGET_PSA/spm/spm_init.h @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/components/TARGET_PSA/spm/spm_messages.h b/components/TARGET_PSA/spm/spm_messages.h index 6d693e008d..96b5743032 100644 --- a/components/TARGET_PSA/spm/spm_messages.h +++ b/components/TARGET_PSA/spm/spm_messages.h @@ -1,16 +1,16 @@ -/* - * Copyright (c) 2017, ARM Limited, All Rights Reserved +/* Copyright (c) 2017-2018 ARM Limited + * * SPDX-License-Identifier: Apache-2.0 * - * Licensed under the Apache License, Version 2.0 (the "License"); you may - * not use this file except in compliance with the License. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ diff --git a/tools/spm/__init__.py b/tools/spm/__init__.py index 2d6915645f..5305b8db92 100644 --- a/tools/spm/__init__.py +++ b/tools/spm/__init__.py @@ -1,3 +1,19 @@ +# Copyright (c) 2017-2018 ARM Limited +# +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + from .generate_partition_code import \ generate_partitions_sources, generate_psa_setup diff --git a/tools/spm/generate_partition_code.py b/tools/spm/generate_partition_code.py index f01c5804b5..2d099e97d1 100644 --- a/tools/spm/generate_partition_code.py +++ b/tools/spm/generate_partition_code.py @@ -1,4 +1,20 @@ #!/usr/bin/python +# Copyright (c) 2017-2018 ARM Limited +# +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import fnmatch import itertools import json diff --git a/tools/spm/templates/COMPONENT_SPE/psa_NAME_partition.c.tpl b/tools/spm/templates/COMPONENT_SPE/psa_NAME_partition.c.tpl index 1807087a4b..04f201d754 100644 --- a/tools/spm/templates/COMPONENT_SPE/psa_NAME_partition.c.tpl +++ b/tools/spm/templates/COMPONENT_SPE/psa_NAME_partition.c.tpl @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tools/spm/templates/COMPONENT_SPE/psa_NAME_partition.h.tpl b/tools/spm/templates/COMPONENT_SPE/psa_NAME_partition.h.tpl index 9ece31aef7..675903ff75 100644 --- a/tools/spm/templates/COMPONENT_SPE/psa_NAME_partition.h.tpl +++ b/tools/spm/templates/COMPONENT_SPE/psa_NAME_partition.h.tpl @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tools/spm/templates/COMPONENT_SPE/psa_setup.c.tpl b/tools/spm/templates/COMPONENT_SPE/psa_setup.c.tpl index 115e15bcee..c3cf154642 100644 --- a/tools/spm/templates/COMPONENT_SPE/psa_setup.c.tpl +++ b/tools/spm/templates/COMPONENT_SPE/psa_setup.c.tpl @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tools/spm/templates/psa_NAME_ifs.h.tpl b/tools/spm/templates/psa_NAME_ifs.h.tpl index 149dc8fe9a..024b9fc81c 100644 --- a/tools/spm/templates/psa_NAME_ifs.h.tpl +++ b/tools/spm/templates/psa_NAME_ifs.h.tpl @@ -1,4 +1,6 @@ -/* Copyright (c) 2017 ARM Limited +/* Copyright (c) 2017-2018 ARM Limited + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.