ARM: kirkwood: disable dcache for Kirkwood boards
[oweals/u-boot.git] / arch / arm / mach-kirkwood / include / mach / config.h
index fcd903887bff15f1c46a17f1dfa48508ae743da1..aea60688c2d3c3f3d5c2548cfbd6519506f925b1 100644 (file)
 #define CONFIG_KIRKWOOD_EGIGA_INIT     /* Enable GbePort0/1 for kernel */
 #define CONFIG_KIRKWOOD_RGMII_PAD_1V8  /* Set RGMII Pad voltage to 1.8V */
 #define CONFIG_KIRKWOOD_PCIE_INIT       /* Enable PCIE Port0 for kernel */
+/*
+ * Disable the dcache. Currently the network driver (mvgbe.c) and USB
+ * EHCI driver (ehci-marvell.c) and possibly others rely on the data
+ * cache being disabled.
+ */
+#define CONFIG_SYS_DCACHE_OFF
 
 /*
  * By default kwbimage.cfg from board specific folder is used