From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Schwierzeck Date: Mon, 27 Jun 2016 11:57:15 +0200 Subject: [U-Boot] [PATCH 3/3] linux/io.h: add generic ioremap()/iounmap() defines In-Reply-To: <1467016351-22360-4-git-send-email-yamada.masahiro@socionext.com> References: <1467016351-22360-1-git-send-email-yamada.masahiro@socionext.com> <1467016351-22360-4-git-send-email-yamada.masahiro@socionext.com> Message-ID: <5770F87B.7010104@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 . > > 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: