Patchwork [U-Boot,1/4] imx: nitrogen6x: Enabled data cache

login
register
mail settings
Submitter Robert Winkler
Date June 5, 2013, 10:02 p.m.
Message ID <1370469747-20808-2-git-send-email-robert.winkler@boundarydevices.com>
Download mbox | patch
Permalink /patch/249235/
State Superseded
Delegated to: Stefano Babic
Headers show

Comments

Robert Winkler - June 5, 2013, 10:02 p.m.
Signed-off-by: Robert Winkler <robert.winkler@boundarydevices.com>
---
 include/configs/nitrogen6x.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Stefano Babic - June 6, 2013, 7:49 a.m.
Hi Robert,

On 06/06/2013 00:02, Robert Winkler wrote:
> Signed-off-by: Robert Winkler <robert.winkler@boundarydevices.com>
> ---
>  include/configs/nitrogen6x.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/configs/nitrogen6x.h b/include/configs/nitrogen6x.h
> index aea91bc..07f39e9 100644
> --- a/include/configs/nitrogen6x.h
> +++ b/include/configs/nitrogen6x.h
> @@ -276,7 +276,7 @@
>  #define CONFIG_OF_LIBFDT
>  #define CONFIG_CMD_BOOTZ
>  
> -#define CONFIG_SYS_DCACHE_OFF
> +/* #define CONFIG_SYS_DCACHE_OFF */

CONFIG_SYS_DCACHE_OFF is well documented. Do not add dead code, simply
drop the line.

Best regards,
Stefano Babic

Patch

diff --git a/include/configs/nitrogen6x.h b/include/configs/nitrogen6x.h
index aea91bc..07f39e9 100644
--- a/include/configs/nitrogen6x.h
+++ b/include/configs/nitrogen6x.h
@@ -276,7 +276,7 @@ 
 #define CONFIG_OF_LIBFDT
 #define CONFIG_CMD_BOOTZ
 
-#define CONFIG_SYS_DCACHE_OFF
+/* #define CONFIG_SYS_DCACHE_OFF */
 
 #ifndef CONFIG_SYS_DCACHE_OFF
 #define CONFIG_CMD_CACHE