Patchwork [U-Boot] dcache:s5p CONFIG_SYS_CACHELINE_SIZE added to s5p targets

login
register
mail settings
Submitter Łukasz Majewski
Date Sept. 1, 2011, 9:18 a.m.
Message ID <1314868715-4034-1-git-send-email-l.majewski@samsung.com>
Download mbox | patch
Permalink /patch/112849/
State Superseded
Headers show

Comments

Łukasz Majewski - Sept. 1, 2011, 9:18 a.m.
Define the D-cache line size for S5PC110 GONI and S5PC210
Universal reference targets.

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Minkyu Kang <mk7.kang@samsung.com>
---
Depend on:
http://patchwork.ozlabs.org/patch/112847/
---
 include/configs/s5p_goni.h          |    1 +
 include/configs/s5pc210_universal.h |    2 ++
 2 files changed, 3 insertions(+), 0 deletions(-)

Patch

diff --git a/include/configs/s5p_goni.h b/include/configs/s5p_goni.h
index aef3a9d..c860420 100644
--- a/include/configs/s5p_goni.h
+++ b/include/configs/s5p_goni.h
@@ -224,6 +224,7 @@ 
 #define CONFIG_SYS_INIT_SP_ADDR	(CONFIG_SYS_LOAD_ADDR - 0x1000000)
 
 #define CONFIG_MAX8998_PMIC
+#define CONFIG_SYS_CACHELINE_SIZE 64 /* D-cache line size */
 
 #include <asm/arch/gpio.h>
 /*
diff --git a/include/configs/s5pc210_universal.h b/include/configs/s5pc210_universal.h
index 4031016..4ec5170 100644
--- a/include/configs/s5pc210_universal.h
+++ b/include/configs/s5pc210_universal.h
@@ -243,4 +243,6 @@ 
 
 #define CONFIG_SYS_INIT_SP_ADDR	(CONFIG_SYS_LOAD_ADDR - GENERATED_GBL_DATA_SIZE)
 
+#define CONFIG_SYS_CACHELINE_SIZE 32 /* D-cache line size */
+
 #endif	/* __CONFIG_H */