mirror of
https://github.com/coolsnowwolf/luci
synced 2025-01-09 09:17:27 +08:00
luci-app-cpufreq: add rk35xx support
This commit is contained in:
parent
43242b79ac
commit
b9b022c4ee
@ -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:=5
|
PKG_VERSION:=6
|
||||||
PKG_RELEASE:=$(COMMITCOUNT)
|
PKG_RELEASE:=$(COMMITCOUNT)
|
||||||
|
|
||||||
include ../../luci.mk
|
include ../../luci.mk
|
||||||
|
@ -45,7 +45,7 @@ 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
|
||||||
;;
|
;;
|
||||||
"rockchip/armv8")
|
"rockchip*")
|
||||||
uci_write_config 0 schedutil 600000 $CPU_MAX_FREQ
|
uci_write_config 0 schedutil 600000 $CPU_MAX_FREQ
|
||||||
echo "$CPU_POLICYS" | grep -q "4" && \
|
echo "$CPU_POLICYS" | grep -q "4" && \
|
||||||
uci_write_config 4 schedutil 600000 $CPU4_MAX_FREQ
|
uci_write_config 4 schedutil 600000 $CPU4_MAX_FREQ
|
||||||
|
Loading…
Reference in New Issue
Block a user