armada-370-xp.h 853 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * Generic definitions for Marvell Armada_370_XP SoCs
  3. *
  4. * Copyright (C) 2012 Marvell
  5. *
  6. * Lior Amsalem <alior@marvell.com>
  7. * Gregory CLEMENT <gregory.clement@free-electrons.com>
  8. * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  9. *
  10. * This file is licensed under the terms of the GNU General Public
  11. * License version 2. This program is licensed "as is" without any
  12. * warranty of any kind, whether express or implied.
  13. */
  14. #ifndef __MACH_ARMADA_370_XP_H
  15. #define __MACH_ARMADA_370_XP_H
  16. #define ARMADA_370_XP_REGS_PHYS_BASE 0xd0000000
  17. #define ARMADA_370_XP_REGS_VIRT_BASE IOMEM(0xfeb00000)
  18. #define ARMADA_370_XP_REGS_SIZE SZ_1M
  19. #ifdef CONFIG_SMP
  20. #include <linux/cpumask.h>
  21. void armada_mpic_send_doorbell(const struct cpumask *mask, unsigned int irq);
  22. void armada_xp_mpic_smp_cpu_init(void);
  23. #endif
  24. #endif /* __MACH_ARMADA_370_XP_H */