Skip to contentSkip to conversation

mx6qsabrelite: enable DCache and MMC bounce buffer

PATCH New Dirk Behme 2 participants 3 messages Aug 8, 2012 – Oct 17, 2012

lore
Share & tools
lore

Dirk Behme

author
#0 lore raw

PATCH 1/1 mx6qsabrelite: enable DCache and MMC bounce buffer

The recent U-Boot version 2012.07 has improved drivers (e.g. MMC and network/FEC) regarding DCache handling. So it should be safe to use the DCache on the i.MX6, now.

---
 include/configs/mx6qsabrelite.h |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
include/configs/mx6qsabrelite.h +1 -2
index 0d376ba..995539c 100644
@@ -73,6 +73,7 @@
 #define CONFIG_MMC
 #define CONFIG_CMD_MMC
 #define CONFIG_GENERIC_MMC
+#define CONFIG_MMC_BOUNCE_BUFFER
 #define CONFIG_CMD_EXT2
 #define CONFIG_CMD_FAT
 #define CONFIG_DOS_PARTITION
@@ -233,8 +234,6 @@
 #define CONFIG_OF_LIBFDT
 #define CONFIG_CMD_BOOTZ
 
-#define CONFIG_SYS_DCACHE_OFF
-
 #ifndef CONFIG_SYS_DCACHE_OFF
 #define CONFIG_CMD_CACHE
 #endif
Signature · 1 line
1.7.0.4
#1 lore raw

PATCH 1/1 mx6qsabrelite: enable DCache and MMC bounce buffer

Quoted 22 lines · Dirk Behme

The recent U-Boot version 2012.07 has improved drivers (e.g. MMC and network/FEC) regarding DCache handling. So it should be safe to use the DCache on the i.MX6, now.

---
 include/configs/mx6qsabrelite.h |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
include/configs/mx6qsabrelite.h +1 -0
index 0d376ba..995539c 100644
@@ -73,6 +73,7 @@
 #define CONFIG_MMC
 #define CONFIG_CMD_MMC
 #define CONFIG_GENERIC_MMC
+#define CONFIG_MMC_BOUNCE_BUFFER
 #define CONFIG_CMD_EXT2
 #define CONFIG_CMD_FAT
 #define CONFIG_DOS_PARTITION

include/configs/mx6qsabrelite.h line 239

Quoted 8 lines
include/configs/mx6qsabrelite.h +0 -2
@@ -233,8 +234,6 @@
 #define CONFIG_OF_LIBFDT
 #define CONFIG_CMD_BOOTZ
 
-#define CONFIG_SYS_DCACHE_OFF
-
 #ifndef CONFIG_SYS_DCACHE_OFF
 #define CONFIG_CMD_CACHE
 #endif

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
#2 lore raw

PATCH 1/1 mx6qsabrelite: enable DCache and MMC bounce buffer

In reply to Dirk Behme

Am 08/08/2012 14:26, schrieb Dirk Behme:

Quoted 6 lines

The recent U-Boot version 2012.07 has improved drivers (e.g. MMC and network/FEC) regarding DCache handling. So it should be safe to use the DCache on the i.MX6, now.

---

Applied to u-boot-imx, thanks. Sorry for delay, I missed this patch.

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================