summaryrefslogtreecommitdiffstats
path: root/arch/ppc/mach-mpc85xx/include/mach/clocks.h
blob: 2ab367b2eca9b5d6e7559ac26560a69c4d355261 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef __ASM_ARCH_CLOCKS_H
#define __ASM_ARCH_CLOCKS_H

#include <mach/config_mpc85xx.h>

struct sys_info {
	unsigned long freqProcessor[MAX_CPUS];
	unsigned long freqSystemBus;
	unsigned long freqDDRBus;
	unsigned long freqLocalBus;
};

unsigned long fsl_get_bus_freq(ulong dummy);
unsigned long fsl_get_timebase_clock(void);
void fsl_get_sys_info(struct sys_info *sysInfo);
#endif /* __ASM_ARCH_CLOCKS_H */