1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * spear machine family generic header file
4 *
5 * Copyright (C) 2009-2012 ST Microelectronics
6 * Rajeev Kumar <rajeev-dlh.kumar@st.com>
7 * Viresh Kumar <vireshk@kernel.org>
8 */
9
10#ifndef __MACH_GENERIC_H
11#define __MACH_GENERIC_H
12
13#include <linux/dmaengine.h>
14#include <linux/amba/pl08x.h>
15#include <linux/init.h>
16#include <linux/reboot.h>
17
18#include <asm/mach/time.h>
19
20extern volatile int spear_pen_release;
21
22extern void spear13xx_timer_init(void);
23extern void spear3xx_timer_init(void);
24extern struct pl022_ssp_controller pl022_plat_data;
25extern struct pl08x_platform_data pl080_plat_data;
26
27void __init spear_setup_of_timer(void);
28void __init spear3xx_map_io(void);
29void __init spear3xx_dt_init_irq(void);
30void __init spear13xx_map_io(void);
31void __init spear13xx_l2x0_init(void);
32
33void spear_restart(enum reboot_mode, const char *);
34
35void spear13xx_secondary_startup(void);
36void spear13xx_cpu_die(unsigned int cpu);
37
38extern const struct smp_operations spear13xx_smp_ops;
39
40#endif /* __MACH_GENERIC_H */
41

source code of linux/arch/arm/mach-spear/generic.h