From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Tue, 27 Oct 2015 10:16:37 +0100 Subject: [U-Boot] [PATCH] nios2: change virt_to_phys to use physaddr_mask in global data In-Reply-To: <1445908197-9907-1-git-send-email-thomas@wytron.com.tw> References: <1445908197-9907-1-git-send-email-thomas@wytron.com.tw> Message-ID: <201510271016.37186.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 Makes sense. Acked-by: Marek Vasut Best regards, Marek Vasut