[PATCH 4/5] qi-fix-gta03-default-wlan-power.patch
Andy Green
andy at openmoko.com
Sat Dec 6 00:18:40 CET 2008
Make sure WLAN module power is off by default - this controls
a P-Channel MOSFET that gates all the power there
Signed-off-by: Andy Green <andy at openmoko.com>
---
src/cpu/s3c6410/gta03.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/cpu/s3c6410/gta03.c b/src/cpu/s3c6410/gta03.c
index acffb0b..3bb9fb8 100644
--- a/src/cpu/s3c6410/gta03.c
+++ b/src/cpu/s3c6410/gta03.c
@@ -538,7 +538,8 @@ void port_init_gta03(void)
__REG(GPKPUD) = 0; /* all pullup and pulldown disabled */
__REG(GPKDAT) =
- (1 << 2) /* deassert nMODEM_ON */
+ (1 << 2) | /* deassert nMODEM_ON */
+ (1 << 0) /* deassert nWLAN_POWERON */
;
/* ---------------------------- Port L ---------------------------- */
More information about the openmoko-kernel
mailing list