Patchwork [U-Boot,3/3] mx23evk: Turn on caches

login
register
mail settings
Submitter Fabio Estevam
Date Jan. 28, 2013, 11:41 a.m.
Message ID <1359373261-16796-3-git-send-email-fabio.estevam@freescale.com>
Download mbox | patch
Permalink /patch/216180/
State Awaiting Upstream
Delegated to: Stefano Babic
Headers show

Comments

Fabio Estevam - Jan. 28, 2013, 11:41 a.m.
It is safe to turn on data and instruction caches for mx23.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 include/configs/mx23evk.h |    2 --
 1 file changed, 2 deletions(-)
Marek Vasut - Jan. 28, 2013, 12:47 p.m.
Dear Fabio Estevam,

> It is safe to turn on data and instruction caches for mx23.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
>  include/configs/mx23evk.h |    2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/include/configs/mx23evk.h b/include/configs/mx23evk.h
> index e43b93f..ae8cf6c 100644
> --- a/include/configs/mx23evk.h
> +++ b/include/configs/mx23evk.h
> @@ -33,8 +33,6 @@
>  #define CONFIG_MACH_TYPE	MACH_TYPE_MX23EVK
> 
>  #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

Can you fix this for olinuxino (if not done already) too please?

Best regards,
Marek Vasut
Fabio Estevam - Jan. 28, 2013, 12:51 p.m.
On Mon, Jan 28, 2013 at 10:47 AM, Marek Vasut <marex@denx.de> wrote:

> Can you fix this for olinuxino (if not done already) too please?

mx23olinuxino has the caches turned on already.
Stefano Babic - Feb. 12, 2013, 5:51 p.m.
On 28/01/2013 12:41, Fabio Estevam wrote:
> It is safe to turn on data and instruction caches for mx23.
> 
> 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/mx23evk.h b/include/configs/mx23evk.h
index e43b93f..ae8cf6c 100644
--- a/include/configs/mx23evk.h
+++ b/include/configs/mx23evk.h
@@ -33,8 +33,6 @@ 
 #define CONFIG_MACH_TYPE	MACH_TYPE_MX23EVK
 
 #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