summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shark/include/mach/debug-macro.S
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2012-02-28 13:15:43 -0600
committerRob Herring <rob.herring@calxeda.com>2012-07-26 09:09:58 -0500
commitc04dc9a6bfe88b8c15bf8dd298fc24d6b9df3f22 (patch)
tree31710d95a5f232ef04f1a51b69f8288cfbec325e /arch/arm/mach-shark/include/mach/debug-macro.S
parent29d396047939c559dc1fd42f2d43fd6006082b07 (diff)
downloadlinux-c04dc9a6bfe88b8c15bf8dd298fc24d6b9df3f22.tar.bz2
ARM: shark: use fixed PCI i/o mapping
Convert shark to use the fixed i/o mapping and remove io.h. This shrinks the mapping from 256MB to 1MB, but nothing is using that much space AFAICT. Signed-off-by: Rob Herring <rob.herring@calxeda.com> Cc: Russell King <linux@arm.linux.org.uk> Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-shark/include/mach/debug-macro.S')
-rw-r--r--arch/arm/mach-shark/include/mach/debug-macro.S7
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/arm/mach-shark/include/mach/debug-macro.S b/arch/arm/mach-shark/include/mach/debug-macro.S
index 20eb2bf2a42b..d129119a3f69 100644
--- a/arch/arm/mach-shark/include/mach/debug-macro.S
+++ b/arch/arm/mach-shark/include/mach/debug-macro.S
@@ -12,9 +12,10 @@
*/
.macro addruart, rp, rv, tmp
- mov \rp, #0xe0000000
- orr \rp, \rp, #0x000003f8
- mov \rv, \rp
+ mov \rp, #0x3f8
+ orr \rv, \rp, #0xfe000000
+ orr \rv, \rv, #0x00e00000
+ orr \rp, \rp, #0x40000000
.endm
.macro senduart,rd,rx