[U-Boot] [U-Boot,v2,12/13] powerpc: Use asm-generic/io.h

Tom Rini trini at konsulko.com
Tue Oct 3 12:53:05 UTC 2017


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 <paul.burton at imgtec.com>
> Cc: Wolfgang Denk <wd at denx.de>

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: <http://lists.denx.de/pipermail/u-boot/attachments/20171003/a26a4e60/attachment.sig>


More information about the U-Boot mailing list