[U-Boot] [PATCH] nios2: change virt_to_phys to use physaddr_mask in global data

Marek Vasut marex at denx.de
Tue Oct 27 10:16:37 CET 2015


On Tuesday, October 27, 2015 at 02:09:57 AM, Thomas Chou wrote:
> As virt_to_phys() is used a lot in DMA transfer, change it
> to use physaddr_mask in global data. This will save an "if"
> statement and get a little faster.
> 
> Signed-off-by: Thomas Chou <thomas at wytron.com.tw>

Makes sense.

Acked-by: Marek Vasut <marex at denx.de>

Best regards,
Marek Vasut


More information about the U-Boot mailing list