generic.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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 <[email protected]>
  7. * Viresh Kumar <[email protected]>
  8. */
  9. #ifndef __MACH_GENERIC_H
  10. #define __MACH_GENERIC_H
  11. #include <linux/dmaengine.h>
  12. #include <linux/amba/pl08x.h>
  13. #include <linux/init.h>
  14. #include <linux/reboot.h>
  15. #include <asm/mach/time.h>
  16. extern volatile int spear_pen_release;
  17. extern void spear13xx_timer_init(void);
  18. extern void spear3xx_timer_init(void);
  19. extern struct pl022_ssp_controller pl022_plat_data;
  20. extern struct pl08x_platform_data pl080_plat_data;
  21. void __init spear_setup_of_timer(void);
  22. void __init spear3xx_map_io(void);
  23. void __init spear3xx_dt_init_irq(void);
  24. void __init spear13xx_map_io(void);
  25. void __init spear13xx_l2x0_init(void);
  26. void spear_restart(enum reboot_mode, const char *);
  27. void spear13xx_secondary_startup(void);
  28. void spear13xx_cpu_die(unsigned int cpu);
  29. extern const struct smp_operations spear13xx_smp_ops;
  30. #endif /* __MACH_GENERIC_H */