The only thing omap_init_consistent_dma_size() does is increase the consistent DMA size if CONFIG_FB_OMAP_CONSISTENT_DMA_SIZE is defined. Increasing the consistent DMA size should no longer be needed with CMA in place. This patch removes omap_init_consistent_dma_size() and also arch/arm/mach-omap2/io.c:omap_common_init_early() which becomes an empty function. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com> [tony@atomide.com: updated for moved dma.h] Signed-off-by: Tony Lindgren <tony@atomide.com>tirimbino
parent
873e698067
commit
6ba54ab4a4
@ -1,26 +0,0 @@ |
||||
/*
|
||||
* linux/arch/arm/plat-omap/common.c |
||||
* |
||||
* Code common to all OMAP machines. |
||||
* The file is created by Tony Lindgren <tony@atomide.com> |
||||
* |
||||
* Copyright (C) 2009 Texas Instruments |
||||
* Added OMAP4 support - Santosh Shilimkar <santosh.shilimkar@ti.com> |
||||
* |
||||
* This program is free software; you can redistribute it and/or modify |
||||
* it under the terms of the GNU General Public License version 2 as |
||||
* published by the Free Software Foundation. |
||||
*/ |
||||
#include <linux/kernel.h> |
||||
#include <linux/init.h> |
||||
#include <linux/io.h> |
||||
#include <linux/dma-mapping.h> |
||||
|
||||
#include <plat-omap/dma-omap.h> |
||||
|
||||
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 |
||||
} |
Loading…
Reference in new issue