Author: wmb
Date: Mon Oct 24 04:51:29 2011
New Revision: 2648
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2648
Log:
OLPC XO-1.75 - changed USB post-hub-port-power-on delay to 350 ms to fix a problem with some Belkin USB sticks.
Modified:
cpu/arm/olpc/1.75/usb.fth
Modified: cpu/arm/olpc/1.75/usb.fth
==============================================================================
--- cpu/arm/olpc/1.75/usb.fth Mon Oct 24 01:54:24 2011 (r2647)
+++ cpu/arm/olpc/1.75/usb.fth Mon Oct 24 04:51:29 2011 (r2648)
@@ -41,7 +41,7 @@
init-usb
;
-d# 300 config-int usb-delay \ Milliseconds to wait before probing hub ports
+d# 350 config-int usb-delay \ Milliseconds to wait before probing hub ports
devalias u /usb/disk
Author: quozl
Date: Mon Oct 24 01:54:24 2011
New Revision: 2647
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2647
Log:
Q3B21
(note that this version was not svn head at this point, but rather svn
2478 [q3b19] with 2589 and 2597 [q3b20])
Modified:
cpu/x86/pc/olpc/via/fw-version.fth
Modified: cpu/x86/pc/olpc/via/fw-version.fth
==============================================================================
--- cpu/x86/pc/olpc/via/fw-version.fth Sun Oct 23 01:36:39 2011 (r2646)
+++ cpu/x86/pc/olpc/via/fw-version.fth Mon Oct 24 01:54:24 2011 (r2647)
@@ -1,3 +1,3 @@
\ The overall firmware revision
macro: FW_MAJOR B
-macro: FW_MINOR 20
+macro: FW_MINOR 21
Author: wmb
Date: Sat Oct 22 07:20:07 2011
New Revision: 2641
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2641
Log:
OLPC XO-1.75 - Change the sleep state of EC_SPI_ACK from 1 (OFW value) to 0 (Linux value) when entering Linux. This lets Linux respond to upstream events from the EC during sleep.
Modified:
cpu/arm/olpc/1.75/fw.bth
Modified: cpu/arm/olpc/1.75/fw.bth
==============================================================================
--- cpu/arm/olpc/1.75/fw.bth Sat Oct 22 07:20:01 2011 (r2640)
+++ cpu/arm/olpc/1.75/fw.bth Sat Oct 22 07:20:07 2011 (r2641)
@@ -36,6 +36,8 @@
timers-off
usb-quiet
close-ec
+ \ Change the sleep state of EC_SPI_ACK from 1 (OFW value) to 0 (Linux value)
+ d# 125 af@ h# 100 invert and d# 125 af!
;
' quiesce to linux-hook
Author: wmb
Date: Sat Oct 22 07:20:01 2011
New Revision: 2640
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2640
Log:
OLPC XO-1.75 - synchronized mfpr.fth with the version in CForth. Should be no functional change.
Modified:
cpu/arm/mmp2/mfpr.fth
Modified: cpu/arm/mmp2/mfpr.fth
==============================================================================
--- cpu/arm/mmp2/mfpr.fth Sat Oct 22 07:19:56 2011 (r2639)
+++ cpu/arm/mmp2/mfpr.fth Sat Oct 22 07:20:01 2011 (r2640)
@@ -36,7 +36,7 @@
: gpio>mfpr ( gpio# -- mfpr-pa )
mfpr-offsets swap wa+ w@
h# 01.e000 +
-;
+;
: dump-mfprs ( -- )
base @
@@ -47,7 +47,20 @@
: no-update, ( -- ) 8 w, ; \ 8 is a reserved bit; the code skips these
: af@ ( gpio# -- function# ) gpio>mfpr io@ ;
: af! ( function# gpio# -- ) gpio>mfpr io! ;
-: af, ( n -- ) h# c0 + w, ;
-: +fast ( n -- n' ) h# 1800 or ;
-: pull-up, ( n -- ) h# c0c0 + w, ;
-: pull-dn, ( n -- ) h# a0c0 + w, ;
+
+: +edge-clr ( n -- n' ) h# 40 or ;
+: +medium ( n -- n' ) h# 1000 or ;
+: +fast ( n -- n' ) h# 1800 or ;
+: +twsi ( n -- n' ) h# 400 or ;
+: +pull-up ( n -- n' ) h# c000 or ;
+: +pull-dn ( n -- n' ) h# a000 or ;
+: +pull-up-alt ( n -- n' ) h# 4000 or ;
+: +pull-dn-alt ( n -- n' ) h# 2000 or ;
+
+\ We always start with edge detection off; it can be turned on later as needed
+: af, ( n -- ) +edge-clr w, ;
+
+: sleep- ( n -- n' ) h# 0200 or ;
+: sleep0 ( n -- n' ) h# 0000 or ;
+: sleep1 ( n -- n' ) h# 0100 or ;
+: sleepi ( n -- n' ) h# 0080 or ;