diff options
author | Nicolas Pitre <nicolas.pitre@linaro.org> | 2011-07-05 22:28:09 -0400 |
---|---|---|
committer | Nicolas Pitre <nico@fluxnic.net> | 2011-07-18 15:30:02 -0400 |
commit | 00e9125e061022dcba2daea95491d5400c47789b (patch) | |
tree | 07aaae9e56fe3bdc00ecca0f020d0b9640234541 /arch/arm/mach-realview | |
parent | 805e88dc40bbcc924797cfcac524931774c6e46c (diff) |
ARM: mach-realview: move from ARM_DMA_ZONE_SIZE to mdesc->dma_zone_size
Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Diffstat (limited to 'arch/arm/mach-realview')
-rw-r--r-- | arch/arm/mach-realview/include/mach/memory.h | 4 | ||||
-rw-r--r-- | arch/arm/mach-realview/realview_eb.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-realview/realview_pb1176.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-realview/realview_pb11mp.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-realview/realview_pba8.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-realview/realview_pbx.c | 3 |
6 files changed, 15 insertions, 4 deletions
diff --git a/arch/arm/mach-realview/include/mach/memory.h b/arch/arm/mach-realview/include/mach/memory.h index 1759fa673eea..2022e092f0ca 100644 --- a/arch/arm/mach-realview/include/mach/memory.h +++ b/arch/arm/mach-realview/include/mach/memory.h | |||
@@ -29,10 +29,6 @@ | |||
29 | #define PLAT_PHYS_OFFSET UL(0x00000000) | 29 | #define PLAT_PHYS_OFFSET UL(0x00000000) |
30 | #endif | 30 | #endif |
31 | 31 | ||
32 | #ifdef CONFIG_ZONE_DMA | ||
33 | #define ARM_DMA_ZONE_SIZE SZ_256M | ||
34 | #endif | ||
35 | |||
36 | #ifdef CONFIG_SPARSEMEM | 32 | #ifdef CONFIG_SPARSEMEM |
37 | 33 | ||
38 | /* | 34 | /* |
diff --git a/arch/arm/mach-realview/realview_eb.c b/arch/arm/mach-realview/realview_eb.c index 10e75faba4c9..7a4e3b18cb3e 100644 --- a/arch/arm/mach-realview/realview_eb.c +++ b/arch/arm/mach-realview/realview_eb.c | |||
@@ -470,4 +470,7 @@ MACHINE_START(REALVIEW_EB, "ARM-RealView EB") | |||
470 | .init_irq = gic_init_irq, | 470 | .init_irq = gic_init_irq, |
471 | .timer = &realview_eb_timer, | 471 | .timer = &realview_eb_timer, |
472 | .init_machine = realview_eb_init, | 472 | .init_machine = realview_eb_init, |
473 | #ifdef CONFIG_ZONE_DMA | ||
474 | .dma_zone_size = SZ_256M, | ||
475 | #endif | ||
473 | MACHINE_END | 476 | MACHINE_END |
diff --git a/arch/arm/mach-realview/realview_pb1176.c b/arch/arm/mach-realview/realview_pb1176.c index eab6070f66d0..ad5671acb66a 100644 --- a/arch/arm/mach-realview/realview_pb1176.c +++ b/arch/arm/mach-realview/realview_pb1176.c | |||
@@ -365,4 +365,7 @@ MACHINE_START(REALVIEW_PB1176, "ARM-RealView PB1176") | |||
365 | .init_irq = gic_init_irq, | 365 | .init_irq = gic_init_irq, |
366 | .timer = &realview_pb1176_timer, | 366 | .timer = &realview_pb1176_timer, |
367 | .init_machine = realview_pb1176_init, | 367 | .init_machine = realview_pb1176_init, |
368 | #ifdef CONFIG_ZONE_DMA | ||
369 | .dma_zone_size = SZ_256M, | ||
370 | #endif | ||
368 | MACHINE_END | 371 | MACHINE_END |
diff --git a/arch/arm/mach-realview/realview_pb11mp.c b/arch/arm/mach-realview/realview_pb11mp.c index b2985fc7cd4e..b43644b3685e 100644 --- a/arch/arm/mach-realview/realview_pb11mp.c +++ b/arch/arm/mach-realview/realview_pb11mp.c | |||
@@ -367,4 +367,7 @@ MACHINE_START(REALVIEW_PB11MP, "ARM-RealView PB11MPCore") | |||
367 | .init_irq = gic_init_irq, | 367 | .init_irq = gic_init_irq, |
368 | .timer = &realview_pb11mp_timer, | 368 | .timer = &realview_pb11mp_timer, |
369 | .init_machine = realview_pb11mp_init, | 369 | .init_machine = realview_pb11mp_init, |
370 | #ifdef CONFIG_ZONE_DMA | ||
371 | .dma_zone_size = SZ_256M, | ||
372 | #endif | ||
370 | MACHINE_END | 373 | MACHINE_END |
diff --git a/arch/arm/mach-realview/realview_pba8.c b/arch/arm/mach-realview/realview_pba8.c index fb6866558760..763e8f38c15d 100644 --- a/arch/arm/mach-realview/realview_pba8.c +++ b/arch/arm/mach-realview/realview_pba8.c | |||
@@ -317,4 +317,7 @@ MACHINE_START(REALVIEW_PBA8, "ARM-RealView PB-A8") | |||
317 | .init_irq = gic_init_irq, | 317 | .init_irq = gic_init_irq, |
318 | .timer = &realview_pba8_timer, | 318 | .timer = &realview_pba8_timer, |
319 | .init_machine = realview_pba8_init, | 319 | .init_machine = realview_pba8_init, |
320 | #ifdef CONFIG_ZONE_DMA | ||
321 | .dma_zone_size = SZ_256M, | ||
322 | #endif | ||
320 | MACHINE_END | 323 | MACHINE_END |
diff --git a/arch/arm/mach-realview/realview_pbx.c b/arch/arm/mach-realview/realview_pbx.c index 92ace2cf2b2c..363b0ab56150 100644 --- a/arch/arm/mach-realview/realview_pbx.c +++ b/arch/arm/mach-realview/realview_pbx.c | |||
@@ -400,4 +400,7 @@ MACHINE_START(REALVIEW_PBX, "ARM-RealView PBX") | |||
400 | .init_irq = gic_init_irq, | 400 | .init_irq = gic_init_irq, |
401 | .timer = &realview_pbx_timer, | 401 | .timer = &realview_pbx_timer, |
402 | .init_machine = realview_pbx_init, | 402 | .init_machine = realview_pbx_init, |
403 | #ifdef CONFIG_ZONE_DMA | ||
404 | .dma_zone_size = SZ_256M, | ||
405 | #endif | ||
403 | MACHINE_END | 406 | MACHINE_END |