Date:2009-11-22 15:37:59 (3 years 6 months ago)
Author:Xiangfu Liu
Commit:ec78d3b48da7e9b18a2b8883f66ff1baae4841e2
Message:init the gpioo keyin8

Files: target/linux/xburst/image/u-boot/patches/0003-disable-init-gpio-as-uart0.patch (2 diffs)

Change Details

target/linux/xburst/image/u-boot/patches/0003-disable-init-gpio-as-uart0.patch
1From 6901dd7d88680eb08b9bd3000244aa8003d0de9f Mon Sep 17 00:00:00 2001
2From: Xiangfu Liu <xiangfu@qi-hardware.com>
3Date: Fri, 20 Nov 2009 23:29:31 +0800
4Subject: [PATCH] disable init gpio as uart0
5
6 board/qi_lb60/qi_lb60.c | 6 ++++--
7 1 files changed, 4 insertions(+), 2 deletions(-)
8
91diff --git a/board/qi_lb60/qi_lb60.c b/board/qi_lb60/qi_lb60.c
10index d13f2ab..d87619c 100644
2index d13f2ab..86c33ba 100644
113--- a/board/qi_lb60/qi_lb60.c
124+++ b/board/qi_lb60/qi_lb60.c
135@@ -25,9 +25,11 @@ static void gpio_init(void)
...... 
2516
2617     /*
2718      * Initialize LCD pins
281.6.3.3
29
19@@ -52,8 +54,8 @@ static void gpio_init(void)
20         __gpio_as_input(GPIO_KEYIN_BASE + i);
21         __gpio_enable_pull(GPIO_KEYIN_BASE + i);
22     }
23- /* __gpio_as_input( GPIO_KEYIN_8 ); */
24- /* __gpio_enable_pull( GPIO_KEYIN_8 ); */
25+ __gpio_as_input(GPIO_KEYIN_8);
26+ __gpio_enable_pull(GPIO_KEYIN_8);
27
28     __gpio_as_output(GPIO_AUDIO_POP);
29     __gpio_set_pin(GPIO_AUDIO_POP);

Archive Download the corresponding diff file



interactive