aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/plat-omap/dma.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/dma.c b/arch/arm/plat-omap/dma.c
index 5ec96db83779..049165c9aaad 100644
--- a/arch/arm/plat-omap/dma.c
+++ b/arch/arm/plat-omap/dma.c
@@ -2149,7 +2149,8 @@ static int __init omap_init_dma(void)
2149 DMA_SYSCONFIG_AUTOIDLE); 2149 DMA_SYSCONFIG_AUTOIDLE);
2150 dma_write(v , OCP_SYSCONFIG); 2150 dma_write(v , OCP_SYSCONFIG);
2151 /* reserve dma channels 0 and 1 in high security devices */ 2151 /* reserve dma channels 0 and 1 in high security devices */
2152 if (omap_type() != OMAP2_DEVICE_TYPE_GP) { 2152 if (cpu_is_omap34xx() &&
2153 (omap_type() != OMAP2_DEVICE_TYPE_GP)) {
2153 printk(KERN_INFO "Reserving DMA channels 0 and 1 for " 2154 printk(KERN_INFO "Reserving DMA channels 0 and 1 for "
2154 "HS ROM code\n"); 2155 "HS ROM code\n");
2155 dma_chan[0].dev_id = 0; 2156 dma_chan[0].dev_id = 0;