summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/export/config/creativezenxfistyle.h3
-rw-r--r--firmware/target/arm/imx233/creative-zen/audio-target.h5
2 files changed, 8 insertions, 0 deletions
diff --git a/firmware/export/config/creativezenxfistyle.h b/firmware/export/config/creativezenxfistyle.h
index ad692de..3dbfa9c 100644
--- a/firmware/export/config/creativezenxfistyle.h
+++ b/firmware/export/config/creativezenxfistyle.h
@@ -80,6 +80,9 @@
/* define this if you have an i.MX23 codec */
#define HAVE_IMX233_CODEC
+/* Define this if you have a speaker */
+#define HAVE_SPEAKER
+
#define CONFIG_TUNER STFM1000
/* 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 1925392..bebc680 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__ */