]> git.karo-electronics.de Git - karo-tx-uboot.git/commitdiff
pxa: Disable dcache on palmld, palmtc, zipitz2
authorSimon Glass <sjg@chromium.org>
Tue, 30 Oct 2012 13:38:53 +0000 (13:38 +0000)
committerTom Warren <twarren@nvidia.com>
Mon, 19 Nov 2012 15:15:34 +0000 (08:15 -0700)
These platforms don't include dcache support. Define CONFIG_SYS_DCACHE_OFF
so that functions don't try to call non-existent routines like
flush_dcache_range().

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
include/configs/palmld.h
include/configs/palmtc.h
include/configs/zipitz2.h

index c5dd494059e2ff922b300cf4e07169b1bc782735..3f9802ca0f52eb9613bbc52ab1ab41a3bef423a8 100644 (file)
@@ -28,6 +28,9 @@
 #define        CONFIG_CPU_PXA27X               1       /* Marvell PXA270 CPU */
 #define        CONFIG_PALMLD           1       /* Palm LifeDrive board */
 
+/* we will never enable dcache, because we have to setup MMU first */
+#define CONFIG_SYS_DCACHE_OFF
+
 /*
  * Environment settings
  */
index 9c948c547355075935c56e64d4dc25dca130d4df..64771e7e8d8967fa22f893e4bc34077e53130f8d 100644 (file)
@@ -30,6 +30,9 @@
 #define        CONFIG_CPU_PXA25X                       1       /* Intel PXA255 CPU */
 #define        CONFIG_PALMTC                   1       /* Palm Tungsten|C board */
 
+/* we will never enable dcache, because we have to setup MMU first */
+#define CONFIG_SYS_DCACHE_OFF
+
 /*
  * Environment settings
  */
index bf6394a90ae90d6cff7bcb8c53008dc71ca50847..b92f70b538d72552572e038e697206ad6b7d9858 100644 (file)
@@ -41,6 +41,9 @@
 #define CONFIG_ENV_ADDR                        0x40000
 #define CONFIG_ENV_SIZE                        0x20000
 
+/* we will never enable dcache, because we have to setup MMU first */
+#define CONFIG_SYS_DCACHE_OFF
+
 #define        CONFIG_SYS_MALLOC_LEN           (128*1024)
 #define        CONFIG_ARCH_CPU_INIT