init: qcom: post_boot: Enable low power modes for 8909

Enable low power modes and bringup all the cores online for
msm8909 target.

Change-Id: I8805bb547b523cc0bcd1885f77bca473d95215ce
This commit is contained in:
Anil kumar mamidala 2014-10-16 09:30:47 +05:30 committed by Gerrit - the friendly Code Review server
parent bef3337065
commit 1d3542c245
1 changed files with 9 additions and 0 deletions

View File

@ -760,6 +760,15 @@ case "$target" in
;;
esac
case "$target" in
"msm8909")
echo 1 > /sys/devices/system/cpu/cpu1/online
echo 1 > /sys/devices/system/cpu/cpu2/online
echo 1 > /sys/devices/system/cpu/cpu3/online
echo 0 > /sys/module/lpm_levels/parameters/sleep_disabled
;;
esac
case "$target" in
"msm7627_ffa" | "msm7627_surf" | "msm7627_6x")
echo 25000 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate