summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2014-03-09 01:25:51 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2014-03-09 01:25:51 +0100
commit2a71c0853304b68835fcf87d2bae8295d64abd6c (patch)
tree51ac5b28f8407ab7e121d3239cc0c963e986fcdc
parent88799b38cf40baf544739fd48684a3641a9f941c (diff)
downloadrockbox-2a71c0853304b68835fcf87d2bae8295d64abd6c.tar.gz
rockbox-2a71c0853304b68835fcf87d2bae8295d64abd6c.zip
zenxfi: enable speaker
Change-Id: I603112d2a348abf92d5c8975ea76d3a57fda7cfc
-rw-r--r--firmware/export/config/creativezenxfi.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/creativezenxfi.h b/firmware/export/config/creativezenxfi.h
index ac8bbdb841..d70a452312 100644
--- a/firmware/export/config/creativezenxfi.h
+++ b/firmware/export/config/creativezenxfi.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 TEA5760
/* 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 67316de780..38e0dea0af 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 @@
#define IMX233_AUDIO_COUPLING_MODE ACM_CAPLESS
-#if defined(CREATIVE_ZENXFISTYLE) || defined(CREATIVE_ZENMOZAIC)
+#if defined(CREATIVE_ZENXFISTYLE) || defined(CREATIVE_ZENMOZAIC) || defined(CREATIVE_ZENXFI)
#define IMX233_AUDIO_SPKR_GATE_BANK 0
#define IMX233_AUDIO_SPKR_GATE_PIN 12
#endif