Patchwork [U-Boot,4/4] i.MX6: mx6qsabrelite: add cache commands if cache is enabled

login
register
mail settings
Submitter Eric Nelson
Date March 2, 2012, 11:06 p.m.
Message ID <1330729572-12642-5-git-send-email-eric.nelson@boundarydevices.com>
Download mbox | patch
Permalink /patch/144382/
State Accepted
Commit 66b4170b294e84d1b8cdf8f1334703baeb9d8751
Headers show

Comments

Eric Nelson - March 2, 2012, 11:06 p.m.
---
 include/configs/mx6qsabrelite.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
Marek Vasut - March 2, 2012, 11:26 p.m.
> ---
>  include/configs/mx6qsabrelite.h |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
> 
> diff --git a/include/configs/mx6qsabrelite.h
> b/include/configs/mx6qsabrelite.h index 3bd9bdb..a5dae73 100644
> --- a/include/configs/mx6qsabrelite.h
> +++ b/include/configs/mx6qsabrelite.h
> @@ -212,4 +212,8 @@
> 
>  #define CONFIG_SYS_DCACHE_OFF
> 
> +#ifndef CONFIG_SYS_DCACHE_OFF
> +#define CONFIG_CMD_CACHE
> +#endif
> +
>  #endif                         /* __CONFIG_H */

Acked-by: Marek Vasut <marex@denx.de>

Patch

diff --git a/include/configs/mx6qsabrelite.h b/include/configs/mx6qsabrelite.h
index 3bd9bdb..a5dae73 100644
--- a/include/configs/mx6qsabrelite.h
+++ b/include/configs/mx6qsabrelite.h
@@ -212,4 +212,8 @@ 
 
 #define CONFIG_SYS_DCACHE_OFF
 
+#ifndef CONFIG_SYS_DCACHE_OFF
+#define CONFIG_CMD_CACHE
+#endif
+
 #endif                         /* __CONFIG_H */