From: Ryan Mullen Date: Sun, 13 Jan 2013 04:32:09 +0000 (-0500) Subject: Adding marvell-libvmeta clock setting init script X-Git-Url: http://gitweb/?a=commitdiff_plain;h=1350e89256c79e8f2af37d63401d4d071bdbbbf9;p=ports%2Fcubox-arm.git Adding marvell-libvmeta clock setting init script --- diff --git a/marvell-libvmeta/vmeta b/marvell-libvmeta/vmeta new file mode 100755 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