u-boot-brain/arch/nios2
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 nios2: convert cache flush to use dm cpu data 2015-10-23 07:58:20 +08:00
dts nios2: convert altera sysid to driver model 2015-10-23 07:37:03 +08:00
include/asm nios2: convert cache flush to use dm cpu data 2015-10-23 07:58:20 +08:00
lib nios2: convert cache flush to use dm cpu data 2015-10-23 07:58:20 +08:00
config.mk generic-board: move __HAVE_ARCH_GENERIC_BOARD to Kconfig 2015-03-28 09:03:08 -04:00
Kconfig arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
Makefile Kbuild: introduce Makefile in arch/$ARCH/ 2014-12-08 09:35:45 -05:00