summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorJason Chen <b02280@freescale.com>2011-09-06 13:04:03 +0800
committerJason Liu <r64343@freescale.com>2012-07-20 13:16:03 +0800
commitca8cdb9a625c834ffcd4d2e914260716dd5cd773 (patch)
treee457c00f48f710b9dca7c2c5158c46e58cac4fb7 /arch
parente533b8d6e58405a124a344cb6518e19b79e4a5cb (diff)
ENGR00155147 mx5x mx6x: adjust dma zone max size to 184M
adjust dma zone max size to 184M. keep default size as 96M. Signed-off-by: Jason Chen <b02280@freescale.com>
Diffstat (limited to 'arch')
-rwxr-xr-xarch/arm/mach-mx5/Kconfig8
-rw-r--r--arch/arm/mach-mx6/Kconfig7
-rwxr-xr-xarch/arm/plat-mxc/Kconfig8
-rwxr-xr-x[-rw-r--r--]arch/arm/plat-mxc/include/mach/hardware.h2
-rwxr-xr-xarch/arm/plat-mxc/include/mach/memory.h4
-rw-r--r--arch/arm/plat-mxc/include/mach/vmalloc.h4
6 files changed, 12 insertions, 21 deletions
diff --git a/arch/arm/mach-mx5/Kconfig b/arch/arm/mach-mx5/Kconfig
index 36197c6a08af..acac8d329e4a 100755
--- a/arch/arm/mach-mx5/Kconfig
+++ b/arch/arm/mach-mx5/Kconfig
@@ -260,12 +260,4 @@ config MACH_IMX_BLUETOOTH_RFKILL
depends on RFKILL
---help---
Say Y to get the standard rfkill interface of Bluetooth
-
-config DMA_ZONE_SIZE
- int "DMA memory zone size"
- range 0 96
- default 24
- help
- This is the size in MB for the DMA zone. The DMA zone is used for
- dedicated memory for large contiguous video buffers
endif
diff --git a/arch/arm/mach-mx6/Kconfig b/arch/arm/mach-mx6/Kconfig
index d6dc1cb63375..ccd3a3321882 100644
--- a/arch/arm/mach-mx6/Kconfig
+++ b/arch/arm/mach-mx6/Kconfig
@@ -53,11 +53,4 @@ config MACH_MX6Q_SABREAUTO
comment "MX6 Options:"
-config DMA_ZONE_SIZE
- int "DMA memory zone size"
- range 0 184
- default 24
- help
- This is the size in MB for the DMA zone. The DMA zone is used for
- dedicated memory for large contiguous video buffers
endif
diff --git a/arch/arm/plat-mxc/Kconfig b/arch/arm/plat-mxc/Kconfig
index 3558748ffcca..e708ed448585 100755
--- a/arch/arm/plat-mxc/Kconfig
+++ b/arch/arm/plat-mxc/Kconfig
@@ -151,4 +151,12 @@ config CLK_DEBUG
help
export clk debug information to user space
+config DMA_ZONE_SIZE
+ int "DMA memory zone size"
+ range 0 184
+ default 24
+ help
+ This is the size in MB for the DMA zone. The DMA zone is used for
+ dedicated memory for large contiguous video buffers
+
endif
diff --git a/arch/arm/plat-mxc/include/mach/hardware.h b/arch/arm/plat-mxc/include/mach/hardware.h
index b40891f92750..ef964551b0ea 100644..100755
--- a/arch/arm/plat-mxc/include/mach/hardware.h
+++ b/arch/arm/plat-mxc/include/mach/hardware.h
@@ -88,7 +88,7 @@
* AIPS2 0x83f00000+0x100000 -> 0xf4300000+0x100000
*/
#define IMX_IO_P2V(x) ( \
- 0xf4000000 + \
+ 0xf2000000 + \
(((x) & 0x50000000) >> 6) + \
(((x) & 0x0b000000) >> 4) + \
(((x) & 0x000fffff)))
diff --git a/arch/arm/plat-mxc/include/mach/memory.h b/arch/arm/plat-mxc/include/mach/memory.h
index e33df1969e9e..5a1721592900 100755
--- a/arch/arm/plat-mxc/include/mach/memory.h
+++ b/arch/arm/plat-mxc/include/mach/memory.h
@@ -63,9 +63,7 @@
#define CONSISTENT_DMA_SIZE SZ_4M
#else
-#if defined(CONFIG_ARCH_MX5)
-#define CONSISTENT_DMA_SIZE (96 * SZ_1M)
-#elif defined(CONFIG_ARCH_MX6)
+#if defined(CONFIG_ARCH_MX5) || defined(CONFIG_ARCH_MX6)
#define CONSISTENT_DMA_SIZE (184 * SZ_1M)
#else
#define CONSISTENT_DMA_SIZE (32 * SZ_1M)
diff --git a/arch/arm/plat-mxc/include/mach/vmalloc.h b/arch/arm/plat-mxc/include/mach/vmalloc.h
index ef6379c474be..44ea15a840f2 100644
--- a/arch/arm/plat-mxc/include/mach/vmalloc.h
+++ b/arch/arm/plat-mxc/include/mach/vmalloc.h
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2000 Russell King.
- * Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved.
+ * Copyright 2004-2011 Freescale Semiconductor, Inc. All Rights Reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -17,6 +17,6 @@
#define __ASM_ARCH_MXC_VMALLOC_H__
/* vmalloc ending address */
-#define VMALLOC_END 0xf4000000UL
+#define VMALLOC_END 0xf2000000UL
#endif /* __ASM_ARCH_MXC_VMALLOC_H__ */