commit | df8a95f46f8e43a24003abe2efaca8c63c895b54 | [log] [tgz] |
---|---|---|
author | Wolfgang Grandegger <wg@grandegger.com> | Wed Mar 11 09:36:26 2009 -0600 |
committer | Grant Likely <grant.likely@secretlab.ca> | Wed Mar 11 09:36:26 2009 -0600 |
tree | cee931917b5bbc3e77d9b3e2ad3145856d8118b8 | |
parent | bb899d49a5d04ae53c787c15c5fb82754d6a0da4 [diff] |
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 <wg@grandegger.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>