summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mmp
diff options
context:
space:
mode:
authorEric Miao <eric.miao@marvell.com>2009-02-10 10:35:25 +0800
committerEric Miao <eric.miao@marvell.com>2009-03-23 10:11:35 +0800
commit9c291f0f835dc8349afc21d6311cb531140f6977 (patch)
tree017807323d670e410318b8e1d88289e743fd2fb2 /arch/arm/mach-mmp
parent56422554d29e3761b095b3e27646e8ee03fae41a (diff)
downloadkernel-crypto-9c291f0f835dc8349afc21d6311cb531140f6977.tar.gz
kernel-crypto-9c291f0f835dc8349afc21d6311cb531140f6977.tar.xz
kernel-crypto-9c291f0f835dc8349afc21d6311cb531140f6977.zip
[ARM] pxa/aspenite: add support for console uart
Signed-off-by: Eric Miao <eric.miao@marvell.com>
Diffstat (limited to 'arch/arm/mach-mmp')
-rw-r--r--arch/arm/mach-mmp/aspenite.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/mach-mmp/aspenite.c b/arch/arm/mach-mmp/aspenite.c
index e8caf58e004..a9efa5cadbe 100644
--- a/arch/arm/mach-mmp/aspenite.c
+++ b/arch/arm/mach-mmp/aspenite.c
@@ -10,15 +10,27 @@
*/
#include <linux/init.h>
+#include <linux/kernel.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <mach/addr-map.h>
+#include <mach/mfp-pxa168.h>
+#include <mach/pxa168.h>
#include "common.h"
+static unsigned long common_pin_config[] __initdata = {
+ /* UART1 */
+ GPIO107_UART1_RXD,
+ GPIO108_UART1_TXD,
+};
+
static void __init common_init(void)
{
+ mfp_config(ARRAY_AND_SIZE(common_pin_config));
+
+ pxa168_add_uart(1);
}
MACHINE_START(ASPENITE, "PXA168-based Aspenite Development Platform")