hil_proc: introduce release()
authorWendy Liang <jliang@xilinx.com>
Wed, 6 Jul 2016 00:08:47 +0000 (17:08 -0700)
committerWendy Liang <jliang@xilinx.com>
Thu, 13 Oct 2016 05:01:44 +0000 (22:01 -0700)
Introduce remoteproc specific release() to release
resource of a remote processor.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
lib/include/openamp/hil.h

index 2d2901ed34702065b597462ff5a76c350a611843..22409cb3262d668aa5b40b10c32861471f70cf70 100644 (file)
@@ -472,6 +472,15 @@ struct hil_platform_ops {
                                  struct hil_proc *proc,
                                  int cpu_id);
 
+    /**
+     * release
+     *
+     *  This function is to release remote processor resource
+     *
+     * @param[in] proc - pointer to the remote processor
+     *
+     */
+       void (*release) (struct hil_proc *proc);
 };
 
 /* Utility macros for register read/write */