[openfirmware] [commit] r2749 - cpu/arm/olpc

repository service svn at openfirmware.info
Thu Dec 8 13:43:21 CET 2011


Author: wmb
Date: Thu Dec  8 13:43:20 2011
New Revision: 2749
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2749

Log:
OLPC XO-3.0 - Invert mic sense.

Modified:
   cpu/arm/olpc/sound.fth

Modified: cpu/arm/olpc/sound.fth
==============================================================================
--- cpu/arm/olpc/sound.fth	Thu Dec  8 13:43:16 2011	(r2748)
+++ cpu/arm/olpc/sound.fth	Thu Dec  8 13:43:20 2011	(r2749)
@@ -247,7 +247,10 @@
 d# 96 constant external-mic
 : pin-sense?  ( gpio# -- flag )  gpio-pin@  ;
 : headphones-inserted?  ( -- flag )  headphone-jack pin-sense?  ;
-: microphone-inserted?  ( -- flag )  external-mic pin-sense?  ;
+: microphone-inserted?  ( -- flag )
+   external-mic pin-sense?
+\+ olpc-cl3   0=
+;
 
 fload ${BP}/cpu/arm/olpc/alc5631.fth  \ Realtek ALC5631Q CODEC
 [then]



More information about the openfirmware mailing list