diff options
author | Rob Herring <rob.herring@calxeda.com> | 2012-02-28 13:15:43 -0600 |
---|---|---|
committer | Rob Herring <rob.herring@calxeda.com> | 2012-07-26 09:09:58 -0500 |
commit | c04dc9a6bfe88b8c15bf8dd298fc24d6b9df3f22 (patch) | |
tree | 31710d95a5f232ef04f1a51b69f8288cfbec325e /arch/arm/mach-shark/include/mach/debug-macro.S | |
parent | 29d396047939c559dc1fd42f2d43fd6006082b07 (diff) | |
download | op-kernel-dev-c04dc9a6bfe88b8c15bf8dd298fc24d6b9df3f22.zip op-kernel-dev-c04dc9a6bfe88b8c15bf8dd298fc24d6b9df3f22.tar.gz |
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.S | 7 |
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 20eb2bf..d129119 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 |