diff options
| author | Amaury Pouly <amaury.pouly@gmail.com> | 2014-02-16 20:46:49 +0100 |
|---|---|---|
| committer | Amaury Pouly <amaury.pouly@gmail.com> | 2014-02-16 20:53:08 +0100 |
| commit | 6b3c29da6979aeb31e9e0eccaed9a3cfd4b9ad3c (patch) | |
| tree | 3363ea05addf81fb0917b66d6cd80d0b314d5364 | |
| parent | 812c3e7c48e03d0a6457adf754cb549959550f70 (diff) | |
| download | rockbox-6b3c29da6979aeb31e9e0eccaed9a3cfd4b9ad3c.zip rockbox-6b3c29da6979aeb31e9e0eccaed9a3cfd4b9ad3c.tar.gz rockbox-6b3c29da6979aeb31e9e0eccaed9a3cfd4b9ad3c.tar.bz2 rockbox-6b3c29da6979aeb31e9e0eccaed9a3cfd4b9ad3c.tar.xz | |
zenxfi2: add speaker support
Change-Id: I37b85e23e6af92939700d640dbea74c646f49b7b
| -rw-r--r-- | firmware/export/config/creativezenxfi2.h | 3 | ||||
| -rw-r--r-- | firmware/target/arm/imx233/creative-zenxfi2/audio-target.h | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/firmware/export/config/creativezenxfi2.h b/firmware/export/config/creativezenxfi2.h index d60f9a4..b60c444 100644 --- a/firmware/export/config/creativezenxfi2.h +++ b/firmware/export/config/creativezenxfi2.h @@ -79,6 +79,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-zenxfi2/audio-target.h b/firmware/target/arm/imx233/creative-zenxfi2/audio-target.h index 59e8fd6..d38d58b 100644 --- a/firmware/target/arm/imx233/creative-zenxfi2/audio-target.h +++ b/firmware/target/arm/imx233/creative-zenxfi2/audio-target.h @@ -23,4 +23,7 @@ #define IMX233_AUDIO_COUPLING_MODE ACM_CAPLESS +#define IMX233_AUDIO_SPKR_GATE_BANK 0 +#define IMX233_AUDIO_SPKR_GATE_PIN 12 + #endif /* __audio_target__ */ |