On 2015年10月27日 09:09, 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 <tho...@wytron.com.tw>
---
  arch/nios2/cpu/cpu.c                 | 1 +
  arch/nios2/include/asm/global_data.h | 1 +
  arch/nios2/include/asm/io.h          | 5 +----
  3 files changed, 3 insertions(+), 4 deletions(-)


Applied to u-boot-nios.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to