summaryrefslogtreecommitdiffstats
path: root/arch/ppc/mach-mpc85xx/include/mach/clocks.h
blob: 94771682e860c0193ed2270c10cb70c32e1c0fea (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;
};

#define NSEC_PER_SEC	1000000000L

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 */