summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mach-mpc85xx/include/mach/clock.h
blob: 0e68cf6667e545b912a7c24ea06ee8bfed51e7b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#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_ddr_freq(ulong dummy);
unsigned long fsl_get_timebase_clock(void);
unsigned long fsl_get_i2c_freq(void);
void fsl_get_sys_info(struct sys_info *sysInfo);
#endif /* __ASM_ARCH_CLOCKS_H */