
3 Nov
2015
3 Nov
'15
6:14 a.m.
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 thomas@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.