diff options
author | Jon Medhurst <tixy@yxit.co.uk> | 2011-08-04 17:05:21 +0100 |
---|---|---|
committer | Jon Medhurst <tixy@yxit.co.uk> | 2011-08-22 12:00:12 +0000 |
commit | 9b742024026c5214ab9d75db672b8e984526be70 (patch) | |
tree | 792703d92102dd399291be4f8a2db0d607b3a1bf /arch/arm/mach-shmobile/board-ap4evb.c | |
parent | 2d5e975b2194eb1326ea0b90db1e21da7be17708 (diff) | |
download | blackbird-obmc-linux-9b742024026c5214ab9d75db672b8e984526be70.tar.gz blackbird-obmc-linux-9b742024026c5214ab9d75db672b8e984526be70.zip |
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-ap4evb.c')
-rw-r--r-- | arch/arm/mach-shmobile/board-ap4evb.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/board-ap4evb.c b/arch/arm/mach-shmobile/board-ap4evb.c index 9e0856b2f9e9..ec8f9d960e27 100644 --- a/arch/arm/mach-shmobile/board-ap4evb.c +++ b/arch/arm/mach-shmobile/board-ap4evb.c @@ -42,6 +42,7 @@ #include <linux/leds.h> #include <linux/input/sh_keysc.h> #include <linux/usb/r8a66597.h> +#include <linux/dma-mapping.h> #include <media/sh_mobile_ceu.h> #include <media/sh_mobile_csi2.h> @@ -1170,6 +1171,8 @@ static struct map_desc ap4evb_io_desc[] __initdata = { static void __init ap4evb_map_io(void) { iotable_init(ap4evb_io_desc, ARRAY_SIZE(ap4evb_io_desc)); + /* DMA memory at 0xf6000000 - 0xffdfffff */ + init_consistent_dma_size(158 << 20); /* setup early devices and console here as well */ sh7372_add_early_devices(); |