diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2014-03-09 01:25:51 +0100 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2014-03-09 01:25:51 +0100 |
commit | 2a71c0853304b68835fcf87d2bae8295d64abd6c (patch) | |
tree | 51ac5b28f8407ab7e121d3239cc0c963e986fcdc /firmware | |
parent | 88799b38cf40baf544739fd48684a3641a9f941c (diff) | |
download | rockbox-2a71c0853304b68835fcf87d2bae8295d64abd6c.tar.gz rockbox-2a71c0853304b68835fcf87d2bae8295d64abd6c.zip |
zenxfi: enable speaker
Change-Id: I603112d2a348abf92d5c8975ea76d3a57fda7cfc
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/export/config/creativezenxfi.h | 3 | ||||
-rw-r--r-- | firmware/target/arm/imx233/creative-zen/audio-target.h | 2 |
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 @@ | |||
80 | /* define this if you have an i.MX23 codec */ | 80 | /* define this if you have an i.MX23 codec */ |
81 | #define HAVE_IMX233_CODEC | 81 | #define HAVE_IMX233_CODEC |
82 | 82 | ||
83 | /* Define this if you have a speaker */ | ||
84 | #define HAVE_SPEAKER | ||
85 | |||
83 | #define CONFIG_TUNER TEA5760 | 86 | #define CONFIG_TUNER TEA5760 |
84 | 87 | ||
85 | /* There is no hardware tone control */ | 88 | /* 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 @@ | |||
23 | 23 | ||
24 | #define IMX233_AUDIO_COUPLING_MODE ACM_CAPLESS | 24 | #define IMX233_AUDIO_COUPLING_MODE ACM_CAPLESS |
25 | 25 | ||
26 | #if defined(CREATIVE_ZENXFISTYLE) || defined(CREATIVE_ZENMOZAIC) | 26 | #if defined(CREATIVE_ZENXFISTYLE) || defined(CREATIVE_ZENMOZAIC) || defined(CREATIVE_ZENXFI) |
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 |