summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/imx233/creative-zen
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2014-02-16 20:47:30 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2014-02-16 20:53:08 +0100
commit556fa2c4cddf125b91b47009229dd65832e6e102 (patch)
treebdae8a4d209e5ac5c27190a1239f74f437fec24c /firmware/target/arm/imx233/creative-zen
parentf0f1758067b7afb9d8b56d12f1672861269fd7da (diff)
downloadrockbox-556fa2c4cddf125b91b47009229dd65832e6e102.tar.gz
rockbox-556fa2c4cddf125b91b47009229dd65832e6e102.zip
zenxfistyle: implement speaker support
Change-Id: If59aaacdea9f57932464a1615f2b80e410ec50dc
Diffstat (limited to 'firmware/target/arm/imx233/creative-zen')
-rw-r--r--firmware/target/arm/imx233/creative-zen/audio-target.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/target/arm/imx233/creative-zen/audio-target.h b/firmware/target/arm/imx233/creative-zen/audio-target.h
index 192539211e..bebc680562 100644
--- a/firmware/target/arm/imx233/creative-zen/audio-target.h
+++ b/firmware/target/arm/imx233/creative-zen/audio-target.h
@@ -23,5 +23,10 @@
#define IMX233_AUDIO_COUPLING_MODE ACM_CAPLESS
+#ifdef CREATIVE_ZENXFISTYLE
+#define IMX233_AUDIO_SPKR_GATE_BANK 0
+#define IMX233_AUDIO_SPKR_GATE_PIN 12
+#endif
+
#endif /* __audio_target__ */