summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0c5b8fb)
raw | patch | inline | side by side (parent: 0c5b8fb)
author | Wendy Liang <jliang@xilinx.com> | |
Thu, 28 Jul 2016 23:16:32 +0000 (16:16 -0700) | ||
committer | Wendy Liang <jliang@xilinx.com> | |
Thu, 13 Oct 2016 05:01:45 +0000 (22:01 -0700) |
Remove the metal_finish() and cache invalidation/disabling
from remoteproc lib as these are related to system cleanup.
They should be called from application instead.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
from remoteproc lib as these are related to system cleanup.
They should be called from application instead.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
lib/remoteproc/remoteproc.c | patch | blob | history | |
lib/rpmsg/rpmsg.c | patch | blob | history |
index c6103c81f8949ae4c936afa9a6de524ded05b17d..c779225939e6cfdc70244bd97bd68290367212a1 100644 (file)
env_free_memory(rproc);
}
- metal_finish();
-
- /*
- * Flush and Invalidate the caches - When the application is built with
- * Xilinx Standalone BSP, caches are invalidated as part of boot process.
- * Even if the master boots firmware multiple times without hard reset on
- * same core, caches are flushed and invalidated at the end of
- * remoteproc_resource_deinit for this run and caches would be again
- * invalidated before starting the main thread of the application on next
- * run to avoid any cache inconsistencies.
- */
- env_flush_invalidate_all_caches();
-
-
return RPROC_SUCCESS;
}
env_free_memory(rproc);
}
- metal_finish();
-
return RPROC_SUCCESS;
}
diff --git a/lib/rpmsg/rpmsg.c b/lib/rpmsg/rpmsg.c
index a9f268b949b274dddb7ede4eda80099207db3476..09730ccdc97fff14906dba04c44ad815c324e749 100644 (file)
--- a/lib/rpmsg/rpmsg.c
+++ b/lib/rpmsg/rpmsg.c
{
if (rdev) {
rpmsg_rdev_deinit(rdev);
- metal_finish();
}
}