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

Submitted by Eric Nelson on March 2, 2012, 11:06 p.m.

Details

Message ID 1330729572-12642-5-git-send-email-eric.nelson@boundarydevices.com
State Accepted
Commit 66b4170b294e84d1b8cdf8f1334703baeb9d8751
Headers show

Commit Message

Eric Nelson March 2, 2012, 11:06 p.m.
---
 include/configs/mx6qsabrelite.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

Comments

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 hide | download patch | download mbox

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 */