Author: wmb Date: Fri Aug 3 07:43:57 2012 New Revision: 3118 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3118
Log: OLPC ARM - move hardcoded MIC GPIO pin# into gpiopins.fth
Modified: cpu/arm/olpc/1.75/config-a1.fth cpu/arm/olpc/1.75/gpiopins.fth cpu/arm/olpc/3.0/gpiopins.fth cpu/arm/olpc/cl4/gpiopins.fth cpu/arm/olpc/sound.fth
Modified: cpu/arm/olpc/1.75/config-a1.fth ============================================================================== --- cpu/arm/olpc/1.75/config-a1.fth Fri Aug 3 07:23:49 2012 (r3117) +++ cpu/arm/olpc/1.75/config-a1.fth Fri Aug 3 07:43:57 2012 (r3118) @@ -69,6 +69,7 @@ d# 143 constant mic-ac/dc-gpio# d# 8 constant audio-reset-gpio# d# 97 constant hp-plug-gpio# +d# 96 constant mic-plug-gpio#
d# 10 constant led-storage-gpio# d# 11 constant vid2-gpio#
Modified: cpu/arm/olpc/1.75/gpiopins.fth ============================================================================== --- cpu/arm/olpc/1.75/gpiopins.fth Fri Aug 3 07:23:49 2012 (r3117) +++ cpu/arm/olpc/1.75/gpiopins.fth Fri Aug 3 07:43:57 2012 (r3118) @@ -43,6 +43,7 @@ d# 143 constant mic-ac/dc-gpio# d# 8 constant audio-reset-gpio# d# 97 constant hp-plug-gpio# +d# 96 constant mic-plug-gpio#
d# 10 constant led-storage-gpio# d# 11 constant vid2-gpio#
Modified: cpu/arm/olpc/3.0/gpiopins.fth ============================================================================== --- cpu/arm/olpc/3.0/gpiopins.fth Fri Aug 3 07:23:49 2012 (r3117) +++ cpu/arm/olpc/3.0/gpiopins.fth Fri Aug 3 07:43:57 2012 (r3118) @@ -37,4 +37,5 @@ d# 143 constant mic-ac/dc-gpio# d# 8 constant audio-reset-gpio# d# 97 constant hp-plug-gpio# +d# 96 constant mic-plug-gpio# d# 11 constant vid2-gpio#
Modified: cpu/arm/olpc/cl4/gpiopins.fth ============================================================================== --- cpu/arm/olpc/cl4/gpiopins.fth Fri Aug 3 07:23:49 2012 (r3117) +++ cpu/arm/olpc/cl4/gpiopins.fth Fri Aug 3 07:43:57 2012 (r3118) @@ -41,6 +41,7 @@ d# 143 constant mic-ac/dc-gpio# d# 8 constant audio-reset-gpio# d# 13 constant hp-plug-gpio# +d# 96 constant mic-plug-gpio#
d# 10 constant led-storage-gpio# d# 123 constant vid2-gpio#
Modified: cpu/arm/olpc/sound.fth ============================================================================== --- cpu/arm/olpc/sound.fth Fri Aug 3 07:23:49 2012 (r3117) +++ cpu/arm/olpc/sound.fth Fri Aug 3 07:43:57 2012 (r3118) @@ -290,7 +290,7 @@ fload ${BP}/cpu/arm/olpc/alc5624.fth \ Realtek ALC5624 CODEC [else] hp-plug-gpio# constant headphone-jack -d# 96 constant external-mic +mic-plug-gpio# constant external-mic : pin-sense? ( gpio# -- flag ) gpio-pin@ ; : headphones-inserted? ( -- flag ) headphone-jack pin-sense? ; : microphone-inserted? ( -- flag )
openfirmware@openfirmware.info