diff options
Diffstat (limited to 'arch/arm/plat-omap/common.c')
-rw-r--r-- | arch/arm/plat-omap/common.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/common.c b/arch/arm/plat-omap/common.c index d9f10a31e604..2ee6341fffdb 100644 --- a/arch/arm/plat-omap/common.c +++ b/arch/arm/plat-omap/common.c | |||
@@ -14,6 +14,7 @@ | |||
14 | #include <linux/kernel.h> | 14 | #include <linux/kernel.h> |
15 | #include <linux/init.h> | 15 | #include <linux/init.h> |
16 | #include <linux/io.h> | 16 | #include <linux/io.h> |
17 | #include <linux/dma-mapping.h> | ||
17 | #include <linux/omapfb.h> | 18 | #include <linux/omapfb.h> |
18 | 19 | ||
19 | #include <plat/common.h> | 20 | #include <plat/common.h> |
@@ -66,3 +67,10 @@ void __init omap_reserve(void) | |||
66 | omap_vram_reserve_sdram_memblock(); | 67 | omap_vram_reserve_sdram_memblock(); |
67 | omap_dsp_reserve_sdram_memblock(); | 68 | omap_dsp_reserve_sdram_memblock(); |
68 | } | 69 | } |
70 | |||
71 | void __init omap_init_consistent_dma_size(void) | ||
72 | { | ||
73 | #ifdef CONFIG_FB_OMAP_CONSISTENT_DMA_SIZE | ||
74 | init_consistent_dma_size(CONFIG_FB_OMAP_CONSISTENT_DMA_SIZE << 20); | ||
75 | #endif | ||
76 | } | ||