devfreq: reset ddr freq after boot
to reduce boot time, boost ddr freq when booting and reset it after booting. Bug: 230586904 Test: pass Signed-off-by: chungkai <chungkai@google.com> Change-Id: I25b30d22a4803aeb6e27b914e07f6eb8458e0a50
This commit is contained in:
parent
c81618b480
commit
f917c52947
1 changed files with 4 additions and 0 deletions
|
@ -739,6 +739,10 @@ on property:sys.boot_completed=1
|
||||||
# Enable UFS powersaving
|
# Enable UFS powersaving
|
||||||
write /dev/sys/block/bootdevice/clkgate_enable 1
|
write /dev/sys/block/bootdevice/clkgate_enable 1
|
||||||
|
|
||||||
|
# Reset DDR frequency
|
||||||
|
write /sys/devices/platform/17000010.devfreq_mif/devfreq/17000010.devfreq_mif/exynos_data/cancel_boot_freq 1
|
||||||
|
write /sys/devices/platform/17000020.devfreq_int/devfreq/17000020.devfreq_int/exynos_data/cancel_boot_freq 1
|
||||||
|
|
||||||
# Setup final cpuset
|
# Setup final cpuset
|
||||||
write /dev/cpuset/top-app/cpus 0-7
|
write /dev/cpuset/top-app/cpus 0-7
|
||||||
write /dev/cpuset/foreground/cpus 0-3,4-5
|
write /dev/cpuset/foreground/cpus 0-3,4-5
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue