Skip to contentSkip to conversation

dcache:s5p CONFIG_SYS_CACHELINE_SIZE added to s5p targets

PATCH New Lukasz Majewski 1 participant 1 message Sep 1, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dcache:s5p CONFIG_SYS_CACHELINE_SIZE added to s5p targets

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

---
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(-)
include/configs/s5p_goni.h +1 -0
index aef3a9d..c860420 100644
@@ -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>
 /*
include/configs/s5pc210_universal.h +2 -0
index 4031016..4ec5170 100644
@@ -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 */
Signature · 1 line
1.7.2.3