
23 Oct
2015
23 Oct
'15
2:20 a.m.
On 10/22/2015 03:47 PM, Thomas Chou wrote:
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
v2 remove the parenthesis around vaddr as suggested by Marek.
arch/nios2/include/asm/io.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
Applied to u-boot-nios.