Changeset 3278


Ignore:
Timestamp:
Sep 4, 2012, 12:11:44 AM (3 years ago)
Author:
quozl
Message:

OLPC XO-1 - avoid lid close shutdown after warm reboot from Linux, caused by GPIO invert input pin bit left set by Linux, fixes a regression introduced in r2991 ticket #11095, solves ticket #12077

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpu/x86/pc/olpc/fw.bth

    r3194 r3278  
    483483" dhcp" ' ip-address  set-config-string-default
    484484
    485 : lid?  ( -- flag )  h# 30 >hi gpio@  h# 400 and 0=  ;
     485: lid?  ( -- flag )  h# 30 >hi gpio@  h# 24 >hi gpio@  xor  h# 400 and 0=  ;
    486486fload ${BP}/dev/olpc/lid.fth
    487487
Note: See TracChangeset for help on using the changeset viewer.