1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-27 13:46:26 +02:00

disable init gpio as uart0 for end user

in Ben NanoNote uart0 and keyboard use the one same gpio
if init this gpio as uart0. this cause a keyboard bug
This commit is contained in:
Xiangfu Liu 2009-11-20 23:31:30 +08:00
parent 0f4bab5d6b
commit ac43468371

View File

@ -0,0 +1,30 @@
From 6901dd7d88680eb08b9bd3000244aa8003d0de9f Mon Sep 17 00:00:00 2001
From: Xiangfu Liu <xiangfu@qi-hardware.com>
Date: Fri, 20 Nov 2009 23:29:31 +0800
Subject: [PATCH] disable init gpio as uart0
---
board/qi_lb60/qi_lb60.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/board/qi_lb60/qi_lb60.c b/board/qi_lb60/qi_lb60.c
index d13f2ab..d87619c 100644
--- a/board/qi_lb60/qi_lb60.c
+++ b/board/qi_lb60/qi_lb60.c
@@ -25,9 +25,11 @@ static void gpio_init(void)
__gpio_as_sdram_32bit();
/*
- * Initialize UART0 pins
+ * Initialize UART0 pins, in Ben NanoNote uart0 and keyin8 use the
+ * same gpio, init the gpio as uart0 cause a keyboard bug. so for
+ * end user we disable the uart0
*/
- __gpio_as_uart0();
+ /* __gpio_as_uart0(); */
/*
* Initialize LCD pins
--
1.6.3.3