u-boot-brain/arch/nios2/include/asm
Thomas Chou 8a3ea97966 nios2: fix virt_to_phys for nios2 with MMU
As the virtual address and physical address mapping of nios2 with
MMU are different. Add a check of MMU, and fix the mapping.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Acked-by: Marek Vasut <marex@denx.de>
Reviewed-by: Ley Foon Tan <lftan@altera.com>
2015-10-23 14:55:48 +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: convert dma_alloc_coherent to use malloc_cache_aligned 2015-10-23 07:59:03 +08: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: fix virt_to_phys for nios2 with MMU 2015-10-23 14:55:48 +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