devfreq: reset ddr freq after boot
to reduce boot time, boost ddr freq when booting and reset it after booting. Bug: 230581379 Test: pass Signed-off-by: chungkai <chungkai@google.com> Change-Id: Iaac39e3ad6d5950b1c9676966187eaa13affab7f
This commit is contained in:
parent
09fd09985b
commit
64dfe98a5c
1 changed files with 4 additions and 0 deletions
|
@ -719,6 +719,10 @@ on property:sys.boot_completed=1
|
|||
# Enable UFS powersaving
|
||||
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
|
||||
write /dev/cpuset/top-app/cpus 0-7
|
||||
write /dev/cpuset/foreground/cpus 0-3,4-5
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue