diff options
Diffstat (limited to 'arch/arm/mach-vexpress/core.h')
| -rw-r--r-- | arch/arm/mach-vexpress/core.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/arch/arm/mach-vexpress/core.h b/arch/arm/mach-vexpress/core.h index 9f0f2827c71..152fad91b3a 100644 --- a/arch/arm/mach-vexpress/core.h +++ b/arch/arm/mach-vexpress/core.h @@ -1,2 +1,12 @@ -#define __MMIO_P2V(x) (((x) & 0xfffff) | (((x) & 0x0f000000) >> 4) | 0xf8000000) -#define MMIO_P2V(x) ((void __iomem *)__MMIO_P2V(x)) +/* 2MB large area for motherboard's peripherals static mapping */ +#define V2M_PERIPH 0xf8000000 + +/* Tile's peripherals static mappings should start here */ +#define V2T_PERIPH 0xf8200000 + +bool vexpress_smp_init_ops(void); + +extern struct smp_operations vexpress_smp_ops; +extern struct smp_operations vexpress_smp_dt_ops; + +extern void vexpress_cpu_die(unsigned int cpu); |
