From 9c291f0f835dc8349afc21d6311cb531140f6977 Mon Sep 17 00:00:00 2001 From: Eric Miao Date: Tue, 10 Feb 2009 10:35:25 +0800 Subject: [PATCH] [ARM] pxa/aspenite: add support for console uart Signed-off-by: Eric Miao --- arch/arm/mach-mmp/aspenite.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 +#include #include #include #include +#include +#include #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") -- 2.41.1