set the s5l8700 i2c define to a unique number
[Rockbox.git] / firmware / export / config.h
blobf5e48629950934150b42618261cbe220d4f862a2
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * Copyright (C) 2002 by Daniel Stenberg
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
20 #ifndef __CONFIG_H__
21 #define __CONFIG_H__
23 #ifndef __PCTOOL__
24 #include "autoconf.h"
25 #endif
27 /* symbolic names for multiple choice configurations: */
29 /* CONFIG_TUNER (note these are combineable bit-flags) */
30 #define S1A0903X01 0x01 /* Samsung */
31 #define TEA5767 0x02 /* Philips */
32 #define LV24020LP 0x04 /* Sanyo */
33 #define SI4700 0x08 /* Silicon Labs */
34 #define TEA5760 0x10 /* Philips */
35 #define LV240000 0x20 /* Sanyo */
37 /* CONFIG_CODEC */
38 #define MAS3587F 3587
39 #define MAS3507D 3507
40 #define MAS3539F 3539
41 #define SWCODEC 1 /* if codec is done by SW */
43 /* CONFIG_CPU */
44 #define SH7034 7034
45 #define MCF5249 5249
46 #define MCF5250 5250
47 #define PP5002 5002
48 #define PP5020 5020
49 #define PP5022 5022
50 #define PP5024 5024
51 #define PNX0101 101
52 #define S3C2440 2440
53 #define DSC25 25
54 #define DM320 320
55 #define IMX31L 31
56 #define TCC770 770
57 #define TCC771L 771
58 #define TCC773L 773
59 #define TCC7801 7801
60 #define S5L8700 8700
62 /* CONFIG_KEYPAD */
63 #define PLAYER_PAD 1
64 #define RECORDER_PAD 2
65 #define ONDIO_PAD 3
66 #define IRIVER_H100_PAD 4
67 #define IRIVER_H300_PAD 5
68 #define IAUDIO_X5M5_PAD 6
69 #define IPOD_4G_PAD 7
70 #define IPOD_3G_PAD 8
71 #define IPOD_1G2G_PAD 9
72 #define IRIVER_IFP7XX_PAD 10
73 #define GIGABEAT_PAD 11
74 #define IRIVER_H10_PAD 12
75 #define SANSA_E200_PAD 13
76 #define SANSA_C200_PAD 14
77 #define ELIO_TPJ1022_PAD 15
78 #define ARCHOS_AV300_PAD 16
79 #define MROBE100_PAD 17
80 #define MROBE500_PAD 18
81 #define GIGABEAT_S_PAD 19
82 #define LOGIK_DAX_PAD 20
83 #define IAUDIO67_PAD 21
84 #define COWOND2_PAD 22
85 #define IAUDIO_M3_PAD 23
86 #define CREATIVEZVM_PAD 24
87 #define SANSA_M200_PAD 25
88 #define CREATIVEZV_PAD 26
89 #define PHILIPS_SA9200_PAD 27
90 #define SANSA_C100_PAD 28
91 #define PHILIPS_HDD1630_PAD 29
92 #define MEIZU_M6SL_PAD 30
94 /* CONFIG_REMOTE_KEYPAD */
95 #define H100_REMOTE 1
96 #define H300_REMOTE 2
97 #define X5_REMOTE 3
99 /* CONFIG_CHARGING */
100 #define CHARGING_SIMPLE 1 /* Simple, hardware controlled charging */
101 #define CHARGING_MONITOR 2 /* Hardware controlled charging with monitoring */
102 #define CHARGING_CONTROL 3 /* Software controlled charging */
104 /* CONFIG_LCD */
105 #define LCD_SSD1815 1 /* as used by Archos Recorders and Ondios */
106 #define LCD_SSD1801 2 /* as used by Archos Player/Studio */
107 #define LCD_S1D15E06 3 /* as used by iRiver H100 series */
108 #define LCD_H300 4 /* as used by iRiver H300 series, exact model name is
109 unknown at the time of this writing */
110 #define LCD_X5 5 /* as used by iAudio X5 series, exact model name is
111 unknown at the time of this writing */
112 #define LCD_IPODCOLOR 6 /* as used by iPod Color/Photo */
113 #define LCD_IPODNANO 7 /* as used by iPod Nano */
114 #define LCD_IPODVIDEO 8 /* as used by iPod Video */
115 #define LCD_IPOD2BPP 9 /* as used by all fullsize greyscale iPods */
116 #define LCD_IPODMINI 10 /* as used by iPod Mini g1/g2 */
117 #define LCD_IFP7XX 11 /* as used by iRiver iFP 7xx/8xx */
118 #define LCD_GIGABEAT 12
119 #define LCD_H10_20GB 13 /* as used by iriver H10 20Gb */
120 #define LCD_H10_5GB 14 /* as used by iriver H10 5Gb */
121 #define LCD_TPJ1022 15 /* as used by Tatung Elio TPJ-1022 */
122 #define LCD_DSC25 16 /* as used by Archos AV300 */
123 #define LCD_C200 17 /* as used by Sandisk Sansa c200 */
124 #define LCD_MROBE500 18 /* as used by Olympus M:Robe 500i */
125 #define LCD_MROBE100 19 /* as used by Olympus M:Robe 100 */
126 #define LCD_LOGIKDAX 20 /* as used by Logik DAX - SSD1815 */
127 #define LCD_IAUDIO67 21 /* as used by iAudio 6/7 - unknown */
128 #define LCD_CREATIVEZVM 22 /* as used by Creative Zen Vision:M */
129 #define LCD_TL0350A 23 /* as used by the iAudio M3 remote, treated as main LCD */
130 #define LCD_COWOND2 24 /* as used by Cowon D2 - LTV250QV, TCC7801 driver */
131 #define LCD_SA9200 25 /* as used by the Philips SA9200 */
132 #define LCD_S6B33B2 26 /* as used by the Sansa c100 */
133 #define LCD_HDD1630 27 /* as used by the Philips HDD1630 */
134 #define LCD_MEIZUM6 28 /* as used by the Meizu M6SP and M6SL (various models) */
136 /* LCD_PIXELFORMAT */
137 #define HORIZONTAL_PACKING 1
138 #define VERTICAL_PACKING 2
139 #define HORIZONTAL_INTERLEAVED 3
140 #define VERTICAL_INTERLEAVED 4
141 #define RGB565 565
142 #define RGB565SWAPPED 3553
144 /* CONFIG_ORIENTATION */
145 #define SCREEN_PORTRAIT 0
146 #define SCREEN_LANDSCAPE 1
147 #define SCREEN_SQUARE 2
149 /* CONFIG_I2C */
150 #define I2C_PLAYREC 1 /* Archos Player/Recorder style */
151 #define I2C_ONDIO 2 /* Ondio style */
152 #define I2C_COLDFIRE 3 /* Coldfire style */
153 #define I2C_PP5002 4 /* PP5002 style */
154 #define I2C_PP5020 5 /* PP5020 style */
155 #define I2C_PNX0101 6 /* PNX0101 style */
156 #define I2C_S3C2440 7
157 #define I2C_PP5024 8 /* PP5024 style */
158 #define I2C_IMX31L 9
159 #define I2C_TCC77X 10
160 #define I2C_TCC780X 11
161 #define I2C_DM320 12 /* DM320 style */
162 #define I2C_S5L8700 13
164 /* CONFIG_LED */
165 #define LED_REAL 1 /* SW controlled LED (Archos recorders, player) */
166 #define LED_VIRTUAL 2 /* Virtual LED (icon) (Archos Ondio) */
167 /* else HW controlled LED (iRiver H1x0) */
169 /* CONFIG_FLASH */
170 #define FLASH_IFP7XX 1
172 /* CONFIG_RTC */
173 #define RTC_M41ST84W 1 /* Archos Recorder */
174 #define RTC_PCF50605 2 /* iPod 3G, 4G & Mini */
175 #define RTC_PCF50606 3 /* iriver H300 */
176 #define RTC_S3C2440 4
177 #define RTC_E8564 5 /* iriver H10 */
178 #define RTC_AS3514 6 /* Sandisk Sansa e200 series */
179 #define RTC_DS1339_DS3231 7 /* h1x0 RTC mod */
180 #define RTC_IMX31L 8
181 #define RTC_RX5X348AB 9
182 #define RTC_TCC77X 10
183 #define RTC_TCC780X 11
184 #define RTC_MR100 12
185 #define RTC_MC13783 13 /* Freescale MC13783 PMIC */
186 #define RTC_S5L8700 14
187 #define RTC_S35390A 15
189 /* USB On-the-go */
190 #define USBOTG_ISP1362 1362 /* iriver H300 */
191 #define USBOTG_ISP1583 1583 /* Creative Zen Vision:M */
192 #define USBOTG_M5636 5636 /* iAudio X5 */
193 #define USBOTG_ARC 5020 /* PortalPlayer 502x */
195 /* Multiple cores */
196 #define CPU 0
197 #define COP 1
199 /* now go and pick yours */
200 #if defined(ARCHOS_PLAYER)
201 #include "config-player.h"
202 #elif defined(ARCHOS_RECORDER)
203 #include "config-recorder.h"
204 #elif defined(ARCHOS_FMRECORDER)
205 #include "config-fmrecorder.h"
206 #elif defined(ARCHOS_RECORDERV2)
207 #include "config-recorderv2.h"
208 #elif defined(ARCHOS_ONDIOSP)
209 #include "config-ondiosp.h"
210 #elif defined(ARCHOS_ONDIOFM)
211 #include "config-ondiofm.h"
212 #elif defined(ARCHOS_AV300)
213 #include "config-av300.h"
214 #elif defined(IRIVER_H100)
215 #include "config-h100.h"
216 #elif defined(IRIVER_H120)
217 #include "config-h120.h"
218 #elif defined(IRIVER_H300)
219 #include "config-h300.h"
220 #elif defined(IAUDIO_X5)
221 #include "config-iaudiox5.h"
222 #elif defined(IAUDIO_M5)
223 #include "config-iaudiom5.h"
224 #elif defined(IAUDIO_M3)
225 #include "config-iaudiom3.h"
226 #elif defined(IPOD_COLOR)
227 #include "config-ipodcolor.h"
228 #elif defined(IPOD_NANO)
229 #include "config-ipodnano.h"
230 #elif defined(IPOD_VIDEO)
231 #include "config-ipodvideo.h"
232 #elif defined(IPOD_1G2G)
233 #include "config-ipod1g2g.h"
234 #elif defined(IPOD_3G)
235 #include "config-ipod3g.h"
236 #elif defined(IPOD_4G)
237 #include "config-ipod4g.h"
238 #elif defined(IRIVER_IFP7XX)
239 #include "config-ifp7xx.h"
240 #elif defined(GIGABEAT_F)
241 #include "config-gigabeat.h"
242 #elif defined(GIGABEAT_S)
243 #include "config-gigabeat-s.h"
244 #elif defined(IPOD_MINI)
245 #include "config-ipodmini.h"
246 #elif defined(IPOD_MINI2G)
247 #include "config-ipodmini2g.h"
248 #elif defined(IRIVER_H10)
249 #include "config-h10.h"
250 #elif defined(IRIVER_H10_5GB)
251 #include "config-h10_5gb.h"
252 #elif defined(SANSA_E200)
253 #include "config-e200.h"
254 #elif defined(SANSA_C200)
255 #include "config-c200.h"
256 #elif defined(SANSA_M200)
257 #include "config-m200.h"
258 #elif defined(ELIO_TPJ1022)
259 #include "config-tpj1022.h"
260 #elif defined(MROBE_100)
261 #include "config-mrobe100.h"
262 #elif defined(MROBE_500)
263 #include "config-mrobe500.h"
264 #elif defined(LOGIK_DAX)
265 #include "config-logikdax.h"
266 #elif defined(IAUDIO_7)
267 #include "config-iaudio7.h"
268 #elif defined(COWON_D2)
269 #include "config-cowond2.h"
270 #elif defined(CREATIVE_ZVM)
271 #include "config-creativezvm.h"
272 #elif defined(CREATIVE_ZVM60GB)
273 #include "config-creativezvm60gb.h"
274 #elif defined(CREATIVE_ZV)
275 #include "config-creativezv.h"
276 #elif defined(PHILIPS_SA9200)
277 #include "config-sa9200.h"
278 #elif defined(PHILIPS_HDD1630)
279 #include "config-hdd1630.h"
280 #elif defined(SANSA_C100)
281 #include "config-c100.h"
282 #elif defined(MEIZU_M6SL)
283 #include "config-meizu-m6sl.h"
284 #else
285 /* no known platform */
286 #endif
288 /* setup basic macros from capability masks */
289 #include "config_caps.h"
291 /* now set any CONFIG_ defines correctly if they are not used,
292 No need to do this on CONFIG_'s which are compulsary (e.g CONFIG_CODEC ) */
293 #ifndef CONFIG_TUNER
294 #define CONFIG_TUNER 0
295 #endif
297 #ifndef CONFIG_USBOTG
298 #define CONFIG_USBOTG 0
299 #endif
301 #ifndef CONFIG_LED
302 #define CONFIG_LED 0
303 #endif
305 #ifndef CONFIG_CHARGING
306 #define CONFIG_CHARGING 0
307 #endif
309 #ifndef CONFIG_RTC
310 #define CONFIG_RTC 0
311 #endif
313 #ifndef CONFIG_ORIENTATION
314 #if LCD_HEIGHT > LCD_WIDTH
315 #define CONFIG_ORIENTATION SCREEN_PORTRAIT
316 #elif LCD_HEIGHT < LCD_WIDTH
317 #define CONFIG_ORIENTATION SCREEN_LANDSCAPE
318 #else
319 #define CONFIG_ORIENTATION SCREEN_SQUARE
320 #endif
321 #endif
323 /* define this in the target config.h to use a different size */
324 #ifndef CONFIG_DEFAULT_ICON_HEIGHT
325 #define CONFIG_DEFAULT_ICON_HEIGHT 8
326 #endif
327 #ifndef CONFIG_DEFAULT_ICON_WIDTH
328 #define CONFIG_DEFAULT_ICON_WIDTH 6
329 #endif
330 #ifndef CONFIG_REMOTE_DEFAULT_ICON_HEIGHT
331 #define CONFIG_REMOTE_DEFAULT_ICON_HEIGHT 8
332 #endif
333 #ifndef CONFIG_REMOTE_DEFAULT_ICON_WIDTH
334 #define CONFIG_REMOTE_DEFAULT_ICON_WIDTH 6
335 #endif
337 #if (CONFIG_TUNER & (CONFIG_TUNER - 1)) != 0
338 /* Multiple possible tuners */
339 #define CONFIG_TUNER_MULTI
340 #endif
342 #if defined(BOOTLOADER) && defined(HAVE_ADJUSTABLE_CPU_FREQ)
343 /* Bootloaders don't use CPU frequency adjustment */
344 #undef HAVE_ADJUSTABLE_CPU_FREQ
345 #endif
347 /* Enable the directory cache and tagcache in RAM if we have
348 * plenty of RAM. Both features can be enabled independently. */
349 #if ((defined(MEMORYSIZE) && (MEMORYSIZE > 8)) || MEM > 8) && \
350 !defined(BOOTLOADER)
351 #define HAVE_DIRCACHE
352 #ifdef HAVE_TAGCACHE
353 #define HAVE_TC_RAMCACHE
354 #endif
355 #endif
357 /* Add one HAVE_ define for all mas35xx targets */
358 #if (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3507D) || (CONFIG_CODEC == MAS3539F)
359 #define HAVE_MAS35XX
360 #endif
362 #if (CONFIG_CODEC == SWCODEC)
363 #ifdef BOOTLOADER
365 #if CONFIG_CPU == IMX31L
366 /* Priority in bootloader is wanted */
367 #define HAVE_PRIORITY_SCHEDULING
368 #endif
370 #else /* !BOOTLOADER */
372 #define HAVE_EXTENDED_MESSAGING_AND_NAME
374 #ifndef SIMULATOR
375 #define HAVE_PRIORITY_SCHEDULING
376 #define HAVE_SCHEDULER_BOOSTCTRL
377 #endif /* SIMULATOR */
379 #define HAVE_SEMAPHORE_OBJECTS
380 #define HAVE_EVENT_OBJECTS
382 #ifdef TOSHIBA_GIGABEAT_F
383 #define HAVE_WAKEUP_OBJECTS
384 #endif
386 #endif /* BOOTLOADER */
388 #ifdef HAVE_USBSTACK
389 #define HAVE_WAKEUP_OBJECTS
390 #endif
392 #endif /* (CONFIG_CODEC == SWCODEC) */
394 /* define for all cpus from SH family */
395 #if (CONFIG_CPU == SH7034)
396 #define CPU_SH
397 #endif
399 /* define for all cpus from coldfire family */
400 #if (CONFIG_CPU == MCF5249) || (CONFIG_CPU == MCF5250)
401 #define CPU_COLDFIRE
402 #endif
404 /* define for all cpus from PP family */
405 #if (CONFIG_CPU == PP5002)
406 #define CPU_PP
407 #elif (CONFIG_CPU == PP5020) || (CONFIG_CPU == PP5022) || (CONFIG_CPU == PP5024)
408 #define CPU_PP
409 #define CPU_PP502x
410 #endif
412 /* define for all cpus from TCC77X family */
413 #if (CONFIG_CPU == TCC771L) || (CONFIG_CPU == TCC773L) || (CONFIG_CPU == TCC770)
414 #define CPU_TCC77X
415 #endif
417 /* define for all cpus from TCC780 family */
418 #if (CONFIG_CPU == TCC7801)
419 #define CPU_TCC780X
420 #endif
422 /* define for all cpus from ARM7TDMI family (for specific optimisations) */
423 #if defined(CPU_PP) || (CONFIG_CPU == PNX0101) || (CONFIG_CPU == DSC25)
424 #define CPU_ARM7TDMI
425 #endif
427 /* define for all cpus from ARM family */
428 #if (CONFIG_CPU == IMX31L)
429 #define CPU_ARM
430 #define ARM_ARCH 6 /* ARMv6 */
431 #endif
433 #if defined(CPU_TCC77X) || defined(CPU_TCC780X) || (CONFIG_CPU == DM320)
434 #define CPU_ARM
435 #define ARM_ARCH 5 /* ARMv5 */
436 #endif
438 #if defined(CPU_PP) || (CONFIG_CPU == PNX0101) || (CONFIG_CPU == S3C2440) \
439 || (CONFIG_CPU == DSC25) || (CONFIG_CPU == S5L8700)
440 #define CPU_ARM
441 #define ARM_ARCH 4 /* ARMv4 */
442 #endif
444 /* Determine if accesses should be strictly long aligned. */
445 #if (CONFIG_CPU == SH7034) || defined(CPU_ARM)
446 #define ROCKBOX_STRICT_ALIGN 1
447 #endif
449 #ifndef CODEC_SIZE
450 #define CODEC_SIZE 0
451 #endif
453 /* This attribute can be used to ensure that certain symbols are never profiled
454 * which can be important as profiling a function de-inlines it */
455 #ifdef RB_PROFILE
456 #define NO_PROF_ATTR __attribute__ ((no_instrument_function))
457 #else
458 #define NO_PROF_ATTR
459 #endif
461 /* IRAM usage */
462 #if !defined(SIMULATOR) && /* Not for simulators */ \
463 (((CONFIG_CPU == SH7034) && !defined(PLUGIN)) || /* SH1 archos: core only */ \
464 defined(CPU_COLDFIRE) || /* Coldfire: core, plugins, codecs */ \
465 defined(CPU_PP) || /* PortalPlayer: core, plugins, codecs */ \
466 defined(CPU_TCC77X) || /* Telechips: core, plugins, codecs */ \
467 (CONFIG_CPU == PNX0101) || \
468 (CONFIG_CPU == S5L8700)) /* Samsing S5L8700: core, plugins, codecs */
469 #define ICODE_ATTR __attribute__ ((section(".icode")))
470 #define ICONST_ATTR __attribute__ ((section(".irodata")))
471 #define IDATA_ATTR __attribute__ ((section(".idata")))
472 #define IBSS_ATTR __attribute__ ((section(".ibss")))
473 #define USE_IRAM
474 #if CONFIG_CPU != SH7034
475 #define PLUGIN_USE_IRAM
476 #endif
477 #if defined(CPU_ARM)
478 /* GCC quirk workaround: arm-elf-gcc treats static functions as short_call
479 * when not compiling with -ffunction-sections, even when the function has
480 * a section attribute. */
481 #define STATICIRAM
482 #else
483 #define STATICIRAM static
484 #endif
485 #else
486 #define ICODE_ATTR
487 #define ICONST_ATTR
488 #define IDATA_ATTR
489 #define IBSS_ATTR
490 #define STATICIRAM static
491 #endif
493 #ifndef IRAM_LCDFRAMEBUFFER
494 /* if the LCD framebuffer has not been moved to IRAM, define it empty here */
495 #define IRAM_LCDFRAMEBUFFER
496 #endif
498 /* Change this if you want to build a single-core firmware for a multicore
499 * target for debugging */
500 #if defined(BOOTLOADER)
501 #define FORCE_SINGLE_CORE
502 #endif
504 /* Core locking types - specifies type of atomic operation */
505 #define CORELOCK_NONE 0
506 #define SW_CORELOCK 1 /* Mutual exclusion provided by a software algorithm
507 and not a special semaphore instruction */
508 #define CORELOCK_SWAP 2 /* A swap (exchange) instruction */
510 #if defined(CPU_PP)
511 #define IDLE_STACK_SIZE 0x80
512 #define IDLE_STACK_WORDS 0x20
514 /* Attributes to place data in uncached DRAM */
515 /* These are useful beyond dual-core and ultimately beyond PP since they may
516 * be used for DMA buffers and such without cache maintenence calls. */
517 #define NOCACHEBSS_ATTR __attribute__((section(".ncbss"),nocommon))
518 #define NOCACHEDATA_ATTR __attribute__((section(".ncdata"),nocommon))
520 #if !defined(FORCE_SINGLE_CORE)
522 #define NUM_CORES 2
523 #define CURRENT_CORE current_core()
524 /* Attributes for core-shared data in DRAM where IRAM is better used for other
525 * purposes. */
526 #define SHAREDBSS_ATTR NOCACHEBSS_ATTR
527 #define SHAREDDATA_ATTR NOCACHEDATA_ATTR
529 #define IF_COP(...) __VA_ARGS__
530 #define IF_COP_VOID(...) __VA_ARGS__
531 #define IF_COP_CORE(core) core
533 #ifdef CPU_PP
534 #define CONFIG_CORELOCK SW_CORELOCK /* SWP(B) is broken */
535 #else
536 #define CONFIG_CORELOCK CORELOCK_SWAP
537 #endif
539 #endif /* !defined(BOOTLOADER) && CONFIG_CPU != PP5002 */
541 #endif /* CPU_PP */
543 #ifndef CONFIG_CORELOCK
544 #define CONFIG_CORELOCK CORELOCK_NONE
545 #endif
547 #if CONFIG_CORELOCK == SW_CORELOCK
548 #define IF_SWCL(...) __VA_ARGS__
549 #define IFN_SWCL(...)
550 #else
551 #define IF_SWCL(...)
552 #define IFN_SWCL(...) __VA_ARGS__
553 #endif /* CONFIG_CORELOCK == */
555 #ifndef NUM_CORES
556 /* Default to single core */
557 #define NUM_CORES 1
558 #define CURRENT_CORE CPU
559 /* Attributes for core-shared data in DRAM - no caching considerations */
560 #define SHAREDBSS_ATTR
561 #define SHAREDDATA_ATTR
562 #ifndef NOCACHEBSS_ATTR
563 #define NOCACHEBSS_ATTR
564 #define NOCACHEDATA_ATTR
565 #endif
566 #define CONFIG_CORELOCK CORELOCK_NONE
568 #define IF_COP(...)
569 #define IF_COP_VOID(...) void
570 #define IF_COP_CORE(core) CURRENT_CORE
572 #endif /* NUM_CORES */
574 #ifdef HAVE_HEADPHONE_DETECTION
575 /* Timeout objects required if headphone detection is enabled */
576 #ifndef INCLUDE_TIMEOUT_API
577 #define INCLUDE_TIMEOUT_API
578 #endif
579 #endif /* HAVE_HEADPHONE_DETECTION */
581 #endif /* __CONFIG_H__ */