From ac434683710ee0a42a0e7e6a264267c45a27c384 Mon Sep 17 00:00:00 2001 From: Xiangfu Liu Date: Fri, 20 Nov 2009 23:31:30 +0800 Subject: [PATCH] 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 --- .../0003-disable-init-gpio-as-uart0.patch | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 target/linux/xburst/image/u-boot/patches/0003-disable-init-gpio-as-uart0.patch diff --git a/target/linux/xburst/image/u-boot/patches/0003-disable-init-gpio-as-uart0.patch b/target/linux/xburst/image/u-boot/patches/0003-disable-init-gpio-as-uart0.patch new file mode 100644 index 000000000..9d8795869 --- /dev/null +++ b/target/linux/xburst/image/u-boot/patches/0003-disable-init-gpio-as-uart0.patch @@ -0,0 +1,30 @@ +From 6901dd7d88680eb08b9bd3000244aa8003d0de9f Mon Sep 17 00:00:00 2001 +From: Xiangfu Liu +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 +