From: Wolfgang Grandegger Date: Wed, 11 Mar 2009 15:36:26 +0000 (-0600) Subject: powerpc/5200: add function to return external clock frequency X-Git-Tag: v2.6.30-rc1~619^2~30^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df8a95f46f8e43a24003abe2efaca8c63c895b54;p=pandora-kernel.git powerpc/5200: add function to return external clock frequency This patch adds the utility function mpc52xx_get_xtal_freq() to get the frequency of the external oscillator clock connected to the pin SYS_XTAL_IN. The MSCAN may us it as clock source. Unfortunately, this value is not available from the FDT blob, but it can be determined from the IPB frequency. Signed-off-by: Wolfgang Grandegger Signed-off-by: Grant Likely --- Reading git-diff-tree failed