summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2014-02-22 20:40:45 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2014-02-22 20:40:45 +0100
commit666f8fe7e3797d2996f5db9cf7d68a3fbb1b7dea (patch)
tree495fac0276da08bd7404da9a2f52be87059db1d9
parent1450f2658a59006113fdfc356f4f0033c0e6f691 (diff)
downloadrockbox-666f8fe7e3797d2996f5db9cf7d68a3fbb1b7dea.tar.gz
rockbox-666f8fe7e3797d2996f5db9cf7d68a3fbb1b7dea.zip
zenmozaic: enable speaker support
Change-Id: I5f90a9816e9b7ca817fcb3195b63891fda5236f5
-rw-r--r--firmware/export/config/creativezenmozaic.h3
-rw-r--r--firmware/target/arm/imx233/creative-zen/audio-target.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/firmware/export/config/creativezenmozaic.h b/firmware/export/config/creativezenmozaic.h
index cb60cd3cab..59012012ee 100644
--- a/firmware/export/config/creativezenmozaic.h
+++ b/firmware/export/config/creativezenmozaic.h
@@ -76,6 +76,9 @@
76/* define this if you have an i.MX23 codec */ 76/* define this if you have an i.MX23 codec */
77#define HAVE_IMX233_CODEC 77#define HAVE_IMX233_CODEC
78 78
79/* Define this if you have a speaker */
80#define HAVE_SPEAKER
81
79#define CONFIG_TUNER TEA5760 82#define CONFIG_TUNER TEA5760
80 83
81/* There is no hardware tone control */ 84/* There is no hardware tone control */
diff --git a/firmware/target/arm/imx233/creative-zen/audio-target.h b/firmware/target/arm/imx233/creative-zen/audio-target.h
index bebc680562..67316de780 100644
--- a/firmware/target/arm/imx233/creative-zen/audio-target.h
+++ b/firmware/target/arm/imx233/creative-zen/audio-target.h
@@ -23,7 +23,7 @@
23 23
24#define IMX233_AUDIO_COUPLING_MODE ACM_CAPLESS 24#define IMX233_AUDIO_COUPLING_MODE ACM_CAPLESS
25 25
26#ifdef CREATIVE_ZENXFISTYLE 26#if defined(CREATIVE_ZENXFISTYLE) || defined(CREATIVE_ZENMOZAIC)
27#define IMX233_AUDIO_SPKR_GATE_BANK 0 27#define IMX233_AUDIO_SPKR_GATE_BANK 0
28#define IMX233_AUDIO_SPKR_GATE_PIN 12 28#define IMX233_AUDIO_SPKR_GATE_PIN 12
29#endif 29#endif