u-boot/arch/arc/include/asm
Alexey Brodkin 379b3280b3 arc: cache - accommodate different L1 cache line lengths
ARC core could be configured with different L1 and L2 (AKA SLC) cache
line lengths. At least these values are possible and were really used:
32, 64 or 128 bytes.

Current implementation requires cache line to be selected upon U-Boot
configuration and then it will only work on matching hardware. Indeed
this is quite efficient because cache line length gets hardcoded during
code compilation. But OTOH it makes binary less portable.

With this commit we allow U-Boot to determine real L1 cache line length
early in runtime and use this value later on. This extends portability
of U-Boot binary a lot.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2016-02-20 11:19:53 +03:00
..
arcregs.h arc: significant cache rework 2015-07-01 17:17:27 +03:00
bitops.h arc: Use the generic bitops headers 2015-11-05 10:52:29 -05:00
byteorder.h arc: add architecture header files 2014-02-07 08:14:32 -05:00
cache.h arc: cache - accommodate different L1 cache line lengths 2016-02-20 11:19:53 +03:00
config.h arc: get rid of CONFIG_SYS_GENERIC_GLOBAL_DATA 2015-04-03 09:47:49 +03:00
errno.h arc: add architecture header files 2014-02-07 08:14:32 -05:00
global_data.h arc: add architecture header files 2014-02-07 08:14:32 -05:00
init_helpers.h arc: clean-up init procedure 2015-04-03 09:47:49 +03:00
io.h arc: add stubs for map_physmem() and unmap_physmem() 2015-11-18 00:38:35 +03:00
linkage.h use ASM_NL instead of '; ' for assembler new line character in the macro 2015-03-05 20:49:43 -05:00
posix_types.h arc: Fix printf size_t format related warnings (again...) 2014-08-26 17:41:58 +04:00
processor.h arc: add empty asm/processor.h to satisfy compilation of USB code 2015-11-18 00:39:22 +03:00
ptrace.h arc: add architecture header files 2014-02-07 08:14:32 -05:00
relocate.h arc: clean-up init procedure 2015-04-03 09:47:49 +03:00
sections.h arc: relocate - minor refactoring and clean-up 2015-01-15 22:38:42 +03:00
string.h arc: add architecture header files 2014-02-07 08:14:32 -05:00
types.h arc: add architecture header files 2014-02-07 08:14:32 -05:00
u-boot-arc.h arc: clean-up init procedure 2015-04-03 09:47:49 +03:00
u-boot.h arc: add architecture header files 2014-02-07 08:14:32 -05:00
unaligned.h arc: add architecture header files 2014-02-07 08:14:32 -05:00