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

Lukasz Majewski l.majewski at samsung.com
Thu Sep 1 11:18:35 CEST 2011


Define the D-cache line size for S5PC110 GONI and S5PC210
Universal reference targets.

Signed-off-by: Lukasz Majewski <l.majewski at samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
Cc: Minkyu Kang <mk7.kang at 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(-)

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 */
-- 
1.7.2.3



More information about the U-Boot mailing list