]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/commitdiff
ARM: shmobile: remove obsoleted init_consistent_dma_size()
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 8 Nov 2012 07:46:20 +0000 (08:46 +0100)
committerArnd Bergmann <arnd@arndb.de>
Tue, 13 Nov 2012 09:13:21 +0000 (10:13 +0100)
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
CC: Paul Mundt <lethal@linux-sh.org>
CC: Magnus Damm <magnus.damm@gmail.com>
arch/arm/mach-shmobile/setup-r8a7740.c
arch/arm/mach-shmobile/setup-sh7372.c

index 11bb1d9841975ef9be12c1591fae32c80903b55e..96f11394c7c0d0fbd348f0f6178027ceb9cc53ea 100644 (file)
@@ -66,12 +66,6 @@ static struct map_desc r8a7740_io_desc[] __initdata = {
 void __init r8a7740_map_io(void)
 {
        iotable_init(r8a7740_io_desc, ARRAY_SIZE(r8a7740_io_desc));
-
-       /*
-        * DMA memory at 0xff200000 - 0xffdfffff. The default 2MB size isn't
-        * enough to allocate the frame buffer memory.
-        */
-       init_consistent_dma_size(12 << 20);
 }
 
 /* SCIFA0 */
index a07954fbcd22b9017b588ef1f745bddf101bf419..be6f746c97fa3c9b20fd900a5ed586f6dc42803c 100644 (file)
@@ -58,12 +58,6 @@ static struct map_desc sh7372_io_desc[] __initdata = {
 void __init sh7372_map_io(void)
 {
        iotable_init(sh7372_io_desc, ARRAY_SIZE(sh7372_io_desc));
-
-       /*
-        * DMA memory at 0xff200000 - 0xffdfffff. The default 2MB size isn't
-        * enough to allocate the frame buffer memory.
-        */
-       init_consistent_dma_size(12 << 20);
 }
 
 /* SCIFA0 */