162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * spear machine family generic header file 462306a36Sopenharmony_ci * 562306a36Sopenharmony_ci * Copyright (C) 2009-2012 ST Microelectronics 662306a36Sopenharmony_ci * Rajeev Kumar <rajeev-dlh.kumar@st.com> 762306a36Sopenharmony_ci * Viresh Kumar <vireshk@kernel.org> 862306a36Sopenharmony_ci */ 962306a36Sopenharmony_ci 1062306a36Sopenharmony_ci#ifndef __MACH_GENERIC_H 1162306a36Sopenharmony_ci#define __MACH_GENERIC_H 1262306a36Sopenharmony_ci 1362306a36Sopenharmony_ci#include <linux/dmaengine.h> 1462306a36Sopenharmony_ci#include <linux/amba/pl08x.h> 1562306a36Sopenharmony_ci#include <linux/init.h> 1662306a36Sopenharmony_ci#include <linux/reboot.h> 1762306a36Sopenharmony_ci 1862306a36Sopenharmony_ci#include <asm/mach/time.h> 1962306a36Sopenharmony_ci 2062306a36Sopenharmony_ciextern volatile int spear_pen_release; 2162306a36Sopenharmony_ci 2262306a36Sopenharmony_ciextern void spear13xx_timer_init(void); 2362306a36Sopenharmony_ciextern void spear3xx_timer_init(void); 2462306a36Sopenharmony_ciextern struct pl022_ssp_controller pl022_plat_data; 2562306a36Sopenharmony_ciextern struct pl08x_platform_data pl080_plat_data; 2662306a36Sopenharmony_ci 2762306a36Sopenharmony_civoid __init spear_setup_of_timer(void); 2862306a36Sopenharmony_civoid __init spear3xx_map_io(void); 2962306a36Sopenharmony_civoid __init spear3xx_dt_init_irq(void); 3062306a36Sopenharmony_civoid __init spear13xx_map_io(void); 3162306a36Sopenharmony_civoid __init spear13xx_l2x0_init(void); 3262306a36Sopenharmony_ci 3362306a36Sopenharmony_civoid spear_restart(enum reboot_mode, const char *); 3462306a36Sopenharmony_ci 3562306a36Sopenharmony_civoid spear13xx_secondary_startup(void); 3662306a36Sopenharmony_civoid spear13xx_cpu_die(unsigned int cpu); 3762306a36Sopenharmony_ci 3862306a36Sopenharmony_ciextern const struct smp_operations spear13xx_smp_ops; 3962306a36Sopenharmony_ci 4062306a36Sopenharmony_ci#endif /* __MACH_GENERIC_H */ 41