mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-16 23:07:00 +00:00
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:
parent
7382d17826
commit
8fca073271
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue