CRUX-ARM :
Home
Home
::
Documentation
::
Download
::
Development
::
Community
::
Ports
::
Packages
::
Bugs
::
Links
::
About
::
Donors
development
/
ports
/
cubox-arm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80032c0
)
Adding marvell-libvmeta clock setting init script
author
Ryan Mullen
<rmull@rmull.com>
Sun, 13 Jan 2013 04:32:09 +0000
(23:32 -0500)
committer
Ryan Mullen
<rmull@rmull.com>
Sun, 13 Jan 2013 04:32:09 +0000
(23:32 -0500)
marvell-libvmeta/vmeta
[new file with mode: 0755]
patch
|
blob
diff --git a/marvell-libvmeta/vmeta
b/marvell-libvmeta/vmeta
new file mode 100755
(executable)
index 0000000..
9ff892b
--- /dev/null
+++ b/
marvell-libvmeta/vmeta
@@ -0,0
+1,23
@@
+#!/bin/sh
+#
+# /etc/rc.d/vmeta: start/stop vmeta high speed clock
+#
+
+case $1 in
+start)
+ echo 667000000 > /sys/devices/platform/dove_clocks_sysfs.0/vmeta
+ ;;
+stop)
+ echo 500000000 > /sys/devices/platform/dove_clocks_sysfs.0/vmeta
+ ;;
+restart)
+ $0 stop
+ sleep 1
+ $0 start
+ ;;
+*)
+ echo "usage: $0 [start|stop|restart]"
+ ;;
+esac
+
+# End of file