ARM: uniphier: fix CONFIG_SYS_CACHELINE_SIZE when outer cache is on

The UniPhier outer cache (L2 cache on ARMv7 SoCs) has 128 byte line
length and its tags are also managed per 128 byte line.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
Masahiro Yamada 2016-08-10 16:08:46 +09:00
parent 7382d17826
commit 8fca073271

View File

@ -25,7 +25,11 @@
/* #define CONFIG_SYS_ICACHE_OFF */
/* #define CONFIG_SYS_DCACHE_OFF */
#ifdef CONFIG_CACHE_UNIPHIER
#define CONFIG_SYS_CACHELINE_SIZE 128
#else
#define CONFIG_SYS_CACHELINE_SIZE 32
#endif
#define CONFIG_DISPLAY_CPUINFO
#define CONFIG_DISPLAY_BOARDINFO