aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-vexpress/core.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-vexpress/core.h')
-rw-r--r--arch/arm/mach-vexpress/core.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/arch/arm/mach-vexpress/core.h b/arch/arm/mach-vexpress/core.h
index f4397159c173..3508f6ef78ea 100644
--- a/arch/arm/mach-vexpress/core.h
+++ b/arch/arm/mach-vexpress/core.h
@@ -1,6 +1,3 @@
1#define __MMIO_P2V(x) (((x) & 0xfffff) | (((x) & 0x0f000000) >> 4) | 0xf8000000)
2#define MMIO_P2V(x) ((void __iomem *)__MMIO_P2V(x))
3
4#define AMBA_DEVICE(name,busid,base,plat) \ 1#define AMBA_DEVICE(name,busid,base,plat) \
5struct amba_device name##_device = { \ 2struct amba_device name##_device = { \
6 .dev = { \ 3 .dev = { \
@@ -17,3 +14,9 @@ struct amba_device name##_device = { \
17 .irq = IRQ_##base, \ 14 .irq = IRQ_##base, \
18 /* .dma = DMA_##base,*/ \ 15 /* .dma = DMA_##base,*/ \
19} 16}
17
18/* 2MB large area for motherboard's peripherals static mapping */
19#define V2M_PERIPH 0xf8000000
20
21/* Tile's peripherals static mappings should start here */
22#define V2T_PERIPH 0xf8200000