Author: quozl
Date: Fri Jan 11 08:23:07 2013
New Revision: 3517
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3517
Log:
usbserial - start the read again next time the device is opened, fixes re-use of USB serial devices by applications, without this change the read path yields no data on subsequent open because the bulk in is not set up.
Modified:
dev/usb2/device/serial/uart.fth
Modified: dev/usb2/device/serial/uart.fth
==============================================================================
--- dev/usb2/device/serial/uart.fth Tue Jan 8 06:07:44 2013 (r3516)
+++ dev/usb2/device/serial/uart.fth Fri Jan 11 08:23:07 2013 (r3517)
@@ -60,6 +60,7 @@
rts-dtr-off
end-bulk-in
free-buf
+ false to read-started?
then
;
Author: wmb
Date: Sun Jan 6 04:39:45 2013
New Revision: 3512
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3512
Log:
OLPC camera driver - trac #12436 - turn off camera power domain in open method if sensor not found; fixes failure to suspend.
Modified:
dev/olpc/mmp2camera/ccic.fth
Modified: dev/olpc/mmp2camera/ccic.fth
==============================================================================
--- dev/olpc/mmp2camera/ccic.fth Fri Jan 4 05:56:56 2013 (r3511)
+++ dev/olpc/mmp2camera/ccic.fth Sun Jan 6 04:39:45 2013 (r3512)
@@ -142,7 +142,7 @@
: open ( -- flag )
my-address my-space h# 1000 " map-in" $call-parent to camera-base
power-on
- sensor-found? 0= if false exit then
+ sensor-found? 0= if power-off false exit then
my-args " yuv" $= to use-ycrcb?
alloc-dma-bufs
read-setup
Author: quozl
Date: Fri Jan 4 03:50:09 2013
New Revision: 3509
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3509
Log:
OLPC XO-1.75 XO-4 - bat-status@ gave an EC command result timeout on XO-1.75, caused by EC API version being treated as cross-platform when it should not have been. XO-4 no longer needs EC API version 4 support, so remove it.
Modified:
dev/olpc/kb3700/eccmds.fth
Modified: dev/olpc/kb3700/eccmds.fth
==============================================================================
--- dev/olpc/kb3700/eccmds.fth Thu Jan 3 23:54:09 2013 (r3508)
+++ dev/olpc/kb3700/eccmds.fth Fri Jan 4 03:50:09 2013 (r3509)
@@ -114,24 +114,11 @@
\ Commands that are different for XO-4
-: bat-status16@ ( -- w ) h# 70 ec-cmd-w@ ;
[ifdef] olpc-xo4
+: bat-status16@ ( -- w ) h# 70 ec-cmd-w@ ;
' bat-status16@ is bat-status@
[then]
-\ until EC 0.3.04 and earlier are purged from prototype population,
-\ choose command based on API version reported by EC.
-: bat-status@' ( -- w )
- ec-api-ver@ 5 < if
- ['] bat-status8@
- else
- ['] bat-status16@
- then
- is bat-status@
- bat-status@
-;
-' bat-status@' is bat-status@
-
\ LICENSE_BEGIN
\ Copyright (c) 2010 FirmWorks
\