From fd24f903182b3f2cda39d95574e45aa8983e5770 Mon Sep 17 00:00:00 2001 From: Jon Medhurst Date: Thu, 4 Aug 2011 14:51:45 +0100 Subject: ARM: mach-davinci: Setup consistent dma size at boot time Signed-off-by: Jon Medhurst CC: Sekhar Nori CC: Kevin Hilman --- arch/arm/mach-davinci/common.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'arch/arm/mach-davinci/common.c') diff --git a/arch/arm/mach-davinci/common.c b/arch/arm/mach-davinci/common.c index 1d2557394235..865ffe5899ac 100644 --- a/arch/arm/mach-davinci/common.c +++ b/arch/arm/mach-davinci/common.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include @@ -86,6 +87,8 @@ void __init davinci_common_init(struct davinci_soc_info *soc_info) iotable_init(davinci_soc_info.io_desc, davinci_soc_info.io_desc_num); + init_consistent_dma_size(14 << 20); + /* * Normally devicemaps_init() would flush caches and tlb after * mdesc->map_io(), but we must also do it here because of the CPU -- cgit v1.2.3