aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Medhurst <tixy@linaro.org>2012-07-18 20:17:20 +0100
committerJon Medhurst <tixy@linaro.org>2012-07-18 20:19:52 +0100
commit0b74fe36c3038684a6513bef5e473fd2c4a17b33 (patch)
tree51966d1e80944f62dcdfe67bcb0b9f23260f790f
parentf96be1d7cfe620c2bb5b99392c43a9cbe00154e2 (diff)
downloadvexpress-0b74fe36c3038684a6513bef5e473fd2c4a17b33.tar.gz
vexpress: init: Remove cpufeq setup left over from Snowball
init.arm-versatileexpress.rc was initially copied from Snowball, (which was probably copied from Panda), and contains cpufreq setup not applicable for vexpress. This didn't matter because Vexpress didn't support cpufreq, however the new TC2 CoreTile does so we need to remove this cruft. Change-Id: I1d7fdf3c1ec28a309ea3d984ae8c8e4d43068ab6 Signed-off-by: Jon Medhurst <tixy@linaro.org>
-rw-r--r--init.arm-versatileexpress.rc17
1 files changed, 0 insertions, 17 deletions
diff --git a/init.arm-versatileexpress.rc b/init.arm-versatileexpress.rc
index 5a197f0..9f6c186 100644
--- a/init.arm-versatileexpress.rc
+++ b/init.arm-versatileexpress.rc
@@ -11,19 +11,6 @@ on boot
mkdir /data/misc/dhcp 0770 dhcp dhcp
chmod 0770 /data/misc/dhcp
- # switch CPUfreq from performance to hotplug
- #write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor hotplug
- #write /sys/devices/system/cpu/cpufreq/hotplug/down_threshold 30
-
- #Give system ownership and permission to boost clock for specified timeout
- #Note boost_timeout cannot be changed from application because of dynamic sysfs creation. It will have default value of 3 sec.
- chown system system /sys/devices/system/cpu/cpu0/cpufreq/boost_cpufreq
- chmod 0664 /sys/devices/system/cpu/cpu0/cpufreq/boost_cpufreq
-
- # Boost the CPU for 60 sec for boot optimization
- #write /sys/devices/system/cpu/cpufreq/hotplug/boost_timeout 60000000
- #write /sys/devices/system/cpu/cpu0/cpufreq/boost_cpufreq 1
-
# change permissions for alsa nodes
chmod 0777 /dev/snd/pcmC0D0c
chmod 0777 /dev/snd/pcmC0D0p
@@ -37,10 +24,6 @@ on boot
#change permissions for alsa nodes for HDMI
chmod 777 /dev/snd/pcmC0D7p
- # Revert the boost_timeout to the default value of 3 sec. Note this won't affect the prev boost
- # request for boot time reduction
- # write /sys/devices/system/cpu/cpufreq/hotplug/boost_timeout 3000000
-
chown system system /sys/class/graphics/fb0/overlays
chown system system /sys/class/graphics/fb0/fit_to_screen
chown system system /sys/class/graphics/fb1/overlays