]> git.hungrycats.org Git - linux/commitdiff
[ARM PATCH] 1508/1: use #define's for iq80321
authorEli Carter <eli.carter@com.rmk.(none)>
Mon, 21 Apr 2003 18:27:44 +0000 (19:27 +0100)
committerRussell King <rmk@flint.arm.linux.org.uk>
Mon, 21 Apr 2003 18:27:44 +0000 (19:27 +0100)
Patch from Eli Carter

# Thu Apr 17 16:37:58 CDT 2003 ejc@rnd-linux-c84
# iq80321-use-addr-defines
#
# Use #define's instead of hard-coded numbers for the device locations for the
# iq80321 board.
#
# Diffed against linux-2.5.65-rmk1+1472-4+1502-3+1506
# Applies cleanly to linux-2.5.67-rmk1+1502-3+1506
#
#  arch/arm/mach-iop3xx/mm-321.c |    4 ++--
#  1 files changed, 2 insertions(+), 2 deletions(-)
#

arch/arm/mach-iop3xx/mm-321.c

index b345481e248819dc4a5fb282bf121e8073b7d4eb..f0cbaa0f44bac5541684e5d5834664c11b28e87a 100644 (file)
@@ -31,7 +31,7 @@ static struct map_desc iop80321_std_desc[] __initdata = {
  /* virtual     physical      length      type */
 
  /* mem mapped registers */
- { 0xfff00000,  0xffffe000,   0x00002000,  MT_DEVICE },
+ { IOP321_VIRT_MEM_BASE,  IOP321_PHY_MEM_BASE,   0x00002000,  MT_DEVICE },
 
  /* PCI IO space */
  { 0xfe000000,  0x90000000,   0x00020000,  MT_DEVICE }
@@ -52,7 +52,7 @@ static struct map_desc iq80321_io_desc[] __initdata = {
  /* virtual     physical      length        type */
 
  /* on-board devices */
- { 0xfe800000,  0xfe800000,   0x00100000,   MT_DEVICE }
+ { 0xfe800000,  IQ80321_UART1,   0x00100000,   MT_DEVICE }
 };
 
 void __init iq80321_map_io(void)