From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Tue, 3 Oct 2017 08:53:05 -0400 Subject: [U-Boot] [U-Boot,v2,12/13] powerpc: Use asm-generic/io.h In-Reply-To: <20170914220513.9359-13-paul.burton@imgtec.com> References: <20170914220513.9359-13-paul.burton@imgtec.com> Message-ID: <20171003125305.GX22973@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Sep 14, 2017 at 03:05:12PM -0700, Paul Burton wrote: > Convert the powerpc architecture to make use of the new asm-generic/io.h > to provide address mapping functions. As powerpc can actually perform > non-identity mapping between physical & virtual addresses we can't > simply make use of the generic phys_to_virt() & virt_to_phys() > functions. However since map_physmem() already effectively implemented > the same thing as virt_to_phys() we can simply implement virt_to_phys() > instead of map_physmem() & use the generic map_physmem(). We also drop > the no-op unmap_physmem(). > > This has only been build-tested, feedback from architecture maintainers > is welcome. > > Signed-off-by: Paul Burton > Cc: Wolfgang Denk Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: