u-boot-brain/arch/nios2/include/asm
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
..
bitops Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
bitops.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
byteorder.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
cache.h nios2: convert cache flush to use dm cpu data 2015-10-23 07:58:20 +08:00
config.h nios2: call board_init_f_mem 2015-10-23 07:28:50 +08:00
dma-mapping.h nios2: add dma_alloc_coherent 2010-04-24 18:21:22 -04:00
errno.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
global_data.h nios2: convert nios2 cpu to driver model 2015-10-23 07:37:03 +08:00
gpio.h nios2 : convert altera_pio to driver model 2015-10-23 07:37:03 +08:00
io.h nios2: convert ioremap to use dm cpu data 2015-10-23 07:37:20 +08:00
nios2.h nios2: move nios2.h to arch asm directory 2014-08-30 17:48:43 +08:00
opcodes.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
posix_types.h nios2: Fix printf size_t format related warnings (again...) 2014-08-24 11:27:31 +08:00
processor.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ptrace.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
sections.h nios2: remove asm/psr.h 2015-10-23 07:37:20 +08:00
string.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
system.h nios2: convert altera sysid to driver model 2015-10-23 07:37:03 +08:00
types.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
u-boot.h nios2: add generic board support 2014-08-24 11:28:10 +08:00
unaligned.h nios2: remove asm/psr.h 2015-10-23 07:37:20 +08:00