Home
last modified time | relevance | path

Searched hist:"9 a387128e341debb6d7e32df8e0f72669a3a079b" (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/include/linux/
H A Dio.h9a387128e341debb6d7e32df8e0f72669a3a079b Tue Jun 28 01:48:42 UTC 2016 Masahiro Yamada <yamada.masahiro@socionext.com> 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>
/rk3399_rockchip-uboot/arch/
H A DKconfig9a387128e341debb6d7e32df8e0f72669a3a079b Tue Jun 28 01:48:42 UTC 2016 Masahiro Yamada <yamada.masahiro@socionext.com> 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>