common.h 1.6 KB
Newer Older
1 2 3 4
#ifndef __ARCH_MACH_COMMON_H
#define __ARCH_MACH_COMMON_H

extern struct sys_timer shmobile_timer;
5
extern void shmobile_setup_console(void);
M
Magnus Damm 已提交
6
extern void shmobile_secondary_vector(void);
7
struct clk;
8
extern int clk_init(void);
9
extern void shmobile_handle_irq_intc(struct pt_regs *);
10
extern void shmobile_handle_irq_gic(struct pt_regs *);
11

12 13 14 15
extern void sh7367_init_irq(void);
extern void sh7367_add_early_devices(void);
extern void sh7367_add_standard_devices(void);
extern void sh7367_clock_init(void);
16
extern void sh7367_pinmux_init(void);
17 18
extern struct clk sh7367_extalb1_clk;
extern struct clk sh7367_extal2_clk;
19

20 21 22
extern void sh7377_init_irq(void);
extern void sh7377_add_early_devices(void);
extern void sh7377_add_standard_devices(void);
23
extern void sh7377_clock_init(void);
24
extern void sh7377_pinmux_init(void);
25 26
extern struct clk sh7377_extalc1_clk;
extern struct clk sh7377_extal2_clk;
27

28 29 30
extern void sh7372_init_irq(void);
extern void sh7372_add_early_devices(void);
extern void sh7372_add_standard_devices(void);
31
extern void sh7372_clock_init(void);
32
extern void sh7372_pinmux_init(void);
33 34
extern struct clk sh7372_extal1_clk;
extern struct clk sh7372_extal2_clk;
35

36
extern void sh73a0_init_irq(void);
37 38 39
extern void sh73a0_add_early_devices(void);
extern void sh73a0_add_standard_devices(void);
extern void sh73a0_clock_init(void);
40
extern void sh73a0_pinmux_init(void);
41 42
extern struct clk sh73a0_extal1_clk;
extern struct clk sh73a0_extal2_clk;
43

44 45 46 47 48
extern unsigned int sh73a0_get_core_count(void);
extern void sh73a0_secondary_init(unsigned int cpu);
extern int sh73a0_boot_secondary(unsigned int cpu);
extern void sh73a0_smp_prepare_cpus(void);

49
#endif /* __ARCH_MACH_COMMON_H */