From a659210c47365fb8032d2d2a6a26201a7a8ed91c Mon Sep 17 00:00:00 2001 From: Arnaud Pouliquen Date: Fri, 20 Nov 2020 14:04:07 +0100 Subject: [PATCH] apps: add missing license information Add BSD license when missing. Copyright has also been added for files when possible. Signed-off-by: Arnaud Pouliquen --- apps/examples/echo/rpmsg-echo.c | 4 ++++ apps/examples/echo/rpmsg-echo.h | 4 ++++ apps/examples/echo/rpmsg-ping.c | 4 ++++ apps/examples/matrix_multiply/matrix_multiply.c | 4 ++++ apps/examples/matrix_multiply/matrix_multiply.h | 4 ++++ apps/examples/matrix_multiply/matrix_multiplyd.c | 4 ++++ apps/examples/rpc_demo/rpc_demo.c | 4 ++++ apps/examples/rpc_demo/rpc_demod.c | 4 ++++ apps/examples/rpc_demo/rpmsg-rpc-demo.h | 4 ++++ apps/examples/rpmsg_sample_echo/rpmsg-sample-echo.c | 4 ++++ apps/examples/rpmsg_sample_echo/rpmsg-sample-ping.c | 4 ++++ apps/machine/zynq7/platform_info.h | 7 +++++++ apps/machine/zynqmp_r5/platform_info.h | 8 ++++++++ apps/tests/msg/rpmsg-flood-ping.c | 4 ++++ apps/tests/msg/rpmsg-ping.c | 4 ++++ apps/tests/msg/rpmsg-ping.h | 4 ++++ apps/tests/msg/rpmsg-update.c | 4 ++++ 17 files changed, 75 insertions(+) diff --git a/apps/examples/echo/rpmsg-echo.c b/apps/examples/echo/rpmsg-echo.c index 48fca5b..4f01919 100644 --- a/apps/examples/echo/rpmsg-echo.c +++ b/apps/examples/echo/rpmsg-echo.c @@ -1,3 +1,7 @@ +/* + * SPDX-License-Identifier: BSD-3-Clause + */ + /* This is a sample demonstration application that showcases usage of rpmsg This application is meant to run on the remote CPU running baremetal code. This application echoes back data that was sent to it by the master core. */ diff --git a/apps/examples/echo/rpmsg-echo.h b/apps/examples/echo/rpmsg-echo.h index d15eb56..d26c5da 100644 --- a/apps/examples/echo/rpmsg-echo.h +++ b/apps/examples/echo/rpmsg-echo.h @@ -1,3 +1,7 @@ +/* + * SPDX-License-Identifier: BSD-3-Clause + */ + #ifndef RPMSG_ECHO_H #define RPMSG_ECHO_H diff --git a/apps/examples/echo/rpmsg-ping.c b/apps/examples/echo/rpmsg-ping.c index 072809a..6b6afb5 100644 --- a/apps/examples/echo/rpmsg-ping.c +++ b/apps/examples/echo/rpmsg-ping.c @@ -1,3 +1,7 @@ +/* + * SPDX-License-Identifier: BSD-3-Clause + */ + /* This is a sample demonstration application that showcases usage of rpmsg This application is meant to run on the remote CPU running baremetal code. This application echoes back data that was sent to it by the master core. */ diff --git a/apps/examples/matrix_multiply/matrix_multiply.c b/apps/examples/matrix_multiply/matrix_multiply.c index eb68152..884efaa 100644 --- a/apps/examples/matrix_multiply/matrix_multiply.c +++ b/apps/examples/matrix_multiply/matrix_multiply.c @@ -1,3 +1,7 @@ +/* + * SPDX-License-Identifier: BSD-3-Clause + */ + /* This is a sample demonstration application that showcases usage of remoteproc and rpmsg APIs on the remote core. This application is meant to run on the remote CPU running baremetal code. This applicationr receives two matrices from the master, diff --git a/apps/examples/matrix_multiply/matrix_multiply.h b/apps/examples/matrix_multiply/matrix_multiply.h index 3257558..79bd757 100644 --- a/apps/examples/matrix_multiply/matrix_multiply.h +++ b/apps/examples/matrix_multiply/matrix_multiply.h @@ -1,3 +1,7 @@ +/* + * SPDX-License-Identifier: BSD-3-Clause + */ + #ifndef MATRIX_MULTIPLY_H #define MATRIX_MULTIPLY_H diff --git a/apps/examples/matrix_multiply/matrix_multiplyd.c b/apps/examples/matrix_multiply/matrix_multiplyd.c index 02a680a..74bf84d 100644 --- a/apps/examples/matrix_multiply/matrix_multiplyd.c +++ b/apps/examples/matrix_multiply/matrix_multiplyd.c @@ -1,3 +1,7 @@ +/* + * SPDX-License-Identifier: BSD-3-Clause + */ + /* This is a sample demonstration application that showcases usage of remoteproc and rpmsg APIs on the remote core. This application is meant to run on the remote CPU running baremetal code. This applicationr receives two matrices from the master, diff --git a/apps/examples/rpc_demo/rpc_demo.c b/apps/examples/rpc_demo/rpc_demo.c index 56b27af..d0c785f 100644 --- a/apps/examples/rpc_demo/rpc_demo.c +++ b/apps/examples/rpc_demo/rpc_demo.c @@ -1,3 +1,7 @@ +/* + * SPDX-License-Identifier: BSD-3-Clause + */ + /* This is a sample demonstration application that showcases usage of proxy from the remote core. This application is meant to run on the remote CPU running baremetal. This applicationr can print to to master console and perform file I/O using proxy mechanism. */ diff --git a/apps/examples/rpc_demo/rpc_demod.c b/apps/examples/rpc_demo/rpc_demod.c index 8f15e28..0dc8143 100644 --- a/apps/examples/rpc_demo/rpc_demod.c +++ b/apps/examples/rpc_demo/rpc_demod.c @@ -1,3 +1,7 @@ +/* + * SPDX-License-Identifier: BSD-3-Clause + */ + /* This is a sample demonstration application that showcases usage of proxy from the remote core. This application is meant to run on the remote CPU running baremetal. This applicationr can print to to master console and perform file I/O using proxy mechanism. */ diff --git a/apps/examples/rpc_demo/rpmsg-rpc-demo.h b/apps/examples/rpc_demo/rpmsg-rpc-demo.h index 8a26272..77797ee 100644 --- a/apps/examples/rpc_demo/rpmsg-rpc-demo.h +++ b/apps/examples/rpc_demo/rpmsg-rpc-demo.h @@ -1,3 +1,7 @@ +/* + * SPDX-License-Identifier: BSD-3-Clause + */ + #ifndef RPMSG_RPC_DEMO_H #define RPMSG_RPC_DEMO_H diff --git a/apps/examples/rpmsg_sample_echo/rpmsg-sample-echo.c b/apps/examples/rpmsg_sample_echo/rpmsg-sample-echo.c index 5e7787e..1936f83 100644 --- a/apps/examples/rpmsg_sample_echo/rpmsg-sample-echo.c +++ b/apps/examples/rpmsg_sample_echo/rpmsg-sample-echo.c @@ -1,3 +1,7 @@ +/* + * SPDX-License-Identifier: BSD-3-Clause + */ + /* * This is a sample demonstration application that showcases usage of rpmsg * This application is meant to run on the remote CPU running baremetal code. diff --git a/apps/examples/rpmsg_sample_echo/rpmsg-sample-ping.c b/apps/examples/rpmsg_sample_echo/rpmsg-sample-ping.c index 0fba1ad..08d22f9 100644 --- a/apps/examples/rpmsg_sample_echo/rpmsg-sample-ping.c +++ b/apps/examples/rpmsg_sample_echo/rpmsg-sample-ping.c @@ -1,3 +1,7 @@ +/* + * SPDX-License-Identifier: BSD-3-Clause + */ + /* * This is a sample demonstration application that showcases usage of rpmsg * This application is meant to run on the remote CPU running baremetal code. diff --git a/apps/machine/zynq7/platform_info.h b/apps/machine/zynq7/platform_info.h index 39dcc8e..bc79bc5 100644 --- a/apps/machine/zynq7/platform_info.h +++ b/apps/machine/zynq7/platform_info.h @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2014, Mentor Graphics Corporation. All rights reserved. + * Copyright (c) 2017 - 2018 Xilinx, Inc. All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + #ifndef PLATFORM_INFO_H_ #define PLATFORM_INFO_H_ diff --git a/apps/machine/zynqmp_r5/platform_info.h b/apps/machine/zynqmp_r5/platform_info.h index 25e6fbc..5bfa12c 100644 --- a/apps/machine/zynqmp_r5/platform_info.h +++ b/apps/machine/zynqmp_r5/platform_info.h @@ -1,3 +1,11 @@ +/* + * Copyright (c) 2014, Mentor Graphics Corporation + * All rights reserved. + * Copyright (c) 2017 Xilinx, Inc. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + #ifndef PLATFORM_INFO_H_ #define PLATFORM_INFO_H_ diff --git a/apps/tests/msg/rpmsg-flood-ping.c b/apps/tests/msg/rpmsg-flood-ping.c index 62681c8..aed01a6 100644 --- a/apps/tests/msg/rpmsg-flood-ping.c +++ b/apps/tests/msg/rpmsg-flood-ping.c @@ -1,3 +1,7 @@ +/* + * SPDX-License-Identifier: BSD-3-Clause + */ + /* This is a test application to send rpmsgs in flood mode. * That is it will keep sending messages until there is no available * buffers. diff --git a/apps/tests/msg/rpmsg-ping.c b/apps/tests/msg/rpmsg-ping.c index 97a8bf3..147bec4 100644 --- a/apps/tests/msg/rpmsg-ping.c +++ b/apps/tests/msg/rpmsg-ping.c @@ -1,3 +1,7 @@ +/* + * SPDX-License-Identifier: BSD-3-Clause + */ + /* This is a sample demonstration application that showcases usage of rpmsg This application is meant to run on the remote CPU running baremetal code. This application echoes back data that was sent to it by the master core. */ diff --git a/apps/tests/msg/rpmsg-ping.h b/apps/tests/msg/rpmsg-ping.h index b8a86dd..e21f33b 100644 --- a/apps/tests/msg/rpmsg-ping.h +++ b/apps/tests/msg/rpmsg-ping.h @@ -1,3 +1,7 @@ +/* + * SPDX-License-Identifier: BSD-3-Clause + */ + #ifndef RPMSG_PING_H #define RPMSG_PING_H diff --git a/apps/tests/msg/rpmsg-update.c b/apps/tests/msg/rpmsg-update.c index 7cf8dc6..882f4dc 100644 --- a/apps/tests/msg/rpmsg-update.c +++ b/apps/tests/msg/rpmsg-update.c @@ -1,3 +1,7 @@ +/* + * SPDX-License-Identifier: BSD-3-Clause + */ + /* This is a sample demonstration application that showcases usage of rpmsg This application is meant to run on the remote CPU running baremetal code. This application echoes back data that was sent to it by the master core. */