luci-app-cpufreq: add rk35xx support

This commit is contained in:
coolsnowwolf 2024-02-26 19:21:49 +08:00
parent cdf2b6989e
commit ee89490e97
2 changed files with 2 additions and 1 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:=7
PKG_VERSION:=8
PKG_RELEASE:=$(COMMITCOUNT)
include ../../luci.mk

View File

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