u-boot/arch/nios2/cpu
Thomas Chou 21ff7344d1 nios2: convert cache flush to use dm cpu data
Convert cache flush to use dm cpu data.

The original cache flush functions are written in assembly
and use CONFIG_SYS_{I,D}CACHE_SIZE... macros. It is difficult
to convert to use cache configuration in dm cpu data which is
extracted from device tree.

The cacheflush.c of Linux nios2 arch uses cpuinfo structure,
which is very close to our dm cpu data. So we copy and modify
it to arch/nios2/lib/cache.c to replace the old cache.S.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
2015-10-23 07:58:20 +08:00
..
cpu.c nios2: convert cache flush to use dm cpu data 2015-10-23 07:58:20 +08:00
exceptions.S Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
fdt.c fdt: nios: Fix warning in ft_cpu_setup() 2015-04-10 08:15:24 -06:00
interrupts.c nios2: map physical address to uncached virtual address 2015-10-23 07:29:11 +08:00
Makefile nios2: convert altera sysid to driver model 2015-10-23 07:37:03 +08:00
start.S nios2: set default cache configuration in start.S 2015-10-23 07:37:20 +08:00
traps.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
u-boot.lds nios2: define _end in link script 2015-10-23 07:28:38 +08:00