MIPS: Netlogic: Update XLP9XX/2XX core freq calculation
authorJayachandran C <jchandra@broadcom.com>
Tue, 29 Apr 2014 14:37:52 +0000 (20:07 +0530)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 30 May 2014 14:50:13 +0000 (16:50 +0200)
commitedf3ed5e69bcf3f60087099eccab34be0ebcf60a
treef4d3dcf8ab5338fa76430b0c36c6dfcfdb6522c7
parentc065909e47aea3575e51304e7411b46df22b20ca
MIPS: Netlogic: Update XLP9XX/2XX core freq calculation

Calculate XLP 9XX and 2XX core frequency from the per-core PLL. This
should give the correct value for all board configurations.

Signed-off-by: Jayachandran C <jchandra@broadcom.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/6870/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/netlogic/xlp-hal/sys.h
arch/mips/netlogic/xlp/nlm_hal.c