mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-02-01 10:28:38 +00:00
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:
committed by
TreeHugger Robot
parent
09fd09985b
commit
64dfe98a5c
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user