public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/2] mx6qsabre_common: Enable DCACHE and CONFIG_MMC_BOUNCE_BUFFER
@ 2012-10-17 17:33 Fabio Estevam
  2012-10-17 17:33 ` [U-Boot] [PATCH 2/2] mx6qarm2: " Fabio Estevam
  2012-10-20 15:08 ` [U-Boot] [PATCH 1/2] mx6qsabre_common: " Stefano Babic
  0 siblings, 2 replies; 6+ messages in thread
From: Fabio Estevam @ 2012-10-17 17:33 UTC (permalink / raw)
  To: u-boot

From: Fabio Estevam <fabio.estevam@freescale.com>

Data cache and CONFIG_MMC_BOUNCE_BUFFER can be safely enabled now.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 include/configs/mx6qsabre_common.h |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/include/configs/mx6qsabre_common.h b/include/configs/mx6qsabre_common.h
index e25e943..bfb9cd4 100644
--- a/include/configs/mx6qsabre_common.h
+++ b/include/configs/mx6qsabre_common.h
@@ -45,6 +45,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
@@ -168,8 +169,6 @@
 
 #define CONFIG_OF_LIBFDT
 
-#define CONFIG_SYS_DCACHE_OFF
-
 #ifndef CONFIG_SYS_DCACHE_OFF
 #define CONFIG_CMD_CACHE
 #endif
-- 
1.7.9.5

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

* [U-Boot] [PATCH 2/2] mx6qarm2: Enable DCACHE and CONFIG_MMC_BOUNCE_BUFFER
  2012-10-17 17:33 [U-Boot] [PATCH 1/2] mx6qsabre_common: Enable DCACHE and CONFIG_MMC_BOUNCE_BUFFER Fabio Estevam
@ 2012-10-17 17:33 ` Fabio Estevam
  2012-10-18  2:29   ` Liu Hui-R64343
  2012-10-20 15:08   ` Stefano Babic
  2012-10-20 15:08 ` [U-Boot] [PATCH 1/2] mx6qsabre_common: " Stefano Babic
  1 sibling, 2 replies; 6+ messages in thread
From: Fabio Estevam @ 2012-10-17 17:33 UTC (permalink / raw)
  To: u-boot

From: Fabio Estevam <fabio.estevam@freescale.com>

Data cache and CONFIG_MMC_BOUNCE_BUFFER can be safely enabled now.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 include/configs/mx6qarm2.h |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/include/configs/mx6qarm2.h b/include/configs/mx6qarm2.h
index 965bea3..b425fed 100644
--- a/include/configs/mx6qarm2.h
+++ b/include/configs/mx6qarm2.h
@@ -50,6 +50,7 @@
 #define CONFIG_MMC
 #define CONFIG_CMD_MMC
 #define CONFIG_GENERIC_MMC
+#define CONFIG_MMC_BOUNCE_BUFFER
 #define CONFIG_CMD_FAT
 #define CONFIG_DOS_PARTITION
 
@@ -164,6 +165,4 @@
 #define CONFIG_OF_LIBFDT
 #define CONFIG_CMD_BOOTZ
 
-#define CONFIG_SYS_DCACHE_OFF
-
 #endif				/* __CONFIG_H */
-- 
1.7.9.5

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

* [U-Boot] [PATCH 2/2] mx6qarm2: Enable DCACHE and CONFIG_MMC_BOUNCE_BUFFER
  2012-10-17 17:33 ` [U-Boot] [PATCH 2/2] mx6qarm2: " Fabio Estevam
@ 2012-10-18  2:29   ` Liu Hui-R64343
  2012-10-18 12:27     ` Fabio Estevam
  2012-10-20 15:08   ` Stefano Babic
  1 sibling, 1 reply; 6+ messages in thread
From: Liu Hui-R64343 @ 2012-10-18  2:29 UTC (permalink / raw)
  To: u-boot

>-----Original Message-----
From: u-boot-bounces@lists.denx.de [mailto:u-boot-bounces at lists.denx.de]
>On Behalf Of Fabio Estevam
>Sent: Thursday, October 18, 2012 1:33 AM
>To: sbabic at denx.de
>Cc: Estevam Fabio-R49496; u-boot at lists.denx.de
>Subject: [U-Boot] [PATCH 2/2] mx6qarm2: Enable DCACHE and
>CONFIG_MMC_BOUNCE_BUFFER
>
>From: Fabio Estevam <fabio.estevam@freescale.com>
>
>Data cache and CONFIG_MMC_BOUNCE_BUFFER can be safely enabled now.

Why we need enable CONFIG_MMC_BOUNCE_BUFFER? 

>
>Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
>---
> include/configs/mx6qarm2.h |    3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
>diff --git a/include/configs/mx6qarm2.h b/include/configs/mx6qarm2.h index
>965bea3..b425fed 100644
>--- a/include/configs/mx6qarm2.h
>+++ b/include/configs/mx6qarm2.h
>@@ -50,6 +50,7 @@
> #define CONFIG_MMC
> #define CONFIG_CMD_MMC
> #define CONFIG_GENERIC_MMC
>+#define CONFIG_MMC_BOUNCE_BUFFER
> #define CONFIG_CMD_FAT
> #define CONFIG_DOS_PARTITION
>
>@@ -164,6 +165,4 @@
> #define CONFIG_OF_LIBFDT
> #define CONFIG_CMD_BOOTZ
>
>-#define CONFIG_SYS_DCACHE_OFF
>-
> #endif				/* __CONFIG_H */
>--
>1.7.9.5
>
>_______________________________________________
>U-Boot mailing list
>U-Boot at lists.denx.de
>http://lists.denx.de/mailman/listinfo/u-boot

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

* [U-Boot] [PATCH 2/2] mx6qarm2: Enable DCACHE and CONFIG_MMC_BOUNCE_BUFFER
  2012-10-18  2:29   ` Liu Hui-R64343
@ 2012-10-18 12:27     ` Fabio Estevam
  0 siblings, 0 replies; 6+ messages in thread
From: Fabio Estevam @ 2012-10-18 12:27 UTC (permalink / raw)
  To: u-boot

Hi Jason,

On Wed, Oct 17, 2012 at 11:29 PM, Liu Hui-R64343 <r64343@freescale.com> wrote:

> Why we need enable CONFIG_MMC_BOUNCE_BUFFER?

I learned the following from Marek:

"you can't flush cache over unaligned addresses
so .. to make DMA work, we use the bounce buffer
so the address is cache aligned"

Regards,

Fabio Estevam

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

* [U-Boot] [PATCH 2/2] mx6qarm2: Enable DCACHE and CONFIG_MMC_BOUNCE_BUFFER
  2012-10-17 17:33 ` [U-Boot] [PATCH 2/2] mx6qarm2: " Fabio Estevam
  2012-10-18  2:29   ` Liu Hui-R64343
@ 2012-10-20 15:08   ` Stefano Babic
  1 sibling, 0 replies; 6+ messages in thread
From: Stefano Babic @ 2012-10-20 15:08 UTC (permalink / raw)
  To: u-boot

Am 17/10/2012 19:33, schrieb Fabio Estevam:
> From: Fabio Estevam <fabio.estevam@freescale.com>
> 
> Data cache and CONFIG_MMC_BOUNCE_BUFFER can be safely enabled now.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---

Applied to u-boot-imx, thanks.

Best regards,
Stefano Babic



-- 
=====================================================================
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
=====================================================================

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

* [U-Boot] [PATCH 1/2] mx6qsabre_common: Enable DCACHE and CONFIG_MMC_BOUNCE_BUFFER
  2012-10-17 17:33 [U-Boot] [PATCH 1/2] mx6qsabre_common: Enable DCACHE and CONFIG_MMC_BOUNCE_BUFFER Fabio Estevam
  2012-10-17 17:33 ` [U-Boot] [PATCH 2/2] mx6qarm2: " Fabio Estevam
@ 2012-10-20 15:08 ` Stefano Babic
  1 sibling, 0 replies; 6+ messages in thread
From: Stefano Babic @ 2012-10-20 15:08 UTC (permalink / raw)
  To: u-boot

Am 17/10/2012 19:33, schrieb Fabio Estevam:
> From: Fabio Estevam <fabio.estevam@freescale.com>
> 
> Data cache and CONFIG_MMC_BOUNCE_BUFFER can be safely enabled now.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---

Applied to u-boot-imx, thanks.

Best regards,
Stefano Babic


-- 
=====================================================================
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
=====================================================================

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

end of thread, other threads:[~2012-10-20 15:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-17 17:33 [U-Boot] [PATCH 1/2] mx6qsabre_common: Enable DCACHE and CONFIG_MMC_BOUNCE_BUFFER Fabio Estevam
2012-10-17 17:33 ` [U-Boot] [PATCH 2/2] mx6qarm2: " Fabio Estevam
2012-10-18  2:29   ` Liu Hui-R64343
2012-10-18 12:27     ` Fabio Estevam
2012-10-20 15:08   ` Stefano Babic
2012-10-20 15:08 ` [U-Boot] [PATCH 1/2] mx6qsabre_common: " Stefano Babic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox