[U-Boot] [PATCH] arm:cache:trats: Enable PL310 L2 Cache Controller at TRATS Samsung board

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 Cc: Minkyu Kang mk7.kang@samsung.com --- include/configs/trats.h | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/include/configs/trats.h b/include/configs/trats.h index 9cd1292..9c31f47 100644 --- a/include/configs/trats.h +++ b/include/configs/trats.h @@ -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

On 8 August 2012 00:42, Lukasz Majewski l.majewski@samsung.com wrote:
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 Cc: Minkyu Kang mk7.kang@samsung.com
include/configs/trats.h | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-)
applied to u-boot-samsung.
Thanks. Minkyu Kang.

Hi Minkyu,
On 8 August 2012 00:42, Lukasz Majewski l.majewski@samsung.com wrote:
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 Cc: Minkyu Kang mk7.kang@samsung.com
include/configs/trats.h | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-)
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.
participants (2)
-
Lukasz Majewski
-
Minkyu Kang