summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5pv210/cpu.c
diff options
context:
space:
mode:
authorJon Medhurst <tixy@yxit.co.uk>2011-08-04 14:39:20 +0100
committerJon Medhurst <tixy@yxit.co.uk>2011-08-22 12:00:11 +0000
commita06a58abec1980b0fffbd07930aad6e7185d7a90 (patch)
tree5d23a44346f4bcf0355506265b47426dfbd3e5de /arch/arm/mach-s5pv210/cpu.c
parentd9c295ad35ff9305d366ef6f72ee429d4c8fcf76 (diff)
downloadop-kernel-dev-a06a58abec1980b0fffbd07930aad6e7185d7a90.zip
op-kernel-dev-a06a58abec1980b0fffbd07930aad6e7185d7a90.tar.gz
ARM: mach-s5pv210: Setup consistent dma size at boot time
Signed-off-by: Jon Medhurst <tixy@yxit.co.uk> CC: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s5pv210/cpu.c')
-rw-r--r--arch/arm/mach-s5pv210/cpu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pv210/cpu.c b/arch/arm/mach-s5pv210/cpu.c
index 79907ec..9114572 100644
--- a/arch/arm/mach-s5pv210/cpu.c
+++ b/arch/arm/mach-s5pv210/cpu.c
@@ -20,6 +20,7 @@
#include <linux/sysdev.h>
#include <linux/platform_device.h>
#include <linux/sched.h>
+#include <linux/dma-mapping.h>
#include <asm/mach/arch.h>
#include <asm/mach/map.h>
@@ -119,6 +120,7 @@ static void s5pv210_sw_reset(void)
void __init s5pv210_map_io(void)
{
iotable_init(s5pv210_iodesc, ARRAY_SIZE(s5pv210_iodesc));
+ init_consistent_dma_size(14 << 20);
/* initialise device information early */
s5pv210_default_sdhci0();
OpenPOWER on IntegriCloud