summaryrefslogtreecommitdiffstats
path: root/arch/ppc/include/asm/common.h
blob: 96de5c65681a829796dbe1800ad9eb988686a3a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef __ASM_COMMON_H
#define __ASM_COMMON_H

#include <asm/barebox.h>

void	upmconfig     (unsigned int, unsigned int *, unsigned int);
ulong	get_tbclk     (void);

unsigned long long get_ticks(void);

int	get_clocks (void);
ulong	get_bus_freq  (ulong);

int	cpu_init      (void);

uint	get_pvr	      (void);
uint	get_svr	      (void);

void	trap_init     (ulong);

int cpu_init_board_data(bd_t *bd);
int init_board_data(bd_t *bd);

#endif /* __ASM_COMMON_H */