x86/efi: Enforce CONFIG_RELOCATABLE for EFI boot stub
[linux/fpc-iii.git] / arch / arm / mach-shmobile / include / mach / sh7372.h
blob854a9f0ca040fa83a67629cf0034ed5e634415a5
1 /*
2 * Copyright (C) 2010 Renesas Solutions Corp.
4 * Kuninori Morimoto <morimoto.kuninori@renesas.com>
6 * This file is subject to the terms and conditions of the GNU General Public
7 * License. See the file "COPYING" in the main directory of this archive
8 * for more details.
9 */
11 #ifndef __ASM_SH7372_H__
12 #define __ASM_SH7372_H__
14 #include <linux/sh_clk.h>
15 #include <linux/pm_domain.h>
16 #include <mach/pm-rmobile.h>
18 /* DMA slave IDs */
19 enum {
20 SHDMA_SLAVE_INVALID,
21 SHDMA_SLAVE_SCIF0_TX,
22 SHDMA_SLAVE_SCIF0_RX,
23 SHDMA_SLAVE_SCIF1_TX,
24 SHDMA_SLAVE_SCIF1_RX,
25 SHDMA_SLAVE_SCIF2_TX,
26 SHDMA_SLAVE_SCIF2_RX,
27 SHDMA_SLAVE_SCIF3_TX,
28 SHDMA_SLAVE_SCIF3_RX,
29 SHDMA_SLAVE_SCIF4_TX,
30 SHDMA_SLAVE_SCIF4_RX,
31 SHDMA_SLAVE_SCIF5_TX,
32 SHDMA_SLAVE_SCIF5_RX,
33 SHDMA_SLAVE_SCIF6_TX,
34 SHDMA_SLAVE_SCIF6_RX,
35 SHDMA_SLAVE_FLCTL0_TX,
36 SHDMA_SLAVE_FLCTL0_RX,
37 SHDMA_SLAVE_FLCTL1_TX,
38 SHDMA_SLAVE_FLCTL1_RX,
39 SHDMA_SLAVE_SDHI0_RX,
40 SHDMA_SLAVE_SDHI0_TX,
41 SHDMA_SLAVE_SDHI1_RX,
42 SHDMA_SLAVE_SDHI1_TX,
43 SHDMA_SLAVE_SDHI2_RX,
44 SHDMA_SLAVE_SDHI2_TX,
45 SHDMA_SLAVE_FSIA_RX,
46 SHDMA_SLAVE_FSIA_TX,
47 SHDMA_SLAVE_MMCIF_RX,
48 SHDMA_SLAVE_MMCIF_TX,
49 SHDMA_SLAVE_USB0_TX,
50 SHDMA_SLAVE_USB0_RX,
51 SHDMA_SLAVE_USB1_TX,
52 SHDMA_SLAVE_USB1_RX,
55 extern struct clk sh7372_extal1_clk;
56 extern struct clk sh7372_extal2_clk;
57 extern struct clk sh7372_dv_clki_clk;
58 extern struct clk sh7372_dv_clki_div2_clk;
59 extern struct clk sh7372_pllc2_clk;
61 extern void sh7372_init_irq(void);
62 extern void sh7372_map_io(void);
63 extern void sh7372_earlytimer_init(void);
64 extern void sh7372_add_early_devices(void);
65 extern void sh7372_add_standard_devices(void);
66 extern void sh7372_add_early_devices_dt(void);
67 extern void sh7372_add_standard_devices_dt(void);
68 extern void sh7372_clock_init(void);
69 extern void sh7372_pinmux_init(void);
70 extern void sh7372_pm_init(void);
71 extern void sh7372_resume_core_standby_sysc(void);
72 extern int sh7372_do_idle_sysc(unsigned long sleep_mode);
73 extern void sh7372_intcs_suspend(void);
74 extern void sh7372_intcs_resume(void);
75 extern void sh7372_intca_suspend(void);
76 extern void sh7372_intca_resume(void);
78 extern unsigned long sh7372_cpu_resume;
80 #ifdef CONFIG_PM
81 extern void __init sh7372_init_pm_domains(void);
82 #else
83 static inline void sh7372_init_pm_domains(void) {}
84 #endif
86 extern void __init sh7372_pm_init_late(void);
88 #endif /* __ASM_SH7372_H__ */