[U-Boot] [PATCH v2 3/3] linux/io.h: add generic ioremap()/iounmap() defines

Daniel Schwierzeck daniel.schwierzeck at gmail.com
Tue Jun 28 14:07:30 CEST 2016



Am 28.06.2016 um 03:48 schrieb Masahiro Yamada:
> 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 at socionext.com>

Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck at gmail.com>

-- 
- Daniel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160628/4ea5e196/attachment.sig>


More information about the U-Boot mailing list