summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2017-09-14 22:05:12 (GMT)
committerTom Rini <trini@konsulko.com>2017-10-03 01:52:23 (GMT)
commitae07d609e951d0018daa1bd82aa56a1c294743cc (patch)
treec4bd7ead05ef808311d574075ada43c6b71a112d /lib
parente16986c481dbfc84ce6a88b1dd9730ee19b2e1cb (diff)
downloadu-boot-ae07d609e951d0018daa1bd82aa56a1c294743cc.tar.xz
powerpc: Use asm-generic/io.h
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@imgtec.com> Cc: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions