[U-Boot] [PATCH v2] nios2: fix virt_to_phys for nios2 with MMU

Thomas Chou thomas at wytron.com.tw
Fri Oct 23 02:20:06 CEST 2015



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 at wytron.com.tw>
> Acked-by: Marek Vasut <marex at denx.de>
> Reviewed-by: Ley Foon Tan <lftan at 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.



More information about the U-Boot mailing list