Patchwork [U-Boot,2/2] armada100: define CONFIG_SYS_CACHELINE_SIZE

login
register
mail settings
Submitter Lei Wen
Date Oct. 31, 2011, 3:05 p.m.
Message ID <1320073546-7277-3-git-send-email-leiwen@marvell.com>
Download mbox | patch
Permalink /patch/122851/
State Accepted
Commit abbbbdd7e1232cfe5ccde8da9d4cc1fa609f8456
Headers show

Comments

Lei Wen - Oct. 31, 2011, 3:05 p.m.
By default, on Armada100 SoC DCache Lnd ICache line
lengths are 32 bytes long

Signed-off-by: Lei Wen <leiwen@marvell.com>
---
 arch/arm/include/asm/arch-armada100/config.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
Prafulla Wadaskar - Nov. 1, 2011, 7:18 a.m.
> -----Original Message-----
> From: Lei Wen [mailto:leiwen@marvell.com]
> Sent: Monday, October 31, 2011 8:36 PM
> To: Prafulla Wadaskar; u-boot@lists.denx.de
> Subject: [PATCH 2/2] armada100: define
> CONFIG_SYS_CACHELINE_SIZE
> 
> By default, on Armada100 SoC DCache Lnd ICache line
> lengths are 32 bytes long
> 
> Signed-off-by: Lei Wen <leiwen@marvell.com>
> ---
>  arch/arm/include/asm/arch-armada100/config.h |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/include/asm/arch-armada100/config.h
> b/arch/arm/include/asm/arch-armada100/config.h
> index d2094e5..637f313 100644
> --- a/arch/arm/include/asm/arch-armada100/config.h
> +++ b/arch/arm/include/asm/arch-armada100/config.h
> @@ -33,6 +33,8 @@
> 
>  #include <asm/arch/armada100.h>
>  #define CONFIG_ARM926EJS	1	/* Basic Architecture */
> +/* default Dcache Line length for armada100 */
> +#define CONFIG_SYS_CACHELINE_SIZE       32
> 
>  #define CONFIG_SYS_TCLK		(14745600)	/* NS16550 clk config
> */
>  #define CONFIG_SYS_HZ_CLOCK	(3250000)	/* Timer Freq. 3.25MHZ
> */

Applied to u-boot-marvell.git master branch

Regards..
Prafulla . . .

Patch

diff --git a/arch/arm/include/asm/arch-armada100/config.h b/arch/arm/include/asm/arch-armada100/config.h
index d2094e5..637f313 100644
--- a/arch/arm/include/asm/arch-armada100/config.h
+++ b/arch/arm/include/asm/arch-armada100/config.h
@@ -33,6 +33,8 @@ 
 
 #include <asm/arch/armada100.h>
 #define CONFIG_ARM926EJS	1	/* Basic Architecture */
+/* default Dcache Line length for armada100 */
+#define CONFIG_SYS_CACHELINE_SIZE       32
 
 #define CONFIG_SYS_TCLK		(14745600)	/* NS16550 clk config */
 #define CONFIG_SYS_HZ_CLOCK	(3250000)	/* Timer Freq. 3.25MHZ */