diff mbox

[U-Boot] mx6qsabrelite: enable DCache and MMC bounce buffer

Message ID 1344428791-30959-1-git-send-email-dirk.behme@de.bosch.com
State Awaiting Upstream
Delegated to: Stefano Babic
Headers show

Commit Message

Dirk Behme Aug. 8, 2012, 12:26 p.m. UTC
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.

Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com>
---
 include/configs/mx6qsabrelite.h |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

Comments

Stefano Babic Aug. 8, 2012, 4:23 p.m. UTC | #1
On 08/08/2012 14:26, Dirk Behme wrote:
> 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.
> 
> Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com>
> ---
>  include/configs/mx6qsabrelite.h |    3 +--
>  1 files changed, 1 insertions(+), 2 deletions(-)
> 
> diff --git a/include/configs/mx6qsabrelite.h b/include/configs/mx6qsabrelite.h
> index 0d376ba..995539c 100644
> --- a/include/configs/mx6qsabrelite.h
> +++ b/include/configs/mx6qsabrelite.h
> @@ -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

Acked-by: Stefano Babic <sbabic@denx.de>

Best regards,
Stefano Babic
Stefano Babic Oct. 17, 2012, 4:22 p.m. UTC | #2
Am 08/08/2012 14:26, schrieb 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.
> 
> Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com>
> ---

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

Best regards,
Stefano Babic
diff mbox

Patch

diff --git a/include/configs/mx6qsabrelite.h b/include/configs/mx6qsabrelite.h
index 0d376ba..995539c 100644
--- a/include/configs/mx6qsabrelite.h
+++ b/include/configs/mx6qsabrelite.h
@@ -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