diff options
Diffstat (limited to 'arch/arm/mach-shmobile/setup-r8a7740.c')
-rw-r--r-- | arch/arm/mach-shmobile/setup-r8a7740.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/setup-r8a7740.c b/arch/arm/mach-shmobile/setup-r8a7740.c index 34a1548dbda6..ec4eb49c1693 100644 --- a/arch/arm/mach-shmobile/setup-r8a7740.c +++ b/arch/arm/mach-shmobile/setup-r8a7740.c | |||
@@ -18,6 +18,7 @@ | |||
18 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | 18 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
19 | */ | 19 | */ |
20 | #include <linux/delay.h> | 20 | #include <linux/delay.h> |
21 | #include <linux/dma-mapping.h> | ||
21 | #include <linux/kernel.h> | 22 | #include <linux/kernel.h> |
22 | #include <linux/init.h> | 23 | #include <linux/init.h> |
23 | #include <linux/io.h> | 24 | #include <linux/io.h> |
@@ -60,6 +61,12 @@ static struct map_desc r8a7740_io_desc[] __initdata = { | |||
60 | void __init r8a7740_map_io(void) | 61 | void __init r8a7740_map_io(void) |
61 | { | 62 | { |
62 | iotable_init(r8a7740_io_desc, ARRAY_SIZE(r8a7740_io_desc)); | 63 | iotable_init(r8a7740_io_desc, ARRAY_SIZE(r8a7740_io_desc)); |
64 | |||
65 | /* | ||
66 | * DMA memory at 0xff200000 - 0xffdfffff. The default 2MB size isn't | ||
67 | * enough to allocate the frame buffer memory. | ||
68 | */ | ||
69 | init_consistent_dma_size(12 << 20); | ||
63 | } | 70 | } |
64 | 71 | ||
65 | /* SCIFA0 */ | 72 | /* SCIFA0 */ |