Delete superfluous image which seems to have been accidentally committed to the wrong...
[kugel-rb.git] / firmware / export / config-gigabeat.h
blob27bd51e3aba87b1384c80da70c3e93f0d72a5710
1 /*
2 * This config file is for toshiba Gigabeat F
3 */
4 #define TARGET_TREE /* this target is using the target tree system */
6 #define TOSHIBA_GIGABEAT_F 1
8 #define MODEL_NAME "Toshiba Gigabeat F"
10 /* For Rolo and boot loader */
11 #define MODEL_NUMBER 18
13 /* define this if you use an ATA controller */
14 #define HAVE_ATA
16 /* define this if you have a bitmap LCD display */
17 #define HAVE_LCD_BITMAP
19 /* define this if you have a colour LCD */
20 #define HAVE_LCD_COLOR
22 /* define this if you want album art for this target */
23 #define HAVE_ALBUMART
25 /* define this if you have access to the quickscreen */
26 #define HAVE_QUICKSCREEN
28 /* define this if you have access to the pitchscreen */
29 #define HAVE_PITCHSCREEN
31 /* define this if you would like tagcache to build on this target */
32 #define HAVE_TAGCACHE
34 /* define this if the target has volume keys which can be used in the lists */
35 #define HAVE_VOLUME_IN_LIST
37 /* LCD dimensions */
38 #define LCD_WIDTH 240
39 #define LCD_HEIGHT 320
40 #define LCD_DEPTH 16 /* 65k colours */
41 #define LCD_PIXELFORMAT RGB565 /* rgb565 */
43 #ifndef BOOTLOADER
44 /* Define this if your LCD can be enabled/disabled */
45 #define HAVE_LCD_ENABLE
47 /* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE
48 should be defined as well. */
49 #define HAVE_LCD_SLEEP
50 /* We don't use a setting but a fixed delay after the backlight has
51 * turned off */
52 #define LCD_SLEEP_TIMEOUT (5*HZ)
54 #define HAVE_TOUCHPAD_SENSITIVITY_SETTING
55 #endif /* BOOTLOADER */
57 #define CONFIG_KEYPAD GIGABEAT_PAD
59 /* Define this if you do software codec */
60 #define CONFIG_CODEC SWCODEC
62 /* define this if you have a real-time clock */
63 #define CONFIG_RTC RTC_S3C2440
65 /* Define this for LCD backlight available */
66 #define HAVE_BACKLIGHT
68 #define HAVE_BUTTON_LIGHT
70 #define HAVE_BACKLIGHT_BRIGHTNESS
72 #define HAVE_BUTTONLIGHT_BRIGHTNESS
74 /* Main LCD backlight brightness range and defaults */
75 #define MIN_BRIGHTNESS_SETTING 1 /* 0.5 mA */
76 #define MAX_BRIGHTNESS_SETTING 12 /* 32 mA */
77 #define DEFAULT_BRIGHTNESS_SETTING 10 /* 16 mA */
79 /* Define this if you have a software controlled poweroff */
80 #define HAVE_SW_POWEROFF
82 /* The number of bytes reserved for loadable codecs */
83 #define CODEC_SIZE 0x80000
85 /* The number of bytes reserved for loadable plugins */
86 #define PLUGIN_BUFFER_SIZE 0x80000
88 #define AB_REPEAT_ENABLE 1
90 /* Define this if you have the WM8975 audio codec */
91 #define HAVE_WM8751
93 /* Define this if you want to use the adaptive bass capibility of the 8751 */
94 /* #define USE_ADAPTIVE_BASS */
96 #define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | \
97 SAMPR_CAP_11)
99 #define HAVE_HEADPHONE_DETECTION
101 #define BATTERY_CAPACITY_DEFAULT 2000 /* default battery capacity */
102 #define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */
103 #define BATTERY_CAPACITY_MAX 2500 /* max. capacity selectable */
104 #define BATTERY_CAPACITY_INC 25 /* capacity increment */
105 #define BATTERY_TYPES_COUNT 1 /* only one type */
107 /* Hardware controlled charging with monitoring */
108 #define CONFIG_CHARGING CHARGING_MONITOR
110 /* define this if the unit can be powered or charged via USB */
111 #define HAVE_USB_POWER
113 #ifndef SIMULATOR
115 /* The LCD on a Gigabeat is 240x320 - it is portrait */
116 #define HAVE_PORTRAIT_LCD
118 #define HAVE_LCD_FLIP
120 /* Define this if your LCD can set contrast */
121 #define HAVE_LCD_CONTRAST
123 #define MIN_CONTRAST_SETTING 0
124 #define MAX_CONTRAST_SETTING 63
125 #define DEFAULT_CONTRAST_SETTING 47 /* Match boot contrast */
127 /* LCD invert - does not currently work */
128 /* #define HAVE_LCD_INVERT */
130 /* Define this if you have a Motorola SCF5249 */
131 #define CONFIG_CPU S3C2440
133 /* Define this if you want to use coldfire's i2c interface */
134 #define CONFIG_I2C I2C_S3C2440
136 /* define this if the hardware can be powered off while charging */
137 #define HAVE_POWEROFF_WHILE_CHARGING
139 /* The size of the flash ROM */
140 #define FLASH_SIZE 0x400000
142 /* Define this to the CPU frequency */
143 #define CPU_FREQ 16934400
145 /* Define this if you have ATA power-off control */
146 #define HAVE_ATA_POWER_OFF
148 /* Virtual LED (icon) */
149 #define CONFIG_LED LED_VIRTUAL
151 #define CONFIG_LCD LCD_GIGABEAT
153 /* define this if the backlight can be set to a brightness */
154 #define HAVE_BACKLIGHT_SET_FADING
155 #define __BACKLIGHT_INIT
157 /* Offset ( in the firmware file's header ) to the file CRC */
158 #define FIRMWARE_OFFSET_FILE_CRC 0
160 /* Offset ( in the firmware file's header ) to the real data */
161 #define FIRMWARE_OFFSET_FILE_DATA 8
163 /* Define this if you have adjustable CPU frequency */
164 /* #define HAVE_ADJUSTABLE_CPU_FREQ */
166 #define BOOTFILE_EXT "gigabeat"
167 #define BOOTFILE "rockbox." BOOTFILE_EXT
168 #define BOOTDIR "/.rockbox"
170 #endif