diff options
author | Paul Burton <paul.burton@imgtec.com> | 2017-09-14 15:05:12 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-10-02 21:52:23 -0400 |
commit | ae07d609e951d0018daa1bd82aa56a1c294743cc (patch) | |
tree | c4bd7ead05ef808311d574075ada43c6b71a112d /include/configs/ls1046aqds.h | |
parent | e16986c481dbfc84ce6a88b1dd9730ee19b2e1cb (diff) |
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 'include/configs/ls1046aqds.h')
0 files changed, 0 insertions, 0 deletions