u-boot/arch/nios2/cpu
Thomas Chou 55e2b4d4e5 nios2: set default cache configuration in start.S
Set default icache and dcache configuration for start.S.

We want to remove the CONFIG_SYS_{I,D}CACHE_SIZE...
configuration macros. As we are just barely starting from
reset, there is no luxury of device tree.

We will set some maximum cache configuration so that it will
work for most configurations. This is used only in this
start.S. The speed penalty is only once here.

After start up, during board initialization, cpu information
will be extracted from device tree. Then cache flush operations
will have correct cache configurations.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Acked-by: Marek Vasut <marex@denx.de>
2015-10-23 07:37:20 +08:00
..
cpu.c nios2: convert do_reset to use dm cpu data 2015-10-23 07:37: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