All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [RFC/PATCH] davinci: disable dcache on boards with EMAC
@ 2011-11-11 21:56 Ilya Yanok
  2011-11-11 22:10 ` Andy Fleming
  2011-11-27 15:09 ` [U-Boot] [RFC/PATCH] " Wolfgang Denk
  0 siblings, 2 replies; 27+ messages in thread
From: Ilya Yanok @ 2011-11-11 21:56 UTC (permalink / raw)
  To: u-boot

DaVinci EMAC driver has no support for running with D-Cache enabled so
disable D-Cache on all DaVinci boards with EMAC device.

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
---

I can't test it on any DaVinci boards right now but my understanding
is that currently EMAC driver can't work properly with D-Cache enabled.

 include/configs/da830evm.h          |    1 +
 include/configs/davinci_dm365evm.h  |    1 +
 include/configs/davinci_dm6467evm.h |    1 +
 include/configs/davinci_dvevm.h     |    1 +
 include/configs/davinci_schmoogie.h |    1 +
 include/configs/davinci_sffsdr.h    |    1 +
 include/configs/davinci_sonata.h    |    1 +
 include/configs/ea20.h              |    1 +
 include/configs/hawkboard.h         |    1 +
 9 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/include/configs/da830evm.h b/include/configs/da830evm.h
index 6ac25d2..aa02c8d 100644
--- a/include/configs/da830evm.h
+++ b/include/configs/da830evm.h
@@ -43,6 +43,7 @@
 #define CONFIG_SYS_HZ			1000
 #define CONFIG_SKIP_LOWLEVEL_INIT
 #define CONFIG_SYS_TEXT_BASE		0xc1080000
+#define CONFIG_SYS_DCACHE_OFF
 
 /*
  * Memory Info
diff --git a/include/configs/davinci_dm365evm.h b/include/configs/davinci_dm365evm.h
index cb6ed24..f2171b5 100644
--- a/include/configs/davinci_dm365evm.h
+++ b/include/configs/davinci_dm365evm.h
@@ -33,6 +33,7 @@
 #define CONFIG_SYS_HZ_CLOCK		24000000	/* timer0 freq */
 #define CONFIG_SYS_HZ			1000
 #define CONFIG_SOC_DM365
+#define CONFIG_SYS_DCACHE_OFF
 
 /* Memory Info */
 #define CONFIG_NR_DRAM_BANKS		1
diff --git a/include/configs/davinci_dm6467evm.h b/include/configs/davinci_dm6467evm.h
index ec1c31c..a35e850 100644
--- a/include/configs/davinci_dm6467evm.h
+++ b/include/configs/davinci_dm6467evm.h
@@ -44,6 +44,7 @@ extern unsigned int davinci_arm_clk_get(void);
 #define CONFIG_SYS_TIMERBASE		0x01c21400	/* use timer 0 */
 #define CONFIG_SYS_HZ			1000
 #define CONFIG_SOC_DM646X
+#define CONFIG_SYS_DCACHE_OFF
 
 /* EEPROM definitions for EEPROM */
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN		2
diff --git a/include/configs/davinci_dvevm.h b/include/configs/davinci_dvevm.h
index c052517..f9b39f6 100644
--- a/include/configs/davinci_dvevm.h
+++ b/include/configs/davinci_dvevm.h
@@ -60,6 +60,7 @@
 #define CONFIG_SYS_HZ_CLOCK		27000000	/* Timer Input clock freq */
 #define CONFIG_SYS_HZ			1000
 #define CONFIG_SOC_DM644X
+#define CONFIG_SYS_DCACHE_OFF
 /*====================================================*/
 /* EEPROM definitions for Atmel 24C256BN SEEPROM chip */
 /* on Sonata/DV_EVM board. No EEPROM on schmoogie.    */
diff --git a/include/configs/davinci_schmoogie.h b/include/configs/davinci_schmoogie.h
index 5eaa198..cc2e540 100644
--- a/include/configs/davinci_schmoogie.h
+++ b/include/configs/davinci_schmoogie.h
@@ -35,6 +35,7 @@
 #define CONFIG_SYS_HZ_CLOCK		27000000	/* Timer Input clock freq */
 #define CONFIG_SYS_HZ			1000
 #define CONFIG_SOC_DM644X
+#define CONFIG_SYS_DCACHE_OFF
 /*=============*/
 /* Memory Info */
 /*=============*/
diff --git a/include/configs/davinci_sffsdr.h b/include/configs/davinci_sffsdr.h
index 0c65391..530ac5b 100644
--- a/include/configs/davinci_sffsdr.h
+++ b/include/configs/davinci_sffsdr.h
@@ -35,6 +35,7 @@
 #define CONFIG_SYS_HZ_CLOCK		27000000	/* Timer Input clock freq */
 #define CONFIG_SYS_HZ			1000
 #define CONFIG_SOC_DM644X
+#define CONFIG_SYS_DCACHE_OFF
 /* EEPROM definitions for Atmel 24LC64 EEPROM chip */
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN		2
 #define CONFIG_SYS_I2C_EEPROM_ADDR		0x50
diff --git a/include/configs/davinci_sonata.h b/include/configs/davinci_sonata.h
index 74530e8..f0fd389 100644
--- a/include/configs/davinci_sonata.h
+++ b/include/configs/davinci_sonata.h
@@ -60,6 +60,7 @@
 #define CONFIG_SYS_HZ_CLOCK		27000000	/* Timer Input clock freq */
 #define CONFIG_SYS_HZ			1000
 #define CONFIG_SOC_DM644X
+#define CONFIG_SYS_DCACHE_OFF
 /*====================================================*/
 /* EEPROM definitions for Atmel 24C256BN SEEPROM chip */
 /* on Sonata/DV_EVM board. No EEPROM on schmoogie.    */
diff --git a/include/configs/ea20.h b/include/configs/ea20.h
index 74fec3f..31ad338 100644
--- a/include/configs/ea20.h
+++ b/include/configs/ea20.h
@@ -48,6 +48,7 @@
 #define CONFIG_SYS_HZ			1000
 #define CONFIG_SKIP_LOWLEVEL_INIT
 #define CONFIG_SYS_TEXT_BASE		0xc1080000
+#define CONFIG_SYS_DCACHE_OFF
 
 /*
  * Memory Info
diff --git a/include/configs/hawkboard.h b/include/configs/hawkboard.h
index 638643a..3230142 100644
--- a/include/configs/hawkboard.h
+++ b/include/configs/hawkboard.h
@@ -47,6 +47,7 @@
 #else
 #define CONFIG_SYS_TEXT_BASE		0xc1180000
 #endif
+#define CONFIG_SYS_DCACHE_OFF
 
 /*
  * Memory Info
-- 
1.7.6.4

^ permalink raw reply related	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2011-11-29  7:58 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-11 21:56 [U-Boot] [RFC/PATCH] davinci: disable dcache on boards with EMAC Ilya Yanok
2011-11-11 22:10 ` Andy Fleming
2011-11-11 23:53   ` Tom Rini
2011-11-14 14:07     ` Ben Gardiner
2011-11-15  0:09       ` [U-Boot] [PATCH V2] " Ilya Yanok
2011-11-27 15:09         ` Wolfgang Denk
2011-11-27 15:09 ` [U-Boot] [RFC/PATCH] " Wolfgang Denk
2011-11-27 16:41   ` Tom Rini
2011-11-27 18:09     ` Wolfgang Denk
2011-11-27 18:18       ` Tom Rini
2011-11-27 18:43         ` Wolfgang Denk
2011-11-27 18:51           ` Tom Rini
2011-11-27 19:16             ` Wolfgang Denk
2011-11-27 18:37       ` Ilya Yanok
2011-11-27 18:49         ` Wolfgang Denk
2011-11-27 19:22           ` Ilya Yanok
2011-11-27 19:36             ` Wolfgang Denk
2011-11-28 12:56               ` Albert ARIBAUD
2011-11-28 16:45                 ` Ilya Yanok
2011-11-28 12:06     ` Christian Riesch
2011-11-28 14:53       ` Tom Rini
2011-11-28 15:43         ` Christian Riesch
2011-11-28 15:59           ` Wolfgang Denk
2011-11-29  7:56             ` Christian Riesch
2011-11-28 16:02           ` Ilya Yanok
2011-11-28 16:36             ` Wolfgang Denk
2011-11-29  7:58             ` Christian Riesch

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.