Author: quozl Date: Fri Mar 28 02:30:36 2014 New Revision: 3719 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3719
Log: libertas - use a single byte sequence number for 8787, fixes use of adhoc-start with test-antenna
Modified: dev/libertas.fth dev/mmc/sdhci/mv8686/libertas-interface.fth
Modified: dev/libertas.fth ============================================================================== --- dev/libertas.fth Thu Mar 20 05:06:05 2014 (r3718) +++ dev/libertas.fth Fri Mar 28 02:30:36 2014 (r3719) @@ -188,7 +188,10 @@
-1 value fw-seq
-: fw-seq++ ( -- seq ) fw-seq 1+ dup to fw-seq ; +defer fw-seq++ +: fw-seq-l++ ( -- seq ) fw-seq 1+ dup to fw-seq ; +: fw-seq-b++ ( -- seq ) fw-seq 1+ h# ff and dup to fw-seq ; +' fw-seq-l++ to fw-seq++
d# 30 constant resp-wait-tiny d# 1,000 constant resp-wait-short @@ -2143,6 +2146,7 @@ " " set-ssid \ Instance buffers aren't necessarily initially 0 opencount @ 0= if init-buf + mv8787? if ['] fw-seq-b++ to fw-seq++ then setup-transport if free-buf false exit then ds-ready to driver-state multifunction? if init-function then
Modified: dev/mmc/sdhci/mv8686/libertas-interface.fth ============================================================================== --- dev/mmc/sdhci/mv8686/libertas-interface.fth Thu Mar 20 05:06:05 2014 (r3718) +++ dev/mmc/sdhci/mv8686/libertas-interface.fth Fri Mar 28 02:30:36 2014 (r3719) @@ -8,6 +8,7 @@ : data-out ( adr len -- ) " data-out" $call-parent ; : release-bus-resources ( -- ) " release-bus-resources" $call-parent ; : multifunction? ( -- flag ) " multifunction?" $call-parent ; +: mv8787? ( -- flag ) " mv8787?" $call-parent ; : set-parent-channel ( -- ) my-space " set-address" $call-parent ; : setup-transport ( -- error? ) false ; \ Done by parent