Changeset 2790
- Timestamp:
- Dec 31, 2011 9:01:51 PM (17 months ago)
- Location:
- cpu/arm/olpc
- Files:
-
- 3 edited
-
1.75/usb.fth (modified) (1 diff)
-
3.0/usb.fth (modified) (1 diff)
-
build-fw.fth (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cpu/arm/olpc/1.75/usb.fth
r2715 r2790 125 125 ; 126 126 127 : usb-quiet ( -- ) 128 detach-usb-keyboard 129 " /usb" " reset-usb" execute-device-method drop 130 ; 131 127 132 : suspend-usb ( -- ) 128 133 detach-usb-keyboard -
cpu/arm/olpc/3.0/usb.fth
r2746 r2790 163 163 add-input 164 164 then 165 ; 166 167 : usb-quiet ( -- ) 168 detach-usb-keyboard 169 " /usb@f0003000" " reset-usb" execute-device-method drop 170 " /usb@d4208000" " reset-usb" execute-device-method drop 165 171 ; 166 172 -
cpu/arm/olpc/build-fw.fth
r2786 r2790 362 362 fload ${BP}/cpu/arm/marvell/utmiphy.fth 363 363 364 fload ${BP}/cpu/arm/linux.fth 365 364 366 \+ olpc-cl2 fload ${BP}/cpu/arm/olpc/1.75/usb.fth 365 367 \+ olpc-cl3 fload ${BP}/cpu/arm/mmp2/ulpiphy.fth … … 425 427 [then] 426 428 427 fload ${BP}/cpu/arm/linux.fth428 429 429 \ The bottom of extra-mem is the top of DMA memory. 430 430 \ We give everything up to that address to Linux. 431 431 : olpc-memory-limit ( -- adr ) extra-mem-va >physical ; 432 432 ' olpc-memory-limit to memory-limit 433 434 : usb-quiet ( -- )435 [ ' linux-hook behavior compile, ] \ Chain to old behavior436 unload-crypto437 " /usb" " reset-usb" execute-device-method drop438 ;439 433 440 434 \+ olpc-cl2 d# 9999 to arm-linux-machine-type \ XO-1.75 … … 600 594 ; 601 595 : quiesce ( -- ) 596 usb-quiet 602 597 teardown-mux-io 603 598 timers-off 604 u sb-quiet599 unload-crypto 605 600 close-ec 606 601 \ Change the sleep state of EC_SPI_ACK from 1 (OFW value) to 0 (Linux value)
Note: See TracChangeset
for help on using the changeset viewer.
