|
@@ -12,6 +12,7 @@
|
|
|
#include <linux/module.h>
|
|
|
#include <linux/io.h>
|
|
|
#include <linux/mm.h>
|
|
|
+#include <linux/dma-mapping.h>
|
|
|
|
|
|
#include <plat/omap7xx.h>
|
|
|
#include <plat/omap1510.h>
|
|
@@ -139,3 +140,10 @@ void omap_iounmap(volatile void __iomem *addr)
|
|
|
__iounmap(addr);
|
|
|
}
|
|
|
EXPORT_SYMBOL(omap_iounmap);
|
|
|
+
|
|
|
+void __init omap_init_consistent_dma_size(void)
|
|
|
+{
|
|
|
+#ifdef CONFIG_FB_OMAP_CONSISTENT_DMA_SIZE
|
|
|
+ init_consistent_dma_size(CONFIG_FB_OMAP_CONSISTENT_DMA_SIZE << 20);
|
|
|
+#endif
|
|
|
+}
|