2003-02-07 09:41:57 +00:00
|
|
|
/***************************************************************************
|
|
|
|
* __________ __ ___.
|
|
|
|
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
|
|
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
|
|
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
|
|
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
|
|
* \/ \/ \/ \/ \/
|
|
|
|
* $Id$
|
|
|
|
*
|
|
|
|
* Copyright (C) 2002 by Daniel Stenberg
|
|
|
|
*
|
2008-06-28 18:10:04 +00:00
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
2003-02-07 09:41:57 +00:00
|
|
|
*
|
|
|
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
|
|
* KIND, either express or implied.
|
|
|
|
*
|
|
|
|
****************************************************************************/
|
|
|
|
|
|
|
|
#ifndef __CONFIG_H__
|
|
|
|
#define __CONFIG_H__
|
|
|
|
|
2006-11-10 08:03:33 +00:00
|
|
|
#ifndef __PCTOOL__
|
2005-05-07 22:41:17 +00:00
|
|
|
#include "autoconf.h"
|
2006-11-10 08:03:33 +00:00
|
|
|
#endif
|
2005-05-07 22:41:17 +00:00
|
|
|
|
2004-09-28 22:13:26 +00:00
|
|
|
/* symbolic names for multiple choice configurations: */
|
|
|
|
|
2008-10-31 21:25:04 +00:00
|
|
|
/* CONFIG_STORAGE (note these are combineable bit-flags) */
|
2008-11-03 20:52:27 +00:00
|
|
|
#define STORAGE_ATA 0x01
|
|
|
|
#define STORAGE_MMC 0x02
|
|
|
|
#define STORAGE_SD 0x04
|
|
|
|
#define STORAGE_NAND 0x08
|
|
|
|
#define STORAGE_RAMDISK 0x10
|
2008-10-31 21:25:04 +00:00
|
|
|
|
2004-10-15 21:41:46 +00:00
|
|
|
/* CONFIG_TUNER (note these are combineable bit-flags) */
|
|
|
|
#define S1A0903X01 0x01 /* Samsung */
|
|
|
|
#define TEA5767 0x02 /* Philips */
|
2007-06-06 19:23:48 +00:00
|
|
|
#define LV24020LP 0x04 /* Sanyo */
|
2007-09-21 15:51:53 +00:00
|
|
|
#define SI4700 0x08 /* Silicon Labs */
|
2008-06-27 23:24:34 +00:00
|
|
|
#define TEA5760 0x10 /* Philips */
|
|
|
|
#define LV240000 0x20 /* Sanyo */
|
2004-09-28 22:13:26 +00:00
|
|
|
|
2005-08-29 21:15:27 +00:00
|
|
|
/* CONFIG_CODEC */
|
2004-09-28 22:13:26 +00:00
|
|
|
#define MAS3587F 3587
|
|
|
|
#define MAS3507D 3507
|
|
|
|
#define MAS3539F 3539
|
2005-08-29 21:15:27 +00:00
|
|
|
#define SWCODEC 1 /* if codec is done by SW */
|
2004-09-28 22:13:26 +00:00
|
|
|
|
|
|
|
/* CONFIG_CPU */
|
2007-01-14 13:48:09 +00:00
|
|
|
#define SH7034 7034
|
|
|
|
#define MCF5249 5249
|
|
|
|
#define MCF5250 5250
|
|
|
|
#define PP5002 5002
|
|
|
|
#define PP5020 5020
|
2007-07-02 05:16:40 +00:00
|
|
|
#define PP5022 5022
|
|
|
|
#define PP5024 5024
|
2007-01-14 13:48:09 +00:00
|
|
|
#define PNX0101 101
|
|
|
|
#define S3C2440 2440
|
2007-10-25 09:33:53 +00:00
|
|
|
#define DSC25 25
|
2007-09-20 04:46:41 +00:00
|
|
|
#define DM320 320
|
2007-09-21 15:51:53 +00:00
|
|
|
#define IMX31L 31
|
2008-06-21 15:18:36 +00:00
|
|
|
#define TCC770 770
|
2007-10-28 11:08:10 +00:00
|
|
|
#define TCC771L 771
|
|
|
|
#define TCC773L 773
|
2008-01-14 22:04:48 +00:00
|
|
|
#define TCC7801 7801
|
2008-06-27 23:24:34 +00:00
|
|
|
#define S5L8700 8700
|
2008-07-14 15:03:10 +00:00
|
|
|
#define JZ4732 4732
|
2008-10-12 16:46:01 +00:00
|
|
|
#define AS3525 3525
|
2004-09-28 22:13:26 +00:00
|
|
|
|
|
|
|
/* CONFIG_KEYPAD */
|
2006-11-10 20:26:01 +00:00
|
|
|
#define PLAYER_PAD 1
|
|
|
|
#define RECORDER_PAD 2
|
|
|
|
#define ONDIO_PAD 3
|
|
|
|
#define IRIVER_H100_PAD 4
|
2006-02-05 16:52:22 +00:00
|
|
|
#define IRIVER_H300_PAD 5
|
2007-03-16 23:02:39 +00:00
|
|
|
#define IAUDIO_X5M5_PAD 6
|
2006-02-05 16:52:22 +00:00
|
|
|
#define IPOD_4G_PAD 7
|
|
|
|
#define IPOD_3G_PAD 8
|
2007-07-26 22:42:31 +00:00
|
|
|
#define IPOD_1G2G_PAD 9
|
|
|
|
#define IRIVER_IFP7XX_PAD 10
|
|
|
|
#define GIGABEAT_PAD 11
|
|
|
|
#define IRIVER_H10_PAD 12
|
|
|
|
#define SANSA_E200_PAD 13
|
2007-09-06 03:28:58 +00:00
|
|
|
#define SANSA_C200_PAD 14
|
|
|
|
#define ELIO_TPJ1022_PAD 15
|
|
|
|
#define ARCHOS_AV300_PAD 16
|
2008-01-09 07:24:43 +00:00
|
|
|
#define MROBE100_PAD 17
|
|
|
|
#define MROBE500_PAD 18
|
|
|
|
#define GIGABEAT_S_PAD 19
|
|
|
|
#define LOGIK_DAX_PAD 20
|
2008-01-14 22:04:48 +00:00
|
|
|
#define IAUDIO67_PAD 21
|
|
|
|
#define COWOND2_PAD 22
|
2008-03-10 00:56:50 +00:00
|
|
|
#define IAUDIO_M3_PAD 23
|
2008-04-24 20:08:28 +00:00
|
|
|
#define CREATIVEZVM_PAD 24
|
2008-05-02 19:12:09 +00:00
|
|
|
#define SANSA_M200_PAD 25
|
2008-05-15 18:01:14 +00:00
|
|
|
#define CREATIVEZV_PAD 26
|
2008-05-21 03:55:17 +00:00
|
|
|
#define PHILIPS_SA9200_PAD 27
|
2008-06-21 15:18:36 +00:00
|
|
|
#define SANSA_C100_PAD 28
|
2008-06-27 18:40:25 +00:00
|
|
|
#define PHILIPS_HDD1630_PAD 29
|
2008-06-27 23:24:34 +00:00
|
|
|
#define MEIZU_M6SL_PAD 30
|
2008-07-14 15:03:10 +00:00
|
|
|
#define ONDAVX747_PAD 31
|
2008-09-05 15:09:40 +00:00
|
|
|
#define ONDAVX767_PAD 32
|
2008-09-17 23:22:11 +00:00
|
|
|
#define MEIZU_M6SP_PAD 33
|
|
|
|
#define MEIZU_M3_PAD 34
|
2008-10-12 16:46:01 +00:00
|
|
|
#define SANSA_CLIP_PAD 35
|
2008-11-01 10:29:23 +00:00
|
|
|
#define SANSA_FUZE_PAD 36
|
2004-09-28 22:13:26 +00:00
|
|
|
|
2005-06-02 11:08:55 +00:00
|
|
|
/* CONFIG_REMOTE_KEYPAD */
|
2005-08-17 05:03:33 +00:00
|
|
|
#define H100_REMOTE 1
|
|
|
|
#define H300_REMOTE 2
|
|
|
|
#define X5_REMOTE 3
|
2005-06-02 11:08:55 +00:00
|
|
|
|
2006-06-06 22:23:52 +00:00
|
|
|
/* CONFIG_CHARGING */
|
|
|
|
#define CHARGING_SIMPLE 1 /* Simple, hardware controlled charging */
|
|
|
|
#define CHARGING_MONITOR 2 /* Hardware controlled charging with monitoring */
|
|
|
|
#define CHARGING_CONTROL 3 /* Software controlled charging */
|
|
|
|
|
2005-01-10 21:54:28 +00:00
|
|
|
/* CONFIG_LCD */
|
2005-11-07 23:07:19 +00:00
|
|
|
#define LCD_SSD1815 1 /* as used by Archos Recorders and Ondios */
|
|
|
|
#define LCD_SSD1801 2 /* as used by Archos Player/Studio */
|
|
|
|
#define LCD_S1D15E06 3 /* as used by iRiver H100 series */
|
|
|
|
#define LCD_H300 4 /* as used by iRiver H300 series, exact model name is
|
|
|
|
unknown at the time of this writing */
|
|
|
|
#define LCD_X5 5 /* as used by iAudio X5 series, exact model name is
|
2005-07-15 21:22:10 +00:00
|
|
|
unknown at the time of this writing */
|
2005-11-07 23:07:19 +00:00
|
|
|
#define LCD_IPODCOLOR 6 /* as used by iPod Color/Photo */
|
|
|
|
#define LCD_IPODNANO 7 /* as used by iPod Nano */
|
2005-12-18 13:04:00 +00:00
|
|
|
#define LCD_IPODVIDEO 8 /* as used by iPod Video */
|
2006-08-07 01:46:42 +00:00
|
|
|
#define LCD_IPOD2BPP 9 /* as used by all fullsize greyscale iPods */
|
|
|
|
#define LCD_IPODMINI 10 /* as used by iPod Mini g1/g2 */
|
|
|
|
#define LCD_IFP7XX 11 /* as used by iRiver iFP 7xx/8xx */
|
|
|
|
#define LCD_GIGABEAT 12
|
2007-02-17 23:49:07 +00:00
|
|
|
#define LCD_H10_20GB 13 /* as used by iriver H10 20Gb */
|
2006-08-19 19:21:17 +00:00
|
|
|
#define LCD_H10_5GB 14 /* as used by iriver H10 5Gb */
|
2006-08-31 19:19:35 +00:00
|
|
|
#define LCD_TPJ1022 15 /* as used by Tatung Elio TPJ-1022 */
|
2007-01-14 13:48:09 +00:00
|
|
|
#define LCD_DSC25 16 /* as used by Archos AV300 */
|
2007-09-06 03:28:58 +00:00
|
|
|
#define LCD_C200 17 /* as used by Sandisk Sansa c200 */
|
2007-09-20 04:46:41 +00:00
|
|
|
#define LCD_MROBE500 18 /* as used by Olympus M:Robe 500i */
|
2008-01-09 07:24:43 +00:00
|
|
|
#define LCD_MROBE100 19 /* as used by Olympus M:Robe 100 */
|
|
|
|
#define LCD_LOGIKDAX 20 /* as used by Logik DAX - SSD1815 */
|
|
|
|
#define LCD_IAUDIO67 21 /* as used by iAudio 6/7 - unknown */
|
2008-02-18 19:08:29 +00:00
|
|
|
#define LCD_CREATIVEZVM 22 /* as used by Creative Zen Vision:M */
|
2008-03-10 00:56:50 +00:00
|
|
|
#define LCD_TL0350A 23 /* as used by the iAudio M3 remote, treated as main LCD */
|
2008-03-10 21:39:04 +00:00
|
|
|
#define LCD_COWOND2 24 /* as used by Cowon D2 - LTV250QV, TCC7801 driver */
|
2008-05-21 03:55:17 +00:00
|
|
|
#define LCD_SA9200 25 /* as used by the Philips SA9200 */
|
2008-06-21 15:18:36 +00:00
|
|
|
#define LCD_S6B33B2 26 /* as used by the Sansa c100 */
|
2008-06-27 18:40:25 +00:00
|
|
|
#define LCD_HDD1630 27 /* as used by the Philips HDD1630 */
|
2008-06-27 23:24:34 +00:00
|
|
|
#define LCD_MEIZUM6 28 /* as used by the Meizu M6SP and M6SL (various models) */
|
2008-07-14 15:03:10 +00:00
|
|
|
#define LCD_ONDAVX747 29 /* as used by the Onda VX747 */
|
2008-09-05 15:09:40 +00:00
|
|
|
#define LCD_ONDAVX767 30 /* as used by the Onda VX767 */
|
2008-10-12 16:46:01 +00:00
|
|
|
#define LCD_SSD1303 31 /* as used by the Sansa Clip */
|
2008-11-01 10:29:23 +00:00
|
|
|
#define LCD_FUZE 32 /* as used by the Sansa Fuze */
|
2005-01-10 21:54:28 +00:00
|
|
|
|
2005-11-19 02:06:46 +00:00
|
|
|
/* LCD_PIXELFORMAT */
|
2006-02-09 00:48:53 +00:00
|
|
|
#define HORIZONTAL_PACKING 1
|
|
|
|
#define VERTICAL_PACKING 2
|
2006-07-28 07:35:45 +00:00
|
|
|
#define HORIZONTAL_INTERLEAVED 3
|
|
|
|
#define VERTICAL_INTERLEAVED 4
|
2005-11-19 02:06:46 +00:00
|
|
|
#define RGB565 565
|
|
|
|
#define RGB565SWAPPED 3553
|
|
|
|
|
2007-11-11 04:48:33 +00:00
|
|
|
/* CONFIG_ORIENTATION */
|
2008-04-29 01:09:39 +00:00
|
|
|
#define SCREEN_PORTRAIT 0
|
2007-11-11 04:48:33 +00:00
|
|
|
#define SCREEN_LANDSCAPE 1
|
|
|
|
#define SCREEN_SQUARE 2
|
|
|
|
|
2005-01-27 12:16:45 +00:00
|
|
|
/* CONFIG_I2C */
|
2006-11-10 20:26:01 +00:00
|
|
|
#define I2C_PLAYREC 1 /* Archos Player/Recorder style */
|
|
|
|
#define I2C_ONDIO 2 /* Ondio style */
|
2005-07-31 17:31:33 +00:00
|
|
|
#define I2C_COLDFIRE 3 /* Coldfire style */
|
2006-02-05 16:52:22 +00:00
|
|
|
#define I2C_PP5002 4 /* PP5002 style */
|
|
|
|
#define I2C_PP5020 5 /* PP5020 style */
|
|
|
|
#define I2C_PNX0101 6 /* PNX0101 style */
|
2006-02-24 15:42:52 +00:00
|
|
|
#define I2C_S3C2440 7
|
2007-05-17 22:49:27 +00:00
|
|
|
#define I2C_PP5024 8 /* PP5024 style */
|
2007-09-21 15:51:53 +00:00
|
|
|
#define I2C_IMX31L 9
|
2007-10-28 11:08:10 +00:00
|
|
|
#define I2C_TCC77X 10
|
2008-01-14 22:04:48 +00:00
|
|
|
#define I2C_TCC780X 11
|
2008-04-24 20:08:28 +00:00
|
|
|
#define I2C_DM320 12 /* DM320 style */
|
2008-06-28 00:02:03 +00:00
|
|
|
#define I2C_S5L8700 13
|
2008-07-14 15:03:10 +00:00
|
|
|
#define I2C_JZ47XX 14 /* Ingenic Jz47XX style */
|
2008-10-19 14:11:01 +00:00
|
|
|
#define I2C_AS3525 15
|
2005-01-27 12:16:45 +00:00
|
|
|
|
2005-06-04 23:15:52 +00:00
|
|
|
/* CONFIG_LED */
|
2006-11-10 20:26:01 +00:00
|
|
|
#define LED_REAL 1 /* SW controlled LED (Archos recorders, player) */
|
2005-06-04 23:15:52 +00:00
|
|
|
#define LED_VIRTUAL 2 /* Virtual LED (icon) (Archos Ondio) */
|
2006-06-16 17:34:18 +00:00
|
|
|
/* else HW controlled LED (iRiver H1x0) */
|
2005-12-04 13:05:56 +00:00
|
|
|
|
2008-10-31 21:25:04 +00:00
|
|
|
/* CONFIG_NAND */
|
2008-11-01 17:25:49 +00:00
|
|
|
#define NAND_IFP7XX 1
|
|
|
|
#define NAND_TCC 2
|
|
|
|
#define NAND_SAMSUNG 3
|
2006-01-12 00:35:50 +00:00
|
|
|
|
2005-12-04 13:05:56 +00:00
|
|
|
/* CONFIG_RTC */
|
2005-12-11 10:52:17 +00:00
|
|
|
#define RTC_M41ST84W 1 /* Archos Recorder */
|
2006-02-27 12:35:05 +00:00
|
|
|
#define RTC_PCF50605 2 /* iPod 3G, 4G & Mini */
|
2005-12-11 10:52:17 +00:00
|
|
|
#define RTC_PCF50606 3 /* iriver H300 */
|
2006-02-24 15:42:52 +00:00
|
|
|
#define RTC_S3C2440 4
|
2006-08-03 20:21:29 +00:00
|
|
|
#define RTC_E8564 5 /* iriver H10 */
|
2007-02-03 13:10:17 +00:00
|
|
|
#define RTC_AS3514 6 /* Sandisk Sansa e200 series */
|
2007-02-28 13:20:36 +00:00
|
|
|
#define RTC_DS1339_DS3231 7 /* h1x0 RTC mod */
|
2007-09-21 15:51:53 +00:00
|
|
|
#define RTC_IMX31L 8
|
2007-10-01 05:27:43 +00:00
|
|
|
#define RTC_RX5X348AB 9
|
2007-10-28 11:08:10 +00:00
|
|
|
#define RTC_TCC77X 10
|
2008-01-14 22:04:48 +00:00
|
|
|
#define RTC_TCC780X 11
|
2008-02-03 18:15:39 +00:00
|
|
|
#define RTC_MR100 12
|
2008-04-24 09:22:39 +00:00
|
|
|
#define RTC_MC13783 13 /* Freescale MC13783 PMIC */
|
2008-06-27 23:24:34 +00:00
|
|
|
#define RTC_S5L8700 14
|
|
|
|
#define RTC_S35390A 15
|
2008-07-14 15:03:10 +00:00
|
|
|
#define RTC_JZ47XX 16 /* Ingenic Jz47XX */
|
2008-10-19 14:11:01 +00:00
|
|
|
#define RTC_AS3525 17
|
2005-12-04 13:05:56 +00:00
|
|
|
|
2006-06-16 17:34:18 +00:00
|
|
|
/* USB On-the-go */
|
2007-02-04 21:46:01 +00:00
|
|
|
#define USBOTG_ISP1362 1362 /* iriver H300 */
|
2008-04-24 20:08:28 +00:00
|
|
|
#define USBOTG_ISP1583 1583 /* Creative Zen Vision:M */
|
2007-02-04 21:46:01 +00:00
|
|
|
#define USBOTG_M5636 5636 /* iAudio X5 */
|
|
|
|
#define USBOTG_ARC 5020 /* PortalPlayer 502x */
|
2008-07-14 15:03:10 +00:00
|
|
|
#define USBOTG_JZ4740 4740 /* Ingenic Jz4740/Jz4732 */
|
2008-10-19 14:11:01 +00:00
|
|
|
#define USBOTG_AS3525 3525 /* AMS AS3525 */
|
2005-06-04 23:15:52 +00:00
|
|
|
|
2006-08-21 17:35:35 +00:00
|
|
|
/* Multiple cores */
|
|
|
|
#define CPU 0
|
|
|
|
#define COP 1
|
|
|
|
|
2004-09-28 22:13:26 +00:00
|
|
|
/* now go and pick yours */
|
2003-02-07 09:41:57 +00:00
|
|
|
#if defined(ARCHOS_PLAYER)
|
|
|
|
#include "config-player.h"
|
|
|
|
#elif defined(ARCHOS_RECORDER)
|
|
|
|
#include "config-recorder.h"
|
|
|
|
#elif defined(ARCHOS_FMRECORDER)
|
|
|
|
#include "config-fmrecorder.h"
|
2003-11-19 06:41:43 +00:00
|
|
|
#elif defined(ARCHOS_RECORDERV2)
|
2003-11-27 21:23:48 +00:00
|
|
|
#include "config-recorderv2.h"
|
2004-09-09 06:01:46 +00:00
|
|
|
#elif defined(ARCHOS_ONDIOSP)
|
|
|
|
#include "config-ondiosp.h"
|
|
|
|
#elif defined(ARCHOS_ONDIOFM)
|
|
|
|
#include "config-ondiofm.h"
|
2007-01-14 13:48:09 +00:00
|
|
|
#elif defined(ARCHOS_AV300)
|
|
|
|
#include "config-av300.h"
|
2004-09-16 14:36:08 +00:00
|
|
|
#elif defined(IRIVER_H100)
|
|
|
|
#include "config-h100.h"
|
2005-07-08 06:31:13 +00:00
|
|
|
#elif defined(IRIVER_H120)
|
|
|
|
#include "config-h120.h"
|
2005-06-15 11:28:25 +00:00
|
|
|
#elif defined(IRIVER_H300)
|
|
|
|
#include "config-h300.h"
|
2005-07-15 21:22:10 +00:00
|
|
|
#elif defined(IAUDIO_X5)
|
|
|
|
#include "config-iaudiox5.h"
|
2007-03-04 14:09:21 +00:00
|
|
|
#elif defined(IAUDIO_M5)
|
|
|
|
#include "config-iaudiom5.h"
|
2008-03-10 00:56:50 +00:00
|
|
|
#elif defined(IAUDIO_M3)
|
|
|
|
#include "config-iaudiom3.h"
|
2005-11-07 23:07:19 +00:00
|
|
|
#elif defined(IPOD_COLOR)
|
|
|
|
#include "config-ipodcolor.h"
|
|
|
|
#elif defined(IPOD_NANO)
|
|
|
|
#include "config-ipodnano.h"
|
2005-12-18 13:04:00 +00:00
|
|
|
#elif defined(IPOD_VIDEO)
|
|
|
|
#include "config-ipodvideo.h"
|
2007-07-26 22:42:31 +00:00
|
|
|
#elif defined(IPOD_1G2G)
|
|
|
|
#include "config-ipod1g2g.h"
|
2006-02-05 16:52:22 +00:00
|
|
|
#elif defined(IPOD_3G)
|
|
|
|
#include "config-ipod3g.h"
|
2006-02-05 18:25:41 +00:00
|
|
|
#elif defined(IPOD_4G)
|
|
|
|
#include "config-ipod4g.h"
|
2006-01-12 00:35:50 +00:00
|
|
|
#elif defined(IRIVER_IFP7XX)
|
|
|
|
#include "config-ifp7xx.h"
|
2006-02-24 15:42:52 +00:00
|
|
|
#elif defined(GIGABEAT_F)
|
|
|
|
#include "config-gigabeat.h"
|
2007-09-21 15:51:53 +00:00
|
|
|
#elif defined(GIGABEAT_S)
|
|
|
|
#include "config-gigabeat-s.h"
|
2006-02-21 15:01:25 +00:00
|
|
|
#elif defined(IPOD_MINI)
|
|
|
|
#include "config-ipodmini.h"
|
2006-03-30 17:29:21 +00:00
|
|
|
#elif defined(IPOD_MINI2G)
|
|
|
|
#include "config-ipodmini2g.h"
|
2006-08-01 22:28:14 +00:00
|
|
|
#elif defined(IRIVER_H10)
|
|
|
|
#include "config-h10.h"
|
2006-08-19 19:21:17 +00:00
|
|
|
#elif defined(IRIVER_H10_5GB)
|
|
|
|
#include "config-h10_5gb.h"
|
2006-08-01 22:28:14 +00:00
|
|
|
#elif defined(SANSA_E200)
|
|
|
|
#include "config-e200.h"
|
2007-09-06 03:28:58 +00:00
|
|
|
#elif defined(SANSA_C200)
|
|
|
|
#include "config-c200.h"
|
2008-05-02 19:12:09 +00:00
|
|
|
#elif defined(SANSA_M200)
|
|
|
|
#include "config-m200.h"
|
2006-08-31 19:19:35 +00:00
|
|
|
#elif defined(ELIO_TPJ1022)
|
|
|
|
#include "config-tpj1022.h"
|
2008-01-09 07:24:43 +00:00
|
|
|
#elif defined(MROBE_100)
|
|
|
|
#include "config-mrobe100.h"
|
2007-09-20 04:46:41 +00:00
|
|
|
#elif defined(MROBE_500)
|
|
|
|
#include "config-mrobe500.h"
|
2007-10-28 11:08:10 +00:00
|
|
|
#elif defined(LOGIK_DAX)
|
|
|
|
#include "config-logikdax.h"
|
|
|
|
#elif defined(IAUDIO_7)
|
|
|
|
#include "config-iaudio7.h"
|
2008-01-14 22:04:48 +00:00
|
|
|
#elif defined(COWON_D2)
|
|
|
|
#include "config-cowond2.h"
|
2008-02-18 19:08:29 +00:00
|
|
|
#elif defined(CREATIVE_ZVM)
|
|
|
|
#include "config-creativezvm.h"
|
2008-05-14 18:55:19 +00:00
|
|
|
#elif defined(CREATIVE_ZVM60GB)
|
|
|
|
#include "config-creativezvm60gb.h"
|
|
|
|
#elif defined(CREATIVE_ZV)
|
|
|
|
#include "config-creativezv.h"
|
2008-05-21 03:55:17 +00:00
|
|
|
#elif defined(PHILIPS_SA9200)
|
|
|
|
#include "config-sa9200.h"
|
2008-06-27 18:40:25 +00:00
|
|
|
#elif defined(PHILIPS_HDD1630)
|
|
|
|
#include "config-hdd1630.h"
|
2008-06-21 15:18:36 +00:00
|
|
|
#elif defined(SANSA_C100)
|
|
|
|
#include "config-c100.h"
|
2008-06-27 23:24:34 +00:00
|
|
|
#elif defined(MEIZU_M6SL)
|
|
|
|
#include "config-meizu-m6sl.h"
|
2008-09-17 23:22:11 +00:00
|
|
|
#elif defined(MEIZU_M6SP)
|
|
|
|
#include "config-meizu-m6sp.h"
|
|
|
|
#elif defined(MEIZU_M3)
|
|
|
|
#include "config-meizu-m3.h"
|
2008-07-14 15:03:10 +00:00
|
|
|
#elif defined(ONDA_VX747)
|
|
|
|
#include "config-ondavx747.h"
|
2008-09-05 15:09:40 +00:00
|
|
|
#elif defined(ONDA_VX767)
|
|
|
|
#include "config-ondavx767.h"
|
2008-10-12 16:46:01 +00:00
|
|
|
#elif defined(SANSA_CLIP)
|
|
|
|
#include "config-clip.h"
|
2008-10-19 14:11:01 +00:00
|
|
|
#elif defined(SANSA_E200V2)
|
|
|
|
#include "config-e200v2.h"
|
|
|
|
#elif defined(SANSA_M200V2)
|
|
|
|
#include "config-m200v2.h"
|
2008-11-01 10:29:23 +00:00
|
|
|
#elif defined(SANSA_FUZE)
|
|
|
|
#include "config-fuze.h"
|
2003-02-07 09:41:57 +00:00
|
|
|
#else
|
|
|
|
/* no known platform */
|
|
|
|
#endif
|
|
|
|
|
2007-05-20 20:26:36 +00:00
|
|
|
/* setup basic macros from capability masks */
|
|
|
|
#include "config_caps.h"
|
|
|
|
|
2007-02-18 02:04:47 +00:00
|
|
|
/* now set any CONFIG_ defines correctly if they are not used,
|
|
|
|
No need to do this on CONFIG_'s which are compulsary (e.g CONFIG_CODEC ) */
|
|
|
|
#ifndef CONFIG_TUNER
|
|
|
|
#define CONFIG_TUNER 0
|
|
|
|
#endif
|
|
|
|
|
2007-02-18 04:57:28 +00:00
|
|
|
#ifndef CONFIG_USBOTG
|
|
|
|
#define CONFIG_USBOTG 0
|
|
|
|
#endif
|
|
|
|
|
2007-02-18 05:07:19 +00:00
|
|
|
#ifndef CONFIG_LED
|
|
|
|
#define CONFIG_LED 0
|
|
|
|
#endif
|
|
|
|
|
2007-02-18 05:32:06 +00:00
|
|
|
#ifndef CONFIG_CHARGING
|
|
|
|
#define CONFIG_CHARGING 0
|
|
|
|
#endif
|
|
|
|
|
2007-03-16 23:47:03 +00:00
|
|
|
#ifndef CONFIG_RTC
|
|
|
|
#define CONFIG_RTC 0
|
|
|
|
#endif
|
|
|
|
|
2007-11-11 04:48:33 +00:00
|
|
|
#ifndef CONFIG_ORIENTATION
|
|
|
|
#if LCD_HEIGHT > LCD_WIDTH
|
2008-04-29 01:09:39 +00:00
|
|
|
#define CONFIG_ORIENTATION SCREEN_PORTRAIT
|
2007-11-11 04:48:33 +00:00
|
|
|
#elif LCD_HEIGHT < LCD_WIDTH
|
|
|
|
#define CONFIG_ORIENTATION SCREEN_LANDSCAPE
|
|
|
|
#else
|
|
|
|
#define CONFIG_ORIENTATION SCREEN_SQUARE
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
2007-04-16 09:14:36 +00:00
|
|
|
/* define this in the target config.h to use a different size */
|
|
|
|
#ifndef CONFIG_DEFAULT_ICON_HEIGHT
|
|
|
|
#define CONFIG_DEFAULT_ICON_HEIGHT 8
|
|
|
|
#endif
|
|
|
|
#ifndef CONFIG_DEFAULT_ICON_WIDTH
|
|
|
|
#define CONFIG_DEFAULT_ICON_WIDTH 6
|
|
|
|
#endif
|
|
|
|
#ifndef CONFIG_REMOTE_DEFAULT_ICON_HEIGHT
|
|
|
|
#define CONFIG_REMOTE_DEFAULT_ICON_HEIGHT 8
|
|
|
|
#endif
|
|
|
|
#ifndef CONFIG_REMOTE_DEFAULT_ICON_WIDTH
|
|
|
|
#define CONFIG_REMOTE_DEFAULT_ICON_WIDTH 6
|
|
|
|
#endif
|
|
|
|
|
2007-07-14 11:20:31 +00:00
|
|
|
#if (CONFIG_TUNER & (CONFIG_TUNER - 1)) != 0
|
|
|
|
/* Multiple possible tuners */
|
|
|
|
#define CONFIG_TUNER_MULTI
|
|
|
|
#endif
|
|
|
|
|
2008-11-02 01:14:46 +00:00
|
|
|
#if (CONFIG_STORAGE & (CONFIG_STORAGE - 1)) != 0
|
|
|
|
/* Multiple storage drivers */
|
|
|
|
#define CONFIG_STORAGE_MULTI
|
|
|
|
#endif
|
|
|
|
|
2007-07-26 21:51:44 +00:00
|
|
|
#if defined(BOOTLOADER) && defined(HAVE_ADJUSTABLE_CPU_FREQ)
|
|
|
|
/* Bootloaders don't use CPU frequency adjustment */
|
|
|
|
#undef HAVE_ADJUSTABLE_CPU_FREQ
|
|
|
|
#endif
|
|
|
|
|
2006-08-16 22:04:39 +00:00
|
|
|
/* Enable the directory cache and tagcache in RAM if we have
|
|
|
|
* plenty of RAM. Both features can be enabled independently. */
|
2007-02-17 21:47:12 +00:00
|
|
|
#if ((defined(MEMORYSIZE) && (MEMORYSIZE > 8)) || MEM > 8) && \
|
2008-03-09 20:33:19 +00:00
|
|
|
!defined(BOOTLOADER)
|
2006-09-16 16:18:11 +00:00
|
|
|
#define HAVE_DIRCACHE
|
2006-10-25 10:17:57 +00:00
|
|
|
#ifdef HAVE_TAGCACHE
|
2006-09-16 16:18:11 +00:00
|
|
|
#define HAVE_TC_RAMCACHE
|
|
|
|
#endif
|
2006-10-25 10:17:57 +00:00
|
|
|
#endif
|
2006-09-16 16:18:11 +00:00
|
|
|
|
2007-05-22 15:56:05 +00:00
|
|
|
/* Add one HAVE_ define for all mas35xx targets */
|
|
|
|
#if (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3507D) || (CONFIG_CODEC == MAS3539F)
|
|
|
|
#define HAVE_MAS35XX
|
|
|
|
#endif
|
|
|
|
|
2008-04-15 13:35:41 +00:00
|
|
|
#if (CONFIG_CODEC == SWCODEC)
|
2008-05-21 08:42:11 +00:00
|
|
|
#ifdef BOOTLOADER
|
|
|
|
|
|
|
|
#if CONFIG_CPU == IMX31L
|
|
|
|
/* Priority in bootloader is wanted */
|
|
|
|
#define HAVE_PRIORITY_SCHEDULING
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#else /* !BOOTLOADER */
|
2008-04-15 13:35:41 +00:00
|
|
|
|
2008-04-18 16:42:50 +00:00
|
|
|
#define HAVE_EXTENDED_MESSAGING_AND_NAME
|
|
|
|
|
2007-10-16 01:25:17 +00:00
|
|
|
#ifndef SIMULATOR
|
2006-09-16 16:18:11 +00:00
|
|
|
#define HAVE_PRIORITY_SCHEDULING
|
2006-10-15 11:57:52 +00:00
|
|
|
#define HAVE_SCHEDULER_BOOSTCTRL
|
2007-10-16 01:25:17 +00:00
|
|
|
#endif /* SIMULATOR */
|
2008-04-15 13:35:41 +00:00
|
|
|
|
2007-10-16 01:25:17 +00:00
|
|
|
#define HAVE_SEMAPHORE_OBJECTS
|
2008-03-30 04:59:51 +00:00
|
|
|
|
2008-04-15 13:35:41 +00:00
|
|
|
#ifdef TOSHIBA_GIGABEAT_F
|
|
|
|
#define HAVE_WAKEUP_OBJECTS
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* BOOTLOADER */
|
|
|
|
|
2008-04-18 16:42:50 +00:00
|
|
|
#ifdef HAVE_USBSTACK
|
2008-03-30 04:59:51 +00:00
|
|
|
#define HAVE_WAKEUP_OBJECTS
|
|
|
|
#endif
|
2008-04-18 16:42:50 +00:00
|
|
|
|
|
|
|
#endif /* (CONFIG_CODEC == SWCODEC) */
|
2006-07-10 16:22:03 +00:00
|
|
|
|
2006-11-08 16:13:04 +00:00
|
|
|
/* define for all cpus from SH family */
|
|
|
|
#if (CONFIG_CPU == SH7034)
|
|
|
|
#define CPU_SH
|
|
|
|
#endif
|
|
|
|
|
2005-07-18 12:40:29 +00:00
|
|
|
/* define for all cpus from coldfire family */
|
|
|
|
#if (CONFIG_CPU == MCF5249) || (CONFIG_CPU == MCF5250)
|
|
|
|
#define CPU_COLDFIRE
|
|
|
|
#endif
|
|
|
|
|
2006-08-02 06:54:31 +00:00
|
|
|
/* define for all cpus from PP family */
|
2007-07-02 05:16:40 +00:00
|
|
|
#if (CONFIG_CPU == PP5002)
|
|
|
|
#define CPU_PP
|
|
|
|
#elif (CONFIG_CPU == PP5020) || (CONFIG_CPU == PP5022) || (CONFIG_CPU == PP5024)
|
2006-08-02 06:54:31 +00:00
|
|
|
#define CPU_PP
|
2007-07-02 05:16:40 +00:00
|
|
|
#define CPU_PP502x
|
2006-08-02 06:54:31 +00:00
|
|
|
#endif
|
|
|
|
|
2007-10-28 11:08:10 +00:00
|
|
|
/* define for all cpus from TCC77X family */
|
2008-06-21 15:18:36 +00:00
|
|
|
#if (CONFIG_CPU == TCC771L) || (CONFIG_CPU == TCC773L) || (CONFIG_CPU == TCC770)
|
2007-10-28 11:08:10 +00:00
|
|
|
#define CPU_TCC77X
|
|
|
|
#endif
|
|
|
|
|
2008-01-14 22:04:48 +00:00
|
|
|
/* define for all cpus from TCC780 family */
|
|
|
|
#if (CONFIG_CPU == TCC7801)
|
|
|
|
#define CPU_TCC780X
|
|
|
|
#endif
|
|
|
|
|
2007-10-25 18:59:01 +00:00
|
|
|
/* define for all cpus from ARM7TDMI family (for specific optimisations) */
|
|
|
|
#if defined(CPU_PP) || (CONFIG_CPU == PNX0101) || (CONFIG_CPU == DSC25)
|
|
|
|
#define CPU_ARM7TDMI
|
|
|
|
#endif
|
|
|
|
|
2005-11-07 23:07:19 +00:00
|
|
|
/* define for all cpus from ARM family */
|
2008-03-25 02:34:12 +00:00
|
|
|
#if (CONFIG_CPU == IMX31L)
|
|
|
|
#define CPU_ARM
|
|
|
|
#define ARM_ARCH 6 /* ARMv6 */
|
|
|
|
#endif
|
|
|
|
|
2008-10-29 07:11:52 +00:00
|
|
|
#if defined(CPU_TCC77X) || defined(CPU_TCC780X) || (CONFIG_CPU == DM320)
|
2008-03-25 02:34:12 +00:00
|
|
|
#define CPU_ARM
|
|
|
|
#define ARM_ARCH 5 /* ARMv5 */
|
|
|
|
#endif
|
|
|
|
|
2007-01-14 13:48:09 +00:00
|
|
|
#if defined(CPU_PP) || (CONFIG_CPU == PNX0101) || (CONFIG_CPU == S3C2440) \
|
2008-10-29 07:11:52 +00:00
|
|
|
|| (CONFIG_CPU == DSC25) || (CONFIG_CPU == S5L8700) || (CONFIG_CPU == AS3525)
|
2005-11-07 23:07:19 +00:00
|
|
|
#define CPU_ARM
|
2008-03-25 02:34:12 +00:00
|
|
|
#define ARM_ARCH 4 /* ARMv4 */
|
2005-11-07 23:07:19 +00:00
|
|
|
#endif
|
|
|
|
|
2006-03-26 18:24:36 +00:00
|
|
|
/* Determine if accesses should be strictly long aligned. */
|
2006-03-26 18:36:31 +00:00
|
|
|
#if (CONFIG_CPU == SH7034) || defined(CPU_ARM)
|
2006-03-26 18:24:36 +00:00
|
|
|
#define ROCKBOX_STRICT_ALIGN 1
|
|
|
|
#endif
|
|
|
|
|
2008-07-14 15:03:10 +00:00
|
|
|
#if (CONFIG_CPU == JZ4732)
|
|
|
|
#define CPU_MIPS 32
|
|
|
|
#endif
|
|
|
|
|
2005-06-27 21:23:03 +00:00
|
|
|
#ifndef CODEC_SIZE
|
|
|
|
#define CODEC_SIZE 0
|
|
|
|
#endif
|
|
|
|
|
2006-01-18 20:54:13 +00:00
|
|
|
/* This attribute can be used to ensure that certain symbols are never profiled
|
|
|
|
* which can be important as profiling a function de-inlines it */
|
|
|
|
#ifdef RB_PROFILE
|
|
|
|
#define NO_PROF_ATTR __attribute__ ((no_instrument_function))
|
|
|
|
#else
|
|
|
|
#define NO_PROF_ATTR
|
|
|
|
#endif
|
|
|
|
|
2005-07-03 14:05:12 +00:00
|
|
|
/* IRAM usage */
|
|
|
|
#if !defined(SIMULATOR) && /* Not for simulators */ \
|
|
|
|
(((CONFIG_CPU == SH7034) && !defined(PLUGIN)) || /* SH1 archos: core only */ \
|
2006-03-28 12:48:56 +00:00
|
|
|
defined(CPU_COLDFIRE) || /* Coldfire: core, plugins, codecs */ \
|
2006-11-22 00:41:30 +00:00
|
|
|
defined(CPU_PP) || /* PortalPlayer: core, plugins, codecs */ \
|
2008-06-27 23:24:34 +00:00
|
|
|
(CONFIG_CPU == PNX0101) || \
|
2008-06-28 00:02:07 +00:00
|
|
|
(CONFIG_CPU == S5L8700)) /* Samsung S5L8700: core, plugins, codecs */
|
2006-02-05 16:52:22 +00:00
|
|
|
#define ICODE_ATTR __attribute__ ((section(".icode")))
|
|
|
|
#define ICONST_ATTR __attribute__ ((section(".irodata")))
|
|
|
|
#define IDATA_ATTR __attribute__ ((section(".idata")))
|
|
|
|
#define IBSS_ATTR __attribute__ ((section(".ibss")))
|
2005-07-03 14:05:12 +00:00
|
|
|
#define USE_IRAM
|
2006-11-18 02:18:29 +00:00
|
|
|
#if CONFIG_CPU != SH7034
|
2007-11-18 17:12:19 +00:00
|
|
|
#define PLUGIN_USE_IRAM
|
2006-11-18 02:18:29 +00:00
|
|
|
#endif
|
2007-02-17 11:19:14 +00:00
|
|
|
#if defined(CPU_ARM)
|
|
|
|
/* GCC quirk workaround: arm-elf-gcc treats static functions as short_call
|
|
|
|
* when not compiling with -ffunction-sections, even when the function has
|
|
|
|
* a section attribute. */
|
|
|
|
#define STATICIRAM
|
|
|
|
#else
|
|
|
|
#define STATICIRAM static
|
|
|
|
#endif
|
2005-07-03 14:05:12 +00:00
|
|
|
#else
|
|
|
|
#define ICODE_ATTR
|
2005-10-19 19:35:24 +00:00
|
|
|
#define ICONST_ATTR
|
2005-07-03 14:05:12 +00:00
|
|
|
#define IDATA_ATTR
|
2005-10-19 19:35:24 +00:00
|
|
|
#define IBSS_ATTR
|
2007-02-17 11:19:14 +00:00
|
|
|
#define STATICIRAM static
|
2005-07-03 14:05:12 +00:00
|
|
|
#endif
|
|
|
|
|
2006-04-11 10:37:37 +00:00
|
|
|
#ifndef IRAM_LCDFRAMEBUFFER
|
|
|
|
/* if the LCD framebuffer has not been moved to IRAM, define it empty here */
|
|
|
|
#define IRAM_LCDFRAMEBUFFER
|
|
|
|
#endif
|
|
|
|
|
2007-10-16 01:25:17 +00:00
|
|
|
/* Change this if you want to build a single-core firmware for a multicore
|
|
|
|
* target for debugging */
|
|
|
|
#if defined(BOOTLOADER)
|
|
|
|
#define FORCE_SINGLE_CORE
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Core locking types - specifies type of atomic operation */
|
|
|
|
#define CORELOCK_NONE 0
|
|
|
|
#define SW_CORELOCK 1 /* Mutual exclusion provided by a software algorithm
|
|
|
|
and not a special semaphore instruction */
|
|
|
|
#define CORELOCK_SWAP 2 /* A swap (exchange) instruction */
|
|
|
|
|
2007-09-29 06:56:21 +00:00
|
|
|
#if defined(CPU_PP)
|
|
|
|
#define IDLE_STACK_SIZE 0x80
|
|
|
|
#define IDLE_STACK_WORDS 0x20
|
|
|
|
|
2008-04-06 04:34:57 +00:00
|
|
|
/* Attributes to place data in uncached DRAM */
|
|
|
|
/* These are useful beyond dual-core and ultimately beyond PP since they may
|
|
|
|
* be used for DMA buffers and such without cache maintenence calls. */
|
|
|
|
#define NOCACHEBSS_ATTR __attribute__((section(".ncbss"),nocommon))
|
|
|
|
#define NOCACHEDATA_ATTR __attribute__((section(".ncdata"),nocommon))
|
|
|
|
|
2007-11-27 01:20:26 +00:00
|
|
|
#if !defined(FORCE_SINGLE_CORE)
|
2007-10-16 01:25:17 +00:00
|
|
|
|
2007-03-04 20:06:41 +00:00
|
|
|
#define NUM_CORES 2
|
|
|
|
#define CURRENT_CORE current_core()
|
2008-04-06 04:34:57 +00:00
|
|
|
/* Attributes for core-shared data in DRAM where IRAM is better used for other
|
|
|
|
* purposes. */
|
|
|
|
#define SHAREDBSS_ATTR NOCACHEBSS_ATTR
|
|
|
|
#define SHAREDDATA_ATTR NOCACHEDATA_ATTR
|
2007-03-04 20:06:41 +00:00
|
|
|
|
2007-10-16 01:25:17 +00:00
|
|
|
#define IF_COP(...) __VA_ARGS__
|
|
|
|
#define IF_COP_VOID(...) __VA_ARGS__
|
|
|
|
#define IF_COP_CORE(core) core
|
|
|
|
|
2008-04-06 04:34:57 +00:00
|
|
|
#ifdef CPU_PP
|
2007-10-16 01:25:17 +00:00
|
|
|
#define CONFIG_CORELOCK SW_CORELOCK /* SWP(B) is broken */
|
|
|
|
#else
|
|
|
|
#define CONFIG_CORELOCK CORELOCK_SWAP
|
|
|
|
#endif
|
|
|
|
|
2007-09-29 06:56:21 +00:00
|
|
|
#endif /* !defined(BOOTLOADER) && CONFIG_CPU != PP5002 */
|
2007-10-16 01:25:17 +00:00
|
|
|
|
2007-09-29 06:56:21 +00:00
|
|
|
#endif /* CPU_PP */
|
2007-03-04 20:06:41 +00:00
|
|
|
|
2007-10-16 01:25:17 +00:00
|
|
|
#ifndef CONFIG_CORELOCK
|
|
|
|
#define CONFIG_CORELOCK CORELOCK_NONE
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if CONFIG_CORELOCK == SW_CORELOCK
|
|
|
|
#define IF_SWCL(...) __VA_ARGS__
|
|
|
|
#define IFN_SWCL(...)
|
|
|
|
#else
|
|
|
|
#define IF_SWCL(...)
|
|
|
|
#define IFN_SWCL(...) __VA_ARGS__
|
|
|
|
#endif /* CONFIG_CORELOCK == */
|
|
|
|
|
2007-09-29 06:56:21 +00:00
|
|
|
#ifndef NUM_CORES
|
|
|
|
/* Default to single core */
|
2007-03-04 20:06:41 +00:00
|
|
|
#define NUM_CORES 1
|
2008-04-06 04:34:57 +00:00
|
|
|
#define CURRENT_CORE CPU
|
|
|
|
/* Attributes for core-shared data in DRAM - no caching considerations */
|
|
|
|
#define SHAREDBSS_ATTR
|
|
|
|
#define SHAREDDATA_ATTR
|
2008-04-16 19:07:10 +00:00
|
|
|
#ifndef NOCACHEBSS_ATTR
|
2008-04-16 18:58:06 +00:00
|
|
|
#define NOCACHEBSS_ATTR
|
|
|
|
#define NOCACHEDATA_ATTR
|
2008-04-16 19:07:10 +00:00
|
|
|
#endif
|
2007-10-16 01:25:17 +00:00
|
|
|
#define CONFIG_CORELOCK CORELOCK_NONE
|
2007-03-04 20:06:41 +00:00
|
|
|
|
2007-09-28 10:20:02 +00:00
|
|
|
#define IF_COP(...)
|
2007-10-16 01:25:17 +00:00
|
|
|
#define IF_COP_VOID(...) void
|
|
|
|
#define IF_COP_CORE(core) CURRENT_CORE
|
|
|
|
|
2007-09-29 06:56:21 +00:00
|
|
|
#endif /* NUM_CORES */
|
2007-03-04 20:06:41 +00:00
|
|
|
|
2008-01-27 21:13:04 +00:00
|
|
|
#ifdef HAVE_HEADPHONE_DETECTION
|
|
|
|
/* Timeout objects required if headphone detection is enabled */
|
|
|
|
#ifndef INCLUDE_TIMEOUT_API
|
|
|
|
#define INCLUDE_TIMEOUT_API
|
|
|
|
#endif
|
|
|
|
#endif /* HAVE_HEADPHONE_DETECTION */
|
|
|
|
|
2008-11-01 17:33:21 +00:00
|
|
|
#if defined(HAVE_USBSTACK) || (CONFIG_STORAGE & STORAGE_NAND)
|
|
|
|
#define STORAGE_GET_INFO
|
|
|
|
#endif
|
|
|
|
|
2007-09-29 06:56:21 +00:00
|
|
|
#endif /* __CONFIG_H__ */
|