commit | 043a497c44b805ee27dce7177596313768383403 | [log] [tgz] |
---|---|---|
author | Thomas Chou <thomas@wytron.com.tw> | Tue Oct 27 09:02:17 2015 +0800 |
committer | Thomas Chou <thomas@wytron.com.tw> | Fri Nov 06 09:14:11 2015 +0800 |
tree | d1f7dd706b76f4897b83f7a5de32b6e27f766962 | |
parent | 8392e2f097b705d5cd10a00bfe3d6a28ba53a618 [diff] |
nios2: change virt_to_phys to use physaddr_mask in global data 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> Acked-by: Marek Vasut <marex@denx.de>