diff options
-rw-r--r-- | arch/arm/mach-mmp/aspenite.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/mach-mmp/aspenite.c b/arch/arm/mach-mmp/aspenite.c index e8caf58e004c..a9efa5cadbe8 100644 --- a/arch/arm/mach-mmp/aspenite.c +++ b/arch/arm/mach-mmp/aspenite.c | |||
@@ -10,15 +10,27 @@ | |||
10 | */ | 10 | */ |
11 | 11 | ||
12 | #include <linux/init.h> | 12 | #include <linux/init.h> |
13 | #include <linux/kernel.h> | ||
13 | 14 | ||
14 | #include <asm/mach-types.h> | 15 | #include <asm/mach-types.h> |
15 | #include <asm/mach/arch.h> | 16 | #include <asm/mach/arch.h> |
16 | #include <mach/addr-map.h> | 17 | #include <mach/addr-map.h> |
18 | #include <mach/mfp-pxa168.h> | ||
19 | #include <mach/pxa168.h> | ||
17 | 20 | ||
18 | #include "common.h" | 21 | #include "common.h" |
19 | 22 | ||
23 | static unsigned long common_pin_config[] __initdata = { | ||
24 | /* UART1 */ | ||
25 | GPIO107_UART1_RXD, | ||
26 | GPIO108_UART1_TXD, | ||
27 | }; | ||
28 | |||
20 | static void __init common_init(void) | 29 | static void __init common_init(void) |
21 | { | 30 | { |
31 | mfp_config(ARRAY_AND_SIZE(common_pin_config)); | ||
32 | |||
33 | pxa168_add_uart(1); | ||
22 | } | 34 | } |
23 | 35 | ||
24 | MACHINE_START(ASPENITE, "PXA168-based Aspenite Development Platform") | 36 | MACHINE_START(ASPENITE, "PXA168-based Aspenite Development Platform") |