aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-aaec2000
diff options
context:
space:
mode:
authorBellido Nicolas <ml@acolin.be>2005-10-28 11:51:40 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-10-28 11:51:40 -0400
commit4028ef4cc1fea245906a2dbd4df1ac9f0353ef5f (patch)
tree03d87c15a85caaf918e40abc8ab0245a37b362ad /arch/arm/mach-aaec2000
parent13b1d677d2c872e2d05ef6241b499b6e1f6f91ba (diff)
[ARM] 3037/1: AAED-2000 - Add defines for GPIO registers on external port.
Patch from Bellido Nicolas The AAED-2000 board has GPIO pins on an external port. This patch adds the defines, and do the necessary mapping. Signed-off-by: Nicolas Bellido <ml@acolin.be> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-aaec2000')
-rw-r--r--arch/arm/mach-aaec2000/aaed2000.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-aaec2000/aaed2000.c b/arch/arm/mach-aaec2000/aaed2000.c
index c9d899886648..7b0a1c7d64a9 100644
--- a/arch/arm/mach-aaec2000/aaed2000.c
+++ b/arch/arm/mach-aaec2000/aaed2000.c
@@ -27,6 +27,8 @@
27#include <asm/mach/map.h> 27#include <asm/mach/map.h>
28#include <asm/mach/irq.h> 28#include <asm/mach/irq.h>
29 29
30#include <asm/arch/aaed2000.h>
31
30#include "core.h" 32#include "core.h"
31 33
32static void __init aaed2000_init_irq(void) 34static void __init aaed2000_init_irq(void)
@@ -34,9 +36,14 @@ static void __init aaed2000_init_irq(void)
34 aaec2000_init_irq(); 36 aaec2000_init_irq();
35} 37}
36 38
39static struct map_desc aaed2000_io_desc[] __initdata = {
40 { EXT_GPIO_VBASE, EXT_GPIO_PBASE, EXT_GPIO_LENGTH, MT_DEVICE }, /* Ext GPIO */
41};
42
37static void __init aaed2000_map_io(void) 43static void __init aaed2000_map_io(void)
38{ 44{
39 aaec2000_map_io(); 45 aaec2000_map_io();
46 iotable_init(aaed2000_io_desc, ARRAY_SIZE(aaed2000_io_desc));
40} 47}
41 48
42MACHINE_START(AAED2000, "Agilent AAED-2000 Development Platform") 49MACHINE_START(AAED2000, "Agilent AAED-2000 Development Platform")