[OpenBIOS] r428 - dev/olpc/cafecamera

svn at openbios.org svn at openbios.org
Wed May 30 09:32:31 CEST 2007


Author: wmb
Date: 2007-05-30 09:32:30 +0200 (Wed, 30 May 2007)
New Revision: 428

Modified:
   dev/olpc/cafecamera/cafecamera.fth
Log:
OLPC cafecamera.fth - Trac #1577 - Turn off camera power at probe time.



Modified: dev/olpc/cafecamera/cafecamera.fth
===================================================================
--- dev/olpc/cafecamera/cafecamera.fth	2007-05-30 06:11:53 UTC (rev 427)
+++ dev/olpc/cafecamera/cafecamera.fth	2007-05-30 07:32:30 UTC (rev 428)
@@ -555,6 +555,11 @@
    0 close					( error? )
 ;
 
+\ Do this at probe time to make sure the camera power is off
+map-regs
+0000.0008 3038 cl!	\ Turn on CaFe GPIO3 to enable power
+0008.0000 315c cl!	\ Set VDD to off
+unmap-regs
 
 \ LICENSE_BEGIN
 \ Copyright (c) 2006 FirmWorks




More information about the OpenBIOS mailing list