diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-09-08 14:02:21 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-21 09:32:42 -0700 |
commit | c71964b93fde02f9607e49191d55bd430767892c (patch) | |
tree | 88189e60d1c9041e2700993291f71f60c6fa7949 /samples | |
parent | ac43c058283e037c5acdee95ada41075e0e2dde5 (diff) |
MIPS: ath79: Fix CPU/DDR frequency calculation for SRIF PLLs
commit 97541ccfb9db2bb9cd1dde6344d5834438d14bda upstream.
Besides the CPU and DDR PLLs, the CPU and DDR frequencies
can be derived from other PLLs in the SRIF block on the
AR934x SoCs. The current code does not checks if the SRIF
PLLs are used and this can lead to incorrectly calculated
CPU/DDR frequencies.
Fix it by calculating the frequencies from SRIF PLLs if
those are used on a given board.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/4324/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions