diff options
| author | Marek Szyprowski <m.szyprowski@samsung.com> | 2012-11-08 02:46:20 -0500 |
|---|---|---|
| committer | Arnd Bergmann <arnd@arndb.de> | 2012-11-13 04:13:21 -0500 |
| commit | 86819521d634b51691254520f82ae3f5d99483bf (patch) | |
| tree | 056508f37b32636a1370f7209a2d99a314fd3fdf | |
| parent | 915d6cfab391863aa283c4196f1686d416a6bb05 (diff) | |
ARM: shmobile: remove obsoleted init_consistent_dma_size()
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
CC: Paul Mundt <lethal@linux-sh.org>
CC: Magnus Damm <magnus.damm@gmail.com>
| -rw-r--r-- | arch/arm/mach-shmobile/setup-r8a7740.c | 6 | ||||
| -rw-r--r-- | arch/arm/mach-shmobile/setup-sh7372.c | 6 |
2 files changed, 0 insertions, 12 deletions
diff --git a/arch/arm/mach-shmobile/setup-r8a7740.c b/arch/arm/mach-shmobile/setup-r8a7740.c index 11bb1d98419..96f11394c7c 100644 --- a/arch/arm/mach-shmobile/setup-r8a7740.c +++ b/arch/arm/mach-shmobile/setup-r8a7740.c | |||
| @@ -66,12 +66,6 @@ static struct map_desc r8a7740_io_desc[] __initdata = { | |||
| 66 | void __init r8a7740_map_io(void) | 66 | void __init r8a7740_map_io(void) |
| 67 | { | 67 | { |
| 68 | iotable_init(r8a7740_io_desc, ARRAY_SIZE(r8a7740_io_desc)); | 68 | iotable_init(r8a7740_io_desc, ARRAY_SIZE(r8a7740_io_desc)); |
| 69 | |||
| 70 | /* | ||
| 71 | * DMA memory at 0xff200000 - 0xffdfffff. The default 2MB size isn't | ||
| 72 | * enough to allocate the frame buffer memory. | ||
| 73 | */ | ||
| 74 | init_consistent_dma_size(12 << 20); | ||
| 75 | } | 69 | } |
| 76 | 70 | ||
| 77 | /* SCIFA0 */ | 71 | /* SCIFA0 */ |
diff --git a/arch/arm/mach-shmobile/setup-sh7372.c b/arch/arm/mach-shmobile/setup-sh7372.c index a07954fbcd2..be6f746c97f 100644 --- a/arch/arm/mach-shmobile/setup-sh7372.c +++ b/arch/arm/mach-shmobile/setup-sh7372.c | |||
| @@ -58,12 +58,6 @@ static struct map_desc sh7372_io_desc[] __initdata = { | |||
| 58 | void __init sh7372_map_io(void) | 58 | void __init sh7372_map_io(void) |
| 59 | { | 59 | { |
| 60 | iotable_init(sh7372_io_desc, ARRAY_SIZE(sh7372_io_desc)); | 60 | iotable_init(sh7372_io_desc, ARRAY_SIZE(sh7372_io_desc)); |
| 61 | |||
| 62 | /* | ||
| 63 | * DMA memory at 0xff200000 - 0xffdfffff. The default 2MB size isn't | ||
| 64 | * enough to allocate the frame buffer memory. | ||
| 65 | */ | ||
| 66 | init_consistent_dma_size(12 << 20); | ||
| 67 | } | 61 | } |
| 68 | 62 | ||
| 69 | /* SCIFA0 */ | 63 | /* SCIFA0 */ |
