From: Eric Miao Date: Tue, 10 Feb 2009 02:35:25 +0000 (+0800) Subject: [ARM] pxa/aspenite: add support for console uart X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=9c291f0f835dc8349afc21d6311cb531140f6977;p=linux-2.6-omap-h63xx.git [ARM] pxa/aspenite: add support for console uart Signed-off-by: Eric Miao --- 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")