Skip to contentSkip to conversation

arm:cache:trats: Enable PL310 L2 Cache Controller at TRATS Samsung board

PATCH New Lukasz Majewski 2 participants 3 messages Aug 7, 2012 – Aug 16, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm:cache:trats: Enable PL310 L2 Cache Controller at TRATS Samsung board

Enable the PL310 L2 cache controller at TRATS Samsung board.

---
 include/configs/trats.h |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
include/configs/trats.h +4 -2
index 9cd1292..9c31f47 100644
@@ -42,8 +42,10 @@
 #define CONFIG_DISPLAY_CPUINFO
 #define CONFIG_DISPLAY_BOARDINFO
 
-/* Keep L2 Cache Disabled */
-#define CONFIG_SYS_L2CACHE_OFF
+#ifndef CONFIG_SYS_L2CACHE_OFF
+#define CONFIG_SYS_L2_PL310
+#define CONFIG_SYS_PL310_BASE	0x10502000
+#endif
 
 #define CONFIG_SYS_SDRAM_BASE		0x40000000
 #define CONFIG_SYS_TEXT_BASE		0x63300000
Signature · 1 line
1.7.2.3
#1 lore raw

PATCH 1/1 arm:cache:trats: Enable PL310 L2 Cache Controller at TRATS Samsung board

Quoted 9 lines · Lukasz Majewski

Enable the PL310 L2 cache controller at TRATS Samsung board.

---
 include/configs/trats.h |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

applied to u-boot-samsung.

Thanks.
Minkyu Kang.

Signature · 2 lines
from. prom.
www.promsoft.net
#2 lore raw

PATCH 1/1 arm:cache:trats: Enable PL310 L2 Cache Controller at TRATS Samsung board

Hi Minkyu,

Quoted 12 lines
Quoted 9 lines · Lukasz Majewski

Enable the PL310 L2 cache controller at TRATS Samsung board.

---
 include/configs/trats.h |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
Quoted 1 line

applied to u-boot-samsung.

Can you fall back this patch (about enabling the PL310 L2 cache) from your tree?

It needs some more work.

The L1 enabling patch is OK.

Signature · 5 lines
Best regards,

Lukasz Majewski

Samsung Poland R&D Center | Linux Platform Group