From 1bc7014eb269ef0493d798828d88fcd1e3eaa369 Mon Sep 17 00:00:00 2001 From: Xiangfu Liu Date: Tue, 27 Apr 2010 13:16:32 +0800 Subject: [PATCH] enable the TP4, TP5 as UART0 Signed-off-by: Xiangfu Liu --- package/uboot-xburst/files/board/nanonote/nanonote.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/uboot-xburst/files/board/nanonote/nanonote.c b/package/uboot-xburst/files/board/nanonote/nanonote.c index b0c5c7ef2..a6d93716e 100644 --- a/package/uboot-xburst/files/board/nanonote/nanonote.c +++ b/package/uboot-xburst/files/board/nanonote/nanonote.c @@ -50,6 +50,9 @@ static void gpio_init(void) __gpio_clear_pin(GPIO_KEYOUT_BASE + i); } + /* enable the TP4, TP5 as UART0 */ + REG_GPIO_PXSELS(2) = 0x80000000; + /* * Initialize UART0 pins, in Ben NanoNote uart0 and keyin8 use the * same gpio, init the gpio as uart0 cause a keyboard bug. so for