luci-app-cpufreq: fixes detection on ipq40xx/806x
@@ -19,10 +19,10 @@ case "$DISTRIB_TARGET" in
"bcm27xx/bcm2711")
uci_write_config 0 ondemand 600000 1500000 10 50
;;
- "ipq40xx")
- uci_write_config 0 ondemand 200000 896000 10 50
+ "ipq40xx/generic")
+ uci_write_config 0 ondemand 200000 716000 10 50
;;
- "ipq806x")
+ "ipq806x/generic")
if echo "$CPU_FREQS" | grep -q "1725000"; then
# IPQ8065
CPU_MAX_FREQ="1725000"
@@ -60,10 +60,10 @@ case "$DISTRIB_TARGET" in
"sunxi/cortexa53")
if echo "$CPU_FREQS" | grep -q "1800000"; then
# H6
- uci_write_config 0 schedutil 888000 1800000
+ uci_write_config 0 schedutil 816000 1800000
else
# H5
- uci_write_config 0 ondemand 648000 1296000 10 50
+ uci_write_config 0 ondemand 648000 1200000 10 50
fi
;;
esac
