mips: Use asm-generic/io.h
authorPaul Burton <paul.burton@imgtec.com>
Thu, 14 Sep 2017 22:05:10 +0000 (15:05 -0700)
committerTom Rini <trini@konsulko.com>
Tue, 3 Oct 2017 01:52:23 +0000 (21:52 -0400)
commitd1cbeafd5e5e43ec8869a6e5e0b6dd720e51252a
tree5025fa133571fd89d4fac240e57c7ff5c18395df
parente8645527b1c2f6d56fef04bc43d1e81ae1904fae
mips: Use asm-generic/io.h

Convert the mips architecture to make use of the new asm-generic/io.h to
provide address mapping functions. As mips actually performs
non-identity mapping between physical & virtual addresses we can't
simply make use of the generic functions, with the exception of being
able to drop our no-op unmap_physmem() and definitions of unused map
flags.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Acked-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
arch/mips/include/asm/io.h