diff options
author | Thomas Chou <thomas@wytron.com.tw> | 2015-10-22 15:38:24 +0800 |
---|---|---|
committer | Thomas Chou <thomas@wytron.com.tw> | 2015-10-23 14:55:48 +0800 |
commit | 8a3ea979666799d09b57efd05d0b41bda1ac7d69 (patch) | |
tree | 2f1677f5f21400b2c6b8d7ca28ce00df3313a3f9 /lib/div64.c | |
parent | 485e2d8edd3a3f87d9475bf1396143a3ab5097e5 (diff) | |
download | u-boot-imx-8a3ea979666799d09b57efd05d0b41bda1ac7d69.zip u-boot-imx-8a3ea979666799d09b57efd05d0b41bda1ac7d69.tar.gz u-boot-imx-8a3ea979666799d09b57efd05d0b41bda1ac7d69.tar.bz2 |
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>
Diffstat (limited to 'lib/div64.c')
0 files changed, 0 insertions, 0 deletions