From cfa4a793e6c02db7d3842b1a3cf4c53195183bca Mon Sep 17 00:00:00 2001 From: Eli Carter Date: Mon, 21 Apr 2003 19:27:44 +0100 Subject: [PATCH] [ARM PATCH] 1508/1: use #define's for iq80321 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-iop3xx/mm-321.c b/arch/arm/mach-iop3xx/mm-321.c index b345481e24881..f0cbaa0f44bac 100644 --- a/arch/arm/mach-iop3xx/mm-321.c +++ b/arch/arm/mach-iop3xx/mm-321.c @@ -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) -- 2.53.0