diff options
author | Jon Medhurst <tixy@yxit.co.uk> | 2011-08-04 12:05:21 -0400 |
---|---|---|
committer | Jon Medhurst <tixy@yxit.co.uk> | 2011-08-22 08:00:12 -0400 |
commit | 9b742024026c5214ab9d75db672b8e984526be70 (patch) | |
tree | 792703d92102dd399291be4f8a2db0d607b3a1bf /arch/arm/mach-shmobile/board-mackerel.c | |
parent | 2d5e975b2194eb1326ea0b90db1e21da7be17708 (diff) |
ARM: mach-shmobile: Setup consistent dma size at boot time
Signed-off-by: Jon Medhurst <tixy@yxit.co.uk>
CC: Paul Mundt <lethal@linux-sh.org>
CC: Magnus Damm <magnus.damm@gmail.com>
Diffstat (limited to 'arch/arm/mach-shmobile/board-mackerel.c')
-rw-r--r-- | arch/arm/mach-shmobile/board-mackerel.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/board-mackerel.c b/arch/arm/mach-shmobile/board-mackerel.c index d41c01f83f15..671925dcf5f9 100644 --- a/arch/arm/mach-shmobile/board-mackerel.c +++ b/arch/arm/mach-shmobile/board-mackerel.c | |||
@@ -45,6 +45,7 @@ | |||
45 | #include <linux/tca6416_keypad.h> | 45 | #include <linux/tca6416_keypad.h> |
46 | #include <linux/usb/r8a66597.h> | 46 | #include <linux/usb/r8a66597.h> |
47 | #include <linux/usb/renesas_usbhs.h> | 47 | #include <linux/usb/renesas_usbhs.h> |
48 | #include <linux/dma-mapping.h> | ||
48 | 49 | ||
49 | #include <video/sh_mobile_hdmi.h> | 50 | #include <video/sh_mobile_hdmi.h> |
50 | #include <video/sh_mobile_lcdc.h> | 51 | #include <video/sh_mobile_lcdc.h> |
@@ -1377,6 +1378,8 @@ static struct map_desc mackerel_io_desc[] __initdata = { | |||
1377 | static void __init mackerel_map_io(void) | 1378 | static void __init mackerel_map_io(void) |
1378 | { | 1379 | { |
1379 | iotable_init(mackerel_io_desc, ARRAY_SIZE(mackerel_io_desc)); | 1380 | iotable_init(mackerel_io_desc, ARRAY_SIZE(mackerel_io_desc)); |
1381 | /* DMA memory at 0xf6000000 - 0xffdfffff */ | ||
1382 | init_consistent_dma_size(158 << 20); | ||
1380 | 1383 | ||
1381 | /* setup early devices and console here as well */ | 1384 | /* setup early devices and console here as well */ |
1382 | sh7372_add_early_devices(); | 1385 | sh7372_add_early_devices(); |