apps: pass RPMsg role to remoteproc init API
authorWendy Liang <jliang@xilinx.com>
Tue, 12 Jul 2016 20:29:17 +0000 (13:29 -0700)
committerWendy Liang <jliang@xilinx.com>
Thu, 13 Oct 2016 05:01:45 +0000 (22:01 -0700)
As it is required to pass RPMsg role argument to
remoteproc_resource_init(), we need to give this
argument in the caller function in the demo apps.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
apps/echo_test/echo_testd.c
apps/func_test_suite/func_test_suite.c
apps/matrix_multiply/matrix_multiplyd.c
apps/rpc_demo/rpc_demo.c

index b371f44ebc79195010887170d1b555279bb22301..8ee8eb1e03084c6b72ee8bbdd4ba7fbe7cc64250 100644 (file)
@@ -50,7 +50,7 @@ int main()
            remoteproc_resource_init(&rsc_info, &proc_table[0],
                                     rpmsg_channel_created,
                                     rpmsg_channel_deleted, rpmsg_read_cb,
-                                    &proc);
+                                    &proc, 0);
 
        if (status < 0) {
                return -1;
index 1da6213096a8412165d637bdd92f3cbf60d4aecc..30e30dbe66393c75622cbb553342135f0be2ff0d 100644 (file)
@@ -62,7 +62,7 @@ int main()
        remoteproc_resource_init(&rsc_info, &proc_table[0],
                                 rpmsg_channel_created,
                                 rpmsg_channel_deleted, rpmsg_read_default_cb,
-                                &proc);
+                                &proc, 0);
 
        for (;;) {
 
index 471e381541ad0f99b0b96347106ee9208a74cc1c..cb7662c1c43911ff58cde9525ac0229008672cfb 100644 (file)
@@ -65,7 +65,7 @@ int main()
            remoteproc_resource_init(&rsc_info, &proc_table[0],
                                     rpmsg_channel_created,
                                     rpmsg_channel_deleted, rpmsg_read_cb,
-                                    &proc);
+                                    &proc, 0);
        if (status < 0) {
                return -1;
        }
index 0ba32a4ec6710b36490c60d85429c0a665d8fb89..afc44b5631efeae75b47267081a84f3373e1036d 100755 (executable)
@@ -70,7 +70,7 @@ int main()
        status = remoteproc_resource_init(&rsc_info, &proc_table[0],
                                          rpmsg_channel_created,
                                          rpmsg_channel_deleted, rpmsg_read_cb,
-                                         &proc);
+                                         &proc, 0);
        if (status < 0) {
                return -1;
        }