diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-06-28 10:48:42 +0900 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-07-14 18:22:26 -0400 |
commit | 9a387128e341debb6d7e32df8e0f72669a3a079b (patch) | |
tree | 855db996d332cc0edcbcd4adcd65dd163fa585e3 /MAKEALL | |
parent | c74b8fcdd7193cfcaf8b3c6dab9a59c6feb8a49a (diff) | |
download | u-boot-imx-9a387128e341debb6d7e32df8e0f72669a3a079b.zip u-boot-imx-9a387128e341debb6d7e32df8e0f72669a3a079b.tar.gz u-boot-imx-9a387128e341debb6d7e32df8e0f72669a3a079b.tar.bz2 |
linux/io.h: add generic ioremap()/iounmap() defines
For most of architectures in U-Boot, virtual address is straight
mapped to physical address. So, it makes sense to have generic
defines of ioremap and friends in <linux/io.h>.
All of them are just empty and will disappear at compile time, but
they will be helpful to implement drivers which are counterparts of
Linux ones.
I notice MIPS already has its own implementation, so I added a
Kconfig symbol CONFIG_HAVE_ARCH_IOREMAP which MIPS (and maybe
Sandbox as well) can select.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Diffstat (limited to 'MAKEALL')
0 files changed, 0 insertions, 0 deletions