summaryrefslogtreecommitdiffstats
path: root/include/configs/zipitz2.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-10-30 13:38:53 +0000
committerTom Warren <twarren@nvidia.com>2012-11-19 08:15:34 -0700
commit899590816a498beb771bc85f96a019cc91bcab3d (patch)
treee6f5c37e825cd283eaa50aedd3f4676d4b3fd8bf /include/configs/zipitz2.h
parent7a5337732e3e05b2b0de1b592fa031b2c7b4f632 (diff)
downloadtalos-obmc-uboot-899590816a498beb771bc85f96a019cc91bcab3d.tar.gz
talos-obmc-uboot-899590816a498beb771bc85f96a019cc91bcab3d.zip
pxa: Disable dcache on palmld, palmtc, zipitz2
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>
Diffstat (limited to 'include/configs/zipitz2.h')
-rw-r--r--include/configs/zipitz2.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/zipitz2.h b/include/configs/zipitz2.h
index bf6394a90a..b92f70b538 100644
--- a/include/configs/zipitz2.h
+++ b/include/configs/zipitz2.h
@@ -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
OpenPOWER on IntegriCloud