]> git.sur5r.net Git - u-boot/commitdiff
arm:cache:trats: Enable PL310 L2 Cache Controller at TRATS Samsung board
authorŁukasz Majewski <l.majewski@samsung.com>
Tue, 7 Aug 2012 05:42:14 +0000 (05:42 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 1 Sep 2012 12:58:24 +0000 (14:58 +0200)
Enable the PL310 L2 cache controller at TRATS Samsung board.

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
include/configs/trats.h

index 98e178d7e22d72116cd276f01f11616b164ea877..8a0deea434ec620d5239b51fae670a7586e69494 100644 (file)
 #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