]> git.baikalelectronics.ru Git - uboot.git/commit
nios2: Use asm-generic/io.h
authorPaul Burton <paul.burton@imgtec.com>
Thu, 14 Sep 2017 22:05:11 +0000 (15:05 -0700)
committerTom Rini <trini@konsulko.com>
Tue, 3 Oct 2017 01:52:23 +0000 (21:52 -0400)
commit913aa4ed04d5722f6c8e31177e68c464261d1ef7
tree7c127cf5762180391e7bd0957e7ddc3bb2406a83
parent9e6a352cec73be75216c17c68f42211fbb407ddb
nios2: Use asm-generic/io.h

Convert the nios2 architecture to make use of the new asm-generic/io.h to
provide address mapping functions. As nios2 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.

Feedback from architecture maintainers is welcome.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: Thomas Chou <thomas@wytron.com.tw>
arch/nios2/include/asm/io.h