mirror of
https://github.com/coolsnowwolf/luci.git
synced 2025-05-02 12:50:35 +08:00
luci-app-cpufreq: add mt7988 support
This commit is contained in:
parent
457ba6c3bd
commit
d950dac3fc
@ -8,7 +8,7 @@ LUCI_TITLE:=LuCI for CPU Freq Setting
|
|||||||
LUCI_DEPENDS:=@(arm||aarch64)
|
LUCI_DEPENDS:=@(arm||aarch64)
|
||||||
|
|
||||||
PKG_NAME:=luci-app-cpufreq
|
PKG_NAME:=luci-app-cpufreq
|
||||||
PKG_VERSION:=10
|
PKG_VERSION:=11
|
||||||
PKG_RELEASE:=$(COMMITCOUNT)
|
PKG_RELEASE:=$(COMMITCOUNT)
|
||||||
|
|
||||||
include ../../luci.mk
|
include ../../luci.mk
|
||||||
|
@ -53,6 +53,9 @@ case "$DISTRIB_TARGET" in
|
|||||||
"meson/meson8b")
|
"meson/meson8b")
|
||||||
uci_write_config 0 schedutil 816000 $CPU_MAX_FREQ
|
uci_write_config 0 schedutil 816000 $CPU_MAX_FREQ
|
||||||
;;
|
;;
|
||||||
|
"mediatek/mt7988")
|
||||||
|
uci_write_config 0 schedutil 800000 2300000
|
||||||
|
;;
|
||||||
"mvebu/cortexa72")
|
"mvebu/cortexa72")
|
||||||
uci_write_config 0 ondemand 550000 $CPU_MAX_FREQ 10 50
|
uci_write_config 0 ondemand 550000 $CPU_MAX_FREQ 10 50
|
||||||
uci_write_config 2 ondemand 550000 $CPU2_MAX_FREQ 10 50
|
uci_write_config 2 ondemand 550000 $CPU2_MAX_FREQ 10 50
|
||||||
|
Loading…
Reference in New Issue
Block a user