diff options
Diffstat (limited to 'arch/arm/mach-shmobile/include/mach')
| -rw-r--r-- | arch/arm/mach-shmobile/include/mach/common.h | 10 | ||||
| -rw-r--r-- | arch/arm/mach-shmobile/include/mach/hardware.h | 4 | ||||
| -rw-r--r-- | arch/arm/mach-shmobile/include/mach/r8a73a4.h | 1 | ||||
| -rw-r--r-- | arch/arm/mach-shmobile/include/mach/r8a7740.h | 1 | ||||
| -rw-r--r-- | arch/arm/mach-shmobile/include/mach/r8a7778.h | 9 | ||||
| -rw-r--r-- | arch/arm/mach-shmobile/include/mach/r8a7779.h | 3 | ||||
| -rw-r--r-- | arch/arm/mach-shmobile/include/mach/r8a7790.h | 1 | ||||
| -rw-r--r-- | arch/arm/mach-shmobile/include/mach/sh73a0.h | 2 |
8 files changed, 12 insertions, 19 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/common.h b/arch/arm/mach-shmobile/include/mach/common.h index e818f029d8e3..7b938681e756 100644 --- a/arch/arm/mach-shmobile/include/mach/common.h +++ b/arch/arm/mach-shmobile/include/mach/common.h | |||
| @@ -2,7 +2,6 @@ | |||
| 2 | #define __ARCH_MACH_COMMON_H | 2 | #define __ARCH_MACH_COMMON_H |
| 3 | 3 | ||
| 4 | extern void shmobile_earlytimer_init(void); | 4 | extern void shmobile_earlytimer_init(void); |
| 5 | extern void shmobile_timer_init(void); | ||
| 6 | extern void shmobile_setup_delay(unsigned int max_cpu_core_mhz, | 5 | extern void shmobile_setup_delay(unsigned int max_cpu_core_mhz, |
| 7 | unsigned int mult, unsigned int div); | 6 | unsigned int mult, unsigned int div); |
| 8 | struct twd_local_timer; | 7 | struct twd_local_timer; |
| @@ -10,7 +9,16 @@ extern void shmobile_setup_console(void); | |||
| 10 | extern void shmobile_boot_vector(void); | 9 | extern void shmobile_boot_vector(void); |
| 11 | extern unsigned long shmobile_boot_fn; | 10 | extern unsigned long shmobile_boot_fn; |
| 12 | extern unsigned long shmobile_boot_arg; | 11 | extern unsigned long shmobile_boot_arg; |
| 12 | extern void shmobile_smp_boot(void); | ||
| 13 | extern void shmobile_smp_sleep(void); | ||
| 14 | extern void shmobile_smp_hook(unsigned int cpu, unsigned long fn, | ||
| 15 | unsigned long arg); | ||
| 13 | extern void shmobile_boot_scu(void); | 16 | extern void shmobile_boot_scu(void); |
| 17 | extern void shmobile_smp_scu_prepare_cpus(unsigned int max_cpus); | ||
| 18 | extern int shmobile_smp_scu_boot_secondary(unsigned int cpu, | ||
| 19 | struct task_struct *idle); | ||
| 20 | extern void shmobile_smp_scu_cpu_die(unsigned int cpu); | ||
| 21 | extern int shmobile_smp_scu_cpu_kill(unsigned int cpu); | ||
| 14 | struct clk; | 22 | struct clk; |
| 15 | extern int shmobile_clk_init(void); | 23 | extern int shmobile_clk_init(void); |
| 16 | extern void shmobile_handle_irq_intc(struct pt_regs *); | 24 | extern void shmobile_handle_irq_intc(struct pt_regs *); |
diff --git a/arch/arm/mach-shmobile/include/mach/hardware.h b/arch/arm/mach-shmobile/include/mach/hardware.h deleted file mode 100644 index 99264a5ce5e4..000000000000 --- a/arch/arm/mach-shmobile/include/mach/hardware.h +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | #ifndef __ASM_MACH_HARDWARE_H | ||
| 2 | #define __ASM_MACH_HARDWARE_H | ||
| 3 | |||
| 4 | #endif /* __ASM_MACH_HARDWARE_H */ | ||
diff --git a/arch/arm/mach-shmobile/include/mach/r8a73a4.h b/arch/arm/mach-shmobile/include/mach/r8a73a4.h index 144a85e29245..f3a9b702da56 100644 --- a/arch/arm/mach-shmobile/include/mach/r8a73a4.h +++ b/arch/arm/mach-shmobile/include/mach/r8a73a4.h | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | #define __ASM_R8A73A4_H__ | 2 | #define __ASM_R8A73A4_H__ |
| 3 | 3 | ||
| 4 | void r8a73a4_add_standard_devices(void); | 4 | void r8a73a4_add_standard_devices(void); |
| 5 | void r8a73a4_add_dt_devices(void); | ||
| 5 | void r8a73a4_clock_init(void); | 6 | void r8a73a4_clock_init(void); |
| 6 | void r8a73a4_pinmux_init(void); | 7 | void r8a73a4_pinmux_init(void); |
| 7 | void r8a73a4_init_delay(void); | 8 | void r8a73a4_init_delay(void); |
diff --git a/arch/arm/mach-shmobile/include/mach/r8a7740.h b/arch/arm/mach-shmobile/include/mach/r8a7740.h index 56f375005fcd..d07932f872b6 100644 --- a/arch/arm/mach-shmobile/include/mach/r8a7740.h +++ b/arch/arm/mach-shmobile/include/mach/r8a7740.h | |||
| @@ -48,7 +48,6 @@ enum { | |||
| 48 | 48 | ||
| 49 | extern void r8a7740_meram_workaround(void); | 49 | extern void r8a7740_meram_workaround(void); |
| 50 | extern void r8a7740_init_delay(void); | 50 | extern void r8a7740_init_delay(void); |
| 51 | extern void r8a7740_init_irq(void); | ||
| 52 | extern void r8a7740_init_irq_of(void); | 51 | extern void r8a7740_init_irq_of(void); |
| 53 | extern void r8a7740_map_io(void); | 52 | extern void r8a7740_map_io(void); |
| 54 | extern void r8a7740_add_early_devices(void); | 53 | extern void r8a7740_add_early_devices(void); |
diff --git a/arch/arm/mach-shmobile/include/mach/r8a7778.h b/arch/arm/mach-shmobile/include/mach/r8a7778.h index 2866704e7afd..adfcf51b163d 100644 --- a/arch/arm/mach-shmobile/include/mach/r8a7778.h +++ b/arch/arm/mach-shmobile/include/mach/r8a7778.h | |||
| @@ -18,21 +18,15 @@ | |||
| 18 | #ifndef __ASM_R8A7778_H__ | 18 | #ifndef __ASM_R8A7778_H__ |
| 19 | #define __ASM_R8A7778_H__ | 19 | #define __ASM_R8A7778_H__ |
| 20 | 20 | ||
| 21 | #include <linux/mmc/sh_mmcif.h> | ||
| 22 | #include <linux/mmc/sh_mobile_sdhi.h> | ||
| 23 | #include <linux/sh_eth.h> | 21 | #include <linux/sh_eth.h> |
| 24 | #include <linux/platform_data/usb-rcar-phy.h> | ||
| 25 | #include <linux/platform_data/camera-rcar.h> | 22 | #include <linux/platform_data/camera-rcar.h> |
| 26 | 23 | ||
| 27 | extern void r8a7778_add_standard_devices(void); | 24 | extern void r8a7778_add_standard_devices(void); |
| 28 | extern void r8a7778_add_standard_devices_dt(void); | 25 | extern void r8a7778_add_standard_devices_dt(void); |
| 29 | extern void r8a7778_add_ether_device(struct sh_eth_plat_data *pdata); | 26 | extern void r8a7778_add_ether_device(struct sh_eth_plat_data *pdata); |
| 30 | extern void r8a7778_add_usb_phy_device(struct rcar_phy_platform_data *pdata); | ||
| 31 | extern void r8a7778_add_i2c_device(int id); | ||
| 32 | extern void r8a7778_add_hspi_device(int id); | ||
| 33 | extern void r8a7778_add_mmc_device(struct sh_mmcif_plat_data *info); | ||
| 34 | extern void r8a7778_add_vin_device(int id, | 27 | extern void r8a7778_add_vin_device(int id, |
| 35 | struct rcar_vin_platform_data *pdata); | 28 | struct rcar_vin_platform_data *pdata); |
| 29 | extern void r8a7778_add_dt_devices(void); | ||
| 36 | 30 | ||
| 37 | extern void r8a7778_init_late(void); | 31 | extern void r8a7778_init_late(void); |
| 38 | extern void r8a7778_init_delay(void); | 32 | extern void r8a7778_init_delay(void); |
| @@ -40,6 +34,5 @@ extern void r8a7778_init_irq_dt(void); | |||
| 40 | extern void r8a7778_clock_init(void); | 34 | extern void r8a7778_clock_init(void); |
| 41 | extern void r8a7778_init_irq_extpin(int irlm); | 35 | extern void r8a7778_init_irq_extpin(int irlm); |
| 42 | extern void r8a7778_pinmux_init(void); | 36 | extern void r8a7778_pinmux_init(void); |
| 43 | extern void r8a7778_sdhi_init(int id, struct sh_mobile_sdhi_info *info); | ||
| 44 | 37 | ||
| 45 | #endif /* __ASM_R8A7778_H__ */ | 38 | #endif /* __ASM_R8A7778_H__ */ |
diff --git a/arch/arm/mach-shmobile/include/mach/r8a7779.h b/arch/arm/mach-shmobile/include/mach/r8a7779.h index 6d2b6417fe2a..11c740047e14 100644 --- a/arch/arm/mach-shmobile/include/mach/r8a7779.h +++ b/arch/arm/mach-shmobile/include/mach/r8a7779.h | |||
| @@ -4,7 +4,6 @@ | |||
| 4 | #include <linux/sh_clk.h> | 4 | #include <linux/sh_clk.h> |
| 5 | #include <linux/pm_domain.h> | 5 | #include <linux/pm_domain.h> |
| 6 | #include <linux/sh_eth.h> | 6 | #include <linux/sh_eth.h> |
| 7 | #include <linux/platform_data/usb-rcar-phy.h> | ||
| 8 | #include <linux/platform_data/camera-rcar.h> | 7 | #include <linux/platform_data/camera-rcar.h> |
| 9 | 8 | ||
| 10 | struct platform_device; | 9 | struct platform_device; |
| @@ -26,7 +25,6 @@ static inline struct r8a7779_pm_ch *to_r8a7779_ch(struct generic_pm_domain *d) | |||
| 26 | } | 25 | } |
| 27 | 26 | ||
| 28 | extern void r8a7779_init_delay(void); | 27 | extern void r8a7779_init_delay(void); |
| 29 | extern void r8a7779_init_irq(void); | ||
| 30 | extern void r8a7779_init_irq_extpin(int irlm); | 28 | extern void r8a7779_init_irq_extpin(int irlm); |
| 31 | extern void r8a7779_init_irq_dt(void); | 29 | extern void r8a7779_init_irq_dt(void); |
| 32 | extern void r8a7779_map_io(void); | 30 | extern void r8a7779_map_io(void); |
| @@ -35,7 +33,6 @@ extern void r8a7779_add_early_devices(void); | |||
| 35 | extern void r8a7779_add_standard_devices(void); | 33 | extern void r8a7779_add_standard_devices(void); |
| 36 | extern void r8a7779_add_standard_devices_dt(void); | 34 | extern void r8a7779_add_standard_devices_dt(void); |
| 37 | extern void r8a7779_add_ether_device(struct sh_eth_plat_data *pdata); | 35 | extern void r8a7779_add_ether_device(struct sh_eth_plat_data *pdata); |
| 38 | extern void r8a7779_add_usb_phy_device(struct rcar_phy_platform_data *pdata); | ||
| 39 | extern void r8a7779_add_vin_device(int idx, | 36 | extern void r8a7779_add_vin_device(int idx, |
| 40 | struct rcar_vin_platform_data *pdata); | 37 | struct rcar_vin_platform_data *pdata); |
| 41 | extern void r8a7779_init_late(void); | 38 | extern void r8a7779_init_late(void); |
diff --git a/arch/arm/mach-shmobile/include/mach/r8a7790.h b/arch/arm/mach-shmobile/include/mach/r8a7790.h index 7aaef409a059..788d55952091 100644 --- a/arch/arm/mach-shmobile/include/mach/r8a7790.h +++ b/arch/arm/mach-shmobile/include/mach/r8a7790.h | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | #define __ASM_R8A7790_H__ | 2 | #define __ASM_R8A7790_H__ |
| 3 | 3 | ||
| 4 | void r8a7790_add_standard_devices(void); | 4 | void r8a7790_add_standard_devices(void); |
| 5 | void r8a7790_add_dt_devices(void); | ||
| 5 | void r8a7790_clock_init(void); | 6 | void r8a7790_clock_init(void); |
| 6 | void r8a7790_pinmux_init(void); | 7 | void r8a7790_pinmux_init(void); |
| 7 | void r8a7790_init_delay(void); | 8 | void r8a7790_init_delay(void); |
diff --git a/arch/arm/mach-shmobile/include/mach/sh73a0.h b/arch/arm/mach-shmobile/include/mach/sh73a0.h index 680dc5f1655a..359b582dc270 100644 --- a/arch/arm/mach-shmobile/include/mach/sh73a0.h +++ b/arch/arm/mach-shmobile/include/mach/sh73a0.h | |||
| @@ -1,8 +1,6 @@ | |||
| 1 | #ifndef __ASM_SH73A0_H__ | 1 | #ifndef __ASM_SH73A0_H__ |
| 2 | #define __ASM_SH73A0_H__ | 2 | #define __ASM_SH73A0_H__ |
| 3 | 3 | ||
| 4 | #define GPIO_NR 310 | ||
| 5 | |||
| 6 | /* DMA slave IDs */ | 4 | /* DMA slave IDs */ |
| 7 | enum { | 5 | enum { |
| 8 | SHDMA_SLAVE_INVALID, | 6 | SHDMA_SLAVE_INVALID, |
