[openfirmware] [commit] r2404 - dev/olpc/mmp2camera
repository service
svn at openfirmware.info
Tue Aug 2 19:55:53 CEST 2011
Author: wmb
Date: Tue Aug 2 19:55:53 2011
New Revision: 2404
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2404
Log:
OLPC XO-1.75 - fixed camera driver - it was broken by the VA != PA conversion.
Modified:
dev/olpc/mmp2camera/ccic.fth
Modified: dev/olpc/mmp2camera/ccic.fth
==============================================================================
--- dev/olpc/mmp2camera/ccic.fth Tue Aug 2 07:25:19 2011 (r2403)
+++ dev/olpc/mmp2camera/ccic.fth Tue Aug 2 19:55:53 2011 (r2404)
@@ -138,6 +138,7 @@
;
: open ( -- flag )
+ my-address my-space h# 1000 " map-in" $call-parent to camera-base
init
ov7670-detected? 0= if false exit then
alloc-dma-bufs
@@ -252,7 +253,6 @@
: selftest ( -- error? )
open 0= if true exit then
- my-address my-space h# 1000 " map-in" $call-parent to camera-base
d# 300 ms
start-display
unmirrored shoot-still ?dup if close exit then ( error? )
More information about the openfirmware
mailing list