u-boot-brain/arch
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
..
arc arc: make AXS101 default platform 2015-09-07 13:38:24 +03:00
arm am437x: Add am57xx_evm_defconfig using CONFIG_DM 2015-10-22 14:44:02 -04:00
avr32 avr32: delete ancient board.c 2015-06-10 14:03:26 +02:00
blackfin arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
m68k m68k: cache: add an empty stub functions for invalidate/flush dcache 2015-08-12 20:47:46 -04:00
microblaze arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
mips MIPS: fix syntax for fdt_chosen/initrd. 2015-08-21 15:22:41 +02:00
nds32 NDS32: Generic Board Support and Unsupport 2015-08-28 11:46:35 -04:00
nios2 nios2: convert cache flush to use dm cpu data 2015-10-23 07:58:20 +08:00
openrisc arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
powerpc powerpc: Drop old non-generic-board code 2015-10-19 17:06:20 -04:00
sandbox sandbox: Introduce dummy remoteproc nodes 2015-10-22 14:18:39 -04:00
sh Move default y configs out of arch/board Kconfig 2015-06-25 22:17:55 -04:00
sparc arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
x86 x86: Add support for Advantech SOM-6896 2015-10-21 16:29:27 -06:00
.gitignore .gitignore: drop include/asm/proc from ignore pattern 2014-06-19 11:18:54 -04:00
Kconfig nios2: convert nios2 cpu to driver model 2015-10-23 07:37:03 +08:00