summaryrefslogtreecommitdiff
path: root/packages/dsplink/files/unloadmodules-ti-dmai-apps.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packages/dsplink/files/unloadmodules-ti-dmai-apps.sh')
-rwxr-xr-xpackages/dsplink/files/unloadmodules-ti-dmai-apps.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/dsplink/files/unloadmodules-ti-dmai-apps.sh b/packages/dsplink/files/unloadmodules-ti-dmai-apps.sh
new file mode 100755
index 0000000000..2465c43fe9
--- /dev/null
+++ b/packages/dsplink/files/unloadmodules-ti-dmai-apps.sh
@@ -0,0 +1,12 @@
+# Unload modules - DMAI - OMAP3530
+
+# remove lpm module
+rmmod lpm_omap3530
+
+# remove DSP/BIOS Link driver
+rmmod dsplinkk
+rm -f /dev/dsplink
+
+# remove cmem module
+rmmod cmemk
+