]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00155147 mx5x mx6x: adjust dma zone max size to 184M
authorJason Chen <b02280@freescale.com>
Tue, 6 Sep 2011 05:04:03 +0000 (13:04 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:33:12 +0000 (08:33 +0200)
adjust dma zone max size to 184M.
keep default size as 96M.

Signed-off-by: Jason Chen <b02280@freescale.com>
arch/arm/mach-mx5/Kconfig
arch/arm/mach-mx6/Kconfig
arch/arm/plat-mxc/Kconfig
arch/arm/plat-mxc/include/mach/hardware.h [changed mode: 0644->0755]
arch/arm/plat-mxc/include/mach/memory.h
arch/arm/plat-mxc/include/mach/vmalloc.h

index 36197c6a08af54bc05041815d9e5dd06bb7920f1..acac8d329e4a0da6a7c0b68774c94d26c91850d3 100755 (executable)
@@ -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
index d6dc1cb6337533536ab2fb4648320229021d3e03..ccd3a33218823c496981a9a3be595e9ec99177f7 100644 (file)
@@ -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
index 3558748ffcca8ac8c7ab1d61d65d121dc7497125..e708ed448585b66b2cae0c1d207057d933575f0d 100755 (executable)
@@ -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
old mode 100644 (file)
new mode 100755 (executable)
index b40891f..ef96455
@@ -88,7 +88,7 @@
  *     AIPS2   0x83f00000+0x100000     ->      0xf4300000+0x100000
  */
 #define IMX_IO_P2V(x)  (                                               \
-                       0xf4000000 +                                    \
+                       0xf2000000 +                                    \
                        (((x) & 0x50000000) >> 6) +                     \
                        (((x) & 0x0b000000) >> 4) +                     \
                        (((x) & 0x000fffff)))
index e33df1969e9e660702916d9ac39f46909d7dd73c..5a17215929004e9620581ffcfee7ee93430bce1d 100755 (executable)
@@ -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)
index ef6379c474be8a66656583cca426bd7b23386f6a..44ea15a840f21c286581913a6ec37fdc4e6db044 100644 (file)
@@ -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__ */