luci-app-cpufreq: add rk35xx support

This commit is contained in:
coolsnowwolf 2023-11-24 18:29:25 +08:00
parent 43242b79ac
commit b9b022c4ee
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ LUCI_TITLE:=LuCI for CPU Freq Setting
LUCI_DEPENDS:=@(arm||aarch64)
PKG_NAME:=luci-app-cpufreq
PKG_VERSION:=5
PKG_VERSION:=6
PKG_RELEASE:=$(COMMITCOUNT)
include ../../luci.mk

View File

@ -45,7 +45,7 @@ case "$DISTRIB_TARGET" in
"meson/meson8b")
uci_write_config 0 schedutil 816000 $CPU_MAX_FREQ
;;
"rockchip/armv8")
"rockchip*")
uci_write_config 0 schedutil 600000 $CPU_MAX_FREQ
echo "$CPU_POLICYS" | grep -q "4" && \
uci_write_config 4 schedutil 600000 $CPU4_MAX_FREQ