Patchwork [U-Boot,1/4] i.MX6: define CACHELINE_SIZE

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

Comments

Eric Nelson - March 2, 2012, 11:06 p.m.
---
 arch/arm/include/asm/arch-mx6/imx-regs.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
Marek Vasut - March 2, 2012, 11:25 p.m.
> ---
>  arch/arm/include/asm/arch-mx6/imx-regs.h |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/include/asm/arch-mx6/imx-regs.h
> b/arch/arm/include/asm/arch-mx6/imx-regs.h index 6a200bb..3e5c4c2 100644
> --- a/arch/arm/include/asm/arch-mx6/imx-regs.h
> +++ b/arch/arm/include/asm/arch-mx6/imx-regs.h
> @@ -19,6 +19,8 @@
>  #ifndef __ASM_ARCH_MX6_IMX_REGS_H__
>  #define __ASM_ARCH_MX6_IMX_REGS_H__
> 
> +#define CONFIG_SYS_CACHELINE_SIZE	32
> +
>  #define ROMCP_ARB_BASE_ADDR             0x00000000
>  #define ROMCP_ARB_END_ADDR              0x000FFFFF
>  #define CAAM_ARB_BASE_ADDR              0x00100000

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

Patch

diff --git a/arch/arm/include/asm/arch-mx6/imx-regs.h b/arch/arm/include/asm/arch-mx6/imx-regs.h
index 6a200bb..3e5c4c2 100644
--- a/arch/arm/include/asm/arch-mx6/imx-regs.h
+++ b/arch/arm/include/asm/arch-mx6/imx-regs.h
@@ -19,6 +19,8 @@ 
 #ifndef __ASM_ARCH_MX6_IMX_REGS_H__
 #define __ASM_ARCH_MX6_IMX_REGS_H__
 
+#define CONFIG_SYS_CACHELINE_SIZE	32
+
 #define ROMCP_ARB_BASE_ADDR             0x00000000
 #define ROMCP_ARB_END_ADDR              0x000FFFFF
 #define CAAM_ARB_BASE_ADDR              0x00100000