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:
parent
bef3337065
commit
1d3542c245
|
@ -760,6 +760,15 @@ case "$target" in
|
||||||
;;
|
;;
|
||||||
esac
|
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
|
case "$target" in
|
||||||
"msm7627_ffa" | "msm7627_surf" | "msm7627_6x")
|
"msm7627_ffa" | "msm7627_surf" | "msm7627_6x")
|
||||||
echo 25000 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate
|
echo 25000 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate
|
||||||
|
|
Loading…
Reference in New Issue