[PATCH 1/3] qi/om_3d7k: deassert LCM_RESET pin before getting kernel.
Matt Hsu
matt_hsu at openmoko.org
Sat Mar 7 08:24:42 CET 2009
Since the reset callback function of probing jbt6k74 is
eliminated for some reasons in kernel. In order to support
both of LCM driver device, l1k002 and jbt6k74, just issue this reset in qi stage.
Signed-off-by: Matt Hsu <matt_hsu at openmoko.org>
---
src/cpu/s3c6410/om_3d7k.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/cpu/s3c6410/om_3d7k.c b/src/cpu/s3c6410/om_3d7k.c
index b24d247..d339e00 100644
--- a/src/cpu/s3c6410/om_3d7k.c
+++ b/src/cpu/s3c6410/om_3d7k.c
@@ -553,7 +553,8 @@ void port_init_om_3d7k(void)
__REG(GPKDAT) =
(1 << 2) | /* deassert nMODEM_ON */
- (1 << 0) /* deassert nWLAN_POWERON */
+ (1 << 0) | /* deassert nWLAN_POWERON */
+ (1 << 6) /* deassert LCM_RESET */
;
/* ---------------------------- Port L ---------------------------- */
--
1.5.3.6
More information about the openmoko-kernel
mailing list