commit | 8a3ea979666799d09b57efd05d0b41bda1ac7d69 | [log] [tgz] |
---|---|---|
author | Thomas Chou <thomas@wytron.com.tw> | Thu Oct 22 15:38:24 2015 +0800 |
committer | Thomas Chou <thomas@wytron.com.tw> | Fri Oct 23 14:55:48 2015 +0800 |
tree | 2f1677f5f21400b2c6b8d7ca28ce00df3313a3f9 | |
parent | 485e2d8edd3a3f87d9475bf1396143a3ab5097e5 [diff] |
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>