From: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/3] linux/io.h: add generic ioremap()/iounmap() defines
Date: Mon, 27 Jun 2016 11:57:15 +0200 [thread overview]
Message-ID: <5770F87B.7010104@gmail.com> (raw)
In-Reply-To: <1467016351-22360-4-git-send-email-yamada.masahiro@socionext.com>
Am 27.06.2016 um 10:32 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 surrounded
> the defines with #ifndef CONFIG_MIPS ... #endif. I guess Sandbox
> will need its own implementation as well.
>
how about introducing a Kconfig symbol like CONFIG_HAVE_ARCH_IOREMAP
which MIPS and Sandbox can select?
--
- 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/20160627/d656f15c/attachment.sig>
next prev parent reply other threads:[~2016-06-27 9:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-27 8:32 [U-Boot] [PATCH 0/3] Add generic ioremap / iounmap defines Masahiro Yamada
2016-06-27 8:32 ` [U-Boot] [PATCH 1/3] types.h: move and redefine resource_size_t Masahiro Yamada
2016-06-27 8:32 ` [U-Boot] [PATCH 2/3] arm, nds32, sh: remove useless ioremap()/iounmap() defines Masahiro Yamada
2016-06-27 8:32 ` [U-Boot] [PATCH 3/3] linux/io.h: add generic " Masahiro Yamada
2016-06-27 9:57 ` Daniel Schwierzeck [this message]
2016-06-28 1:34 ` Masahiro Yamada
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5770F87B.7010104@gmail.com \
--to=daniel.schwierzeck@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.