nios2: fix map_physmem to do real cache mapping
authorThomas Chou <thomas@wytron.com.tw>
Tue, 27 Oct 2015 00:30:22 +0000 (08:30 +0800)
committerThomas Chou <thomas@wytron.com.tw>
Fri, 6 Nov 2015 01:14:11 +0000 (09:14 +0800)
commit1ce61cbbe7b351041b31c59cf7c5d8b056a199ec
tree51894d18e724457d06e036c1a62ef4f2f14381a7
parented02c532be690b3d0c3e15c81531785a788fd949
nios2: fix map_physmem to do real cache mapping

Fix the map_physmem() to do real cache mapping.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Acked-by: Marek Vasut <marex@denx.de>
arch/nios2/cpu/cpu.c
arch/nios2/include/asm/global_data.h
arch/nios2/include/asm/io.h