From: Tom Rini Date: Sat, 16 Jul 2016 09:48:10 -0400 Subject: [U-Boot] [U-Boot, v2, 3/3] linux/io.h: add generic ioremap()/iounmap() defines In-Reply-To: <1467078522-24431-4-git-send-email-yamada.masahiro@socionext.com> References: <1467078522-24431-4-git-send-email-yamada.masahiro@socionext.com> Message-ID: <20160716134810.GR7260@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Jun 28, 2016 at 10:48:42AM +0900, Masahiro Yamada wrote: > 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 added a > Kconfig symbol CONFIG_HAVE_ARCH_IOREMAP which MIPS (and maybe > Sandbox as well) can select. > > Signed-off-by: Masahiro Yamada > Reviewed-by: Daniel Schwierzeck Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: