diff options
author | Gabor Juhos <[email protected]> | 2012-09-08 14:02:21 +0200 |
---|---|---|
committer | Ralf Baechle <[email protected]> | 2012-10-01 11:37:15 +0200 |
commit | 97541ccfb9db2bb9cd1dde6344d5834438d14bda (patch) | |
tree | fbdcb943e76ee180c6025a2f7f5645c101014f00 /lib/mpi/mpiutil.c | |
parent | 65fc7f9957c52ad4fdf4ee5dfe3a75aa0a633d39 (diff) |
MIPS: ath79: Fix CPU/DDR frequency calculation for SRIF PLLs
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 <[email protected]>
Cc: <[email protected]>
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/4324/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions