summaryrefslogtreecommitdiffstats
path: root/include/configs/mx6_common.h
diff options
context:
space:
mode:
authorPeter Robinson <pbrobinson@gmail.com>2015-05-22 17:30:53 +0100
committerStefano Babic <sbabic@denx.de>2015-05-26 15:58:57 +0200
commit1022b85cb0e143b4f3a8e6c7d9258d516920d464 (patch)
treecfda598717ac25b13e00037b7c5f55ce262e489f /include/configs/mx6_common.h
parente51c1e8eced7f1661994bd3e1caf0ca032455b3e (diff)
downloadtalos-obmc-uboot-1022b85cb0e143b4f3a8e6c7d9258d516920d464.tar.gz
talos-obmc-uboot-1022b85cb0e143b4f3a8e6c7d9258d516920d464.zip
mx6: standardise CONFIG_CMD_CACHE
Move CONFIG_CMD_CACHE to mx6_common and standardise the way it's defined. Signed-off-by: Peter Robinson <pbrobinson@gmail.com> Reviewed-by: Tom Rini <trini at konsulko.com>
Diffstat (limited to 'include/configs/mx6_common.h')
-rw-r--r--include/configs/mx6_common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/mx6_common.h b/include/configs/mx6_common.h
index c9cd648a1e..233c6d2e88 100644
--- a/include/configs/mx6_common.h
+++ b/include/configs/mx6_common.h
@@ -89,6 +89,10 @@
#define CONFIG_SYS_MAXARGS 32
#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
+#ifndef CONFIG_SYS_DCACHE_OFF
+#define CONFIG_CMD_CACHE
+#endif
+
/* GPIO */
#define CONFIG_MXC_GPIO
#define CONFIG_CMD_GPIO
OpenPOWER on IntegriCloud