commit | 9f36cbc91f81e2365bdc248859868f06a207b6f7 | [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 | 3d1ebf7454cf51f34b1e29abc357caa976810a4b [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>