Patchwork [U-Boot] mx28evk: Turn on caches

login
register
mail settings
Submitter Fabio Estevam
Date July 31, 2012, 6:10 p.m.
Message ID <1343758206-7395-1-git-send-email-fabio.estevam@freescale.com>
Download mbox | patch
Permalink /patch/174300/
State Accepted
Commit d369d53d9c438a5d0df157586dcd072de48d9631
Headers show

Comments

Fabio Estevam - July 31, 2012, 6:10 p.m.
Turn on data and instruction caches.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 include/configs/mx28evk.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
Stefano Babic - July 31, 2012, 9:16 p.m.
Am 31/07/2012 20:10, schrieb Fabio Estevam:
> Turn on data and instruction caches.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
>  include/configs/mx28evk.h |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)
> 
> diff --git a/include/configs/mx28evk.h b/include/configs/mx28evk.h
> index 54d21e6..5f145d1 100644
> --- a/include/configs/mx28evk.h
> +++ b/include/configs/mx28evk.h
> @@ -31,8 +31,6 @@
>  #define CONFIG_MACH_TYPE	MACH_TYPE_MX28EVK
>  
>  #define CONFIG_SYS_NO_FLASH
> -#define CONFIG_SYS_ICACHE_OFF
> -#define CONFIG_SYS_DCACHE_OFF
>  #define CONFIG_BOARD_EARLY_INIT_F
>  #define CONFIG_ARCH_MISC_INIT
>  
> 

Acked-by : Stefano Babic <sbabic@denx.de>
Stefano Babic - Aug. 5, 2012, 7:37 a.m.
On 31/07/2012 20:10, Fabio Estevam wrote:
> Turn on data and instruction caches.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---

Applied to u-boot-imx, thanks.

Best regards,
Stefano Babic

Patch

diff --git a/include/configs/mx28evk.h b/include/configs/mx28evk.h
index 54d21e6..5f145d1 100644
--- a/include/configs/mx28evk.h
+++ b/include/configs/mx28evk.h
@@ -31,8 +31,6 @@ 
 #define CONFIG_MACH_TYPE	MACH_TYPE_MX28EVK
 
 #define CONFIG_SYS_NO_FLASH
-#define CONFIG_SYS_ICACHE_OFF
-#define CONFIG_SYS_DCACHE_OFF
 #define CONFIG_BOARD_EARLY_INIT_F
 #define CONFIG_ARCH_MISC_INIT