Changeset 3281


Ignore:
Timestamp:
Sep 4, 2012, 7:38:42 PM (3 years ago)
Author:
wmb
Message:

OLPC ARM - Moved the security Processor communication protocol driver after the USB driver in the load sequence so the ambiguous pathname /keyboard will resolve to /ap-sp/keyboard instead of /usb/keyboard after a USB keyboard has been attached. Manufacturing test scripts need that behavior per OLPC trac #12074.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpu/arm/olpc/build-fw.fth

    r3274 r3281  
    242242fload ${BP}/dev/olpc/kb3700/spicmd.fth           \ EC SPI Command Protocol
    243243
    244 [ifdef] has-sp-kbd
    245 fload ${BP}/cpu/arm/olpc/spcmd.fth   \ Security Processor communication protocol
    246 devalias keyboard /ap-sp/keyboard
    247 devalias mouse    /ap-sp/mouse
    248 [then]
    249 
    250244: wlan-reset  ( -- )  wlan-reset-gpio# gpio-clr  d# 20 ms  wlan-reset-gpio# gpio-set  ;
    251245
     
    302296[then]
    303297fload ${BP}/cpu/arm/olpc/usb.fth
     298
     299[ifdef] has-sp-kbd
     300\ Load this after the USB driver so the ambiguous pathname /keyboard will
     301\ resolve to /ap-sp/keyboard instead of /usb/keyboard after a USB keyboard
     302\ has been attached.  Manufacturing test scripts need that behavior.
     303fload ${BP}/cpu/arm/olpc/spcmd.fth   \ Security Processor communication protocol
     304devalias keyboard /ap-sp/keyboard
     305devalias mouse    /ap-sp/mouse
     306[then]
    304307
    305308fload ${BP}/dev/olpc/mmp2camera/loadpkg.fth
Note: See TracChangeset for help on using the changeset viewer.