Rob Herring
6f6f6a7029
ARM: create a common IOMEM definition
...
Several platforms create IOMEM defines for casting to 'void __iomem *',
and other platforms are incorrectly using __io() macro for the same
purpose. This creates a common definition and removes all the platform
specific versions. Rather than try to make linux/io.h and asm/io.h
assembly safe, the assembly version of IOMEM is moved into
asm/assembler.h.
Signed-off-by: Rob Herring <rob.herring@calxeda.com >
Cc: Russell King <linux@arm.linux.org.uk >
Cc: Sekhar Nori <nsekhar@ti.com >
Cc: Kevin Hilman <khilman@ti.com >
Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Cc: Ryan Mallon <rmallon@gmail.com >
Cc: Eric Miao <eric.y.miao@gmail.com >
Cc: Haojian Zhuang <haojian.zhuang@marvell.com >
Acked-by: David Brown <davidb@codeaurora.org >
Cc: Daniel Walker <dwalker@fifo99.com >
Cc: Bryan Huntsman <bryanh@codeaurora.org >
Cc: Sascha Hauer <kernel@pengutronix.de >
Cc: Shawn Guo <shawn.guo@linaro.org >
Acked-by: Tony Lindgren <tony@atomide.com >
Acked-by: Paul Walmsley <paul@pwsan.com >
Acked-by: Viresh Kumar <viresh.kumar@st.com >
Cc: Rajeev Kumar <rajeev-dlh.kumar@st.com >
Cc: Colin Cross <ccross@android.com >
Cc: Olof Johansson <olof@lixom.net >
Cc: Stephen Warren <swarren@nvidia.com >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Acked-by: Arnd Bergmann <arnd@arndb.de >
2012-03-13 21:22:09 -05:00
Russell King
5e4cdb83ed
ARM: io: RiscPC: make EASI_BASE a void iomem pointer
...
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2011-08-17 08:44:16 +01:00
Russell King
06cf0b5468
ARM: io: ecard: remove ioaddr() from ecard.c
...
Remove ioaddr() usage from ecard.c, updating (and renaming) the
constants in RiscPC's hardware.h to contain the proper translation.
As this gets rid of the last ioaddr() usage, kill that too.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2011-08-17 08:44:16 +01:00
Russell King
d0a84e72eb
ARM: io: RiscPC: define io addresses relative to IO_BASE
...
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2011-08-17 08:44:16 +01:00
Russell King
a09e64fbc0
[ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach
...
This just leaves include/asm-arm/plat-* to deal with.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2008-08-07 09:55:48 +01:00