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