diff options
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/config.h | 4 | ||||
-rw-r--r-- | firmware/export/config/samsungypz5.h | 204 |
2 files changed, 0 insertions, 208 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h index 702b821856..383677865f 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h | |||
@@ -145,7 +145,6 @@ | |||
145 | #define MA_PAD 56 | 145 | #define MA_PAD 56 |
146 | #define SONY_NWZ_PAD 57 | 146 | #define SONY_NWZ_PAD 57 |
147 | #define CREATIVE_ZEN_PAD 58 | 147 | #define CREATIVE_ZEN_PAD 58 |
148 | #define SAMSUNG_YPZ5_PAD 59 | ||
149 | #define IHIFI_PAD 60 | 148 | #define IHIFI_PAD 60 |
150 | #define SAMSUNG_YPR1_PAD 61 | 149 | #define SAMSUNG_YPR1_PAD 61 |
151 | #define SAMSUNG_YH92X_PAD 62 | 150 | #define SAMSUNG_YH92X_PAD 62 |
@@ -264,7 +263,6 @@ | |||
264 | #define LCD_CREATIVEZENMOZAIC 56 /* as used by the Creative ZEN Mozaic (FGD0801) */ | 263 | #define LCD_CREATIVEZENMOZAIC 56 /* as used by the Creative ZEN Mozaic (FGD0801) */ |
265 | #define LCD_ILI9342C 57 /* another type of lcd used by HiFi E.T MA9/MA8 */ | 264 | #define LCD_ILI9342C 57 /* another type of lcd used by HiFi E.T MA9/MA8 */ |
266 | #define LCD_CREATIVEZENV 58 /* as used by the Creative Zen V (Plus) */ | 265 | #define LCD_CREATIVEZENV 58 /* as used by the Creative Zen V (Plus) */ |
267 | #define LCD_SAMSUNGYPZ5 59 /* as used by Samsung YP-Z5 */ | ||
268 | #define LCD_IHIFI 60 /* as used by IHIFI 760/960 */ | 266 | #define LCD_IHIFI 60 /* as used by IHIFI 760/960 */ |
269 | #define LCD_CREATIVEZENXFISTYLE 61 /* as used by Creative Zen X-Fi Style */ | 267 | #define LCD_CREATIVEZENXFISTYLE 61 /* as used by Creative Zen X-Fi Style */ |
270 | #define LCD_SAMSUNGYPR1 62 /* as used by Samsung YP-R1 */ | 268 | #define LCD_SAMSUNGYPR1 62 /* as used by Samsung YP-R1 */ |
@@ -543,8 +541,6 @@ Lyre prototype 1 */ | |||
543 | #include "config/sonynwze370.h" | 541 | #include "config/sonynwze370.h" |
544 | #elif defined(SONY_NWZE360) | 542 | #elif defined(SONY_NWZE360) |
545 | #include "config/sonynwze360.h" | 543 | #include "config/sonynwze360.h" |
546 | #elif defined(SAMSUNG_YPZ5) | ||
547 | #include "config/samsungypz5.h" | ||
548 | #elif defined(IHIFI760) | 544 | #elif defined(IHIFI760) |
549 | #include "config/ihifi760.h" | 545 | #include "config/ihifi760.h" |
550 | #elif defined(IHIFI770) | 546 | #elif defined(IHIFI770) |
diff --git a/firmware/export/config/samsungypz5.h b/firmware/export/config/samsungypz5.h deleted file mode 100644 index 2af62c1cbe..0000000000 --- a/firmware/export/config/samsungypz5.h +++ /dev/null | |||
@@ -1,204 +0,0 @@ | |||
1 | /* | ||
2 | * This config file is for the Samsung YP-Z5 | ||
3 | */ | ||
4 | #define IMX233_SUBTARGET 3600 | ||
5 | #define IMX233_PACKAGE IMX233_BGA169 | ||
6 | #define IMX233_PARTITIONS IMX233_FREESCALE | ||
7 | |||
8 | /* For Rolo and boot loader */ | ||
9 | #define MODEL_NUMBER 84 | ||
10 | #define MODEL_NAME "Samsung YP-Z5" | ||
11 | /* Define if boot data from bootloader has been enabled for the target */ | ||
12 | #define HAVE_BOOTDATA | ||
13 | |||
14 | #define HW_SAMPR_CAPS SAMPR_CAP_ALL_48 | ||
15 | |||
16 | /* define this if you have recording possibility */ | ||
17 | #define HAVE_RECORDING | ||
18 | |||
19 | #define REC_SAMPR_CAPS SAMPR_CAP_ALL_48 | ||
20 | |||
21 | /* Default recording levels */ | ||
22 | #define DEFAULT_REC_MIC_GAIN 23 | ||
23 | #define DEFAULT_REC_LEFT_GAIN 23 | ||
24 | #define DEFAULT_REC_RIGHT_GAIN 23 | ||
25 | |||
26 | /* Define bitmask of input sources - recordable bitmask can be defined | ||
27 | explicitly if different */ | ||
28 | #define HAVE_FMRADIO_IN | ||
29 | #define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_FMRADIO) | ||
30 | |||
31 | |||
32 | |||
33 | /* define this if you have a colour LCD */ | ||
34 | #define HAVE_LCD_COLOR | ||
35 | |||
36 | #ifndef BOOTLOADER | ||
37 | #define HAVE_ALBUMART | ||
38 | |||
39 | /* define this to enable bitmap scaling */ | ||
40 | #define HAVE_BMP_SCALING | ||
41 | |||
42 | /* define this to enable JPEG decoding */ | ||
43 | #define HAVE_JPEG | ||
44 | |||
45 | /* Define this if a programmable hotkey is mapped */ | ||
46 | #define HAVE_HOTKEY | ||
47 | |||
48 | /* define this if you have access to the quickscreen */ | ||
49 | #define HAVE_QUICKSCREEN | ||
50 | |||
51 | /* define this if you would like tagcache to build on this target */ | ||
52 | #define HAVE_TAGCACHE | ||
53 | |||
54 | /* define this if the target has volume keys which can be used in the lists */ | ||
55 | #define HAVE_VOLUME_IN_LIST | ||
56 | |||
57 | /* define this if you have LCD enable function */ | ||
58 | //#define HAVE_LCD_ENABLE | ||
59 | |||
60 | /* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE | ||
61 | should be defined as well. | ||
62 | #define HAVE_LCD_SLEEP | ||
63 | #define HAVE_LCD_SLEEP_SETTING | ||
64 | */ | ||
65 | |||
66 | /* define this if you can flip your LCD | ||
67 | #define HAVE_LCD_FLIP | ||
68 | */ | ||
69 | |||
70 | /* define this if you can invert the colours on your LCD | ||
71 | #define HAVE_LCD_INVERT | ||
72 | */ | ||
73 | |||
74 | /* define this if you have a real-time clock */ | ||
75 | #define CONFIG_RTC RTC_IMX233 | ||
76 | |||
77 | /* define this if you have a real-time clock with alarm facilities */ | ||
78 | #define HAVE_RTC_ALARM | ||
79 | |||
80 | #endif /* !BOOTLOADER */ | ||
81 | |||
82 | /* define this if you have an i.MX23 codec */ | ||
83 | #define HAVE_IMX233_CODEC | ||
84 | |||
85 | #define CONFIG_TUNER TEA5767 | ||
86 | #define CONFIG_TUNER_XTAL 32768 | ||
87 | |||
88 | /* There is no hardware tone control */ | ||
89 | #define HAVE_SW_TONE_CONTROLS | ||
90 | |||
91 | #define CONFIG_KEYPAD SAMSUNG_YPZ5_PAD | ||
92 | #define HAVE_TOUCHPAD_IMX233 | ||
93 | |||
94 | /* Define this to enable morse code input */ | ||
95 | #define HAVE_MORSE_INPUT | ||
96 | |||
97 | |||
98 | |||
99 | |||
100 | /* LCD dimensions */ | ||
101 | #define LCD_WIDTH 128 | ||
102 | #define LCD_HEIGHT 160 | ||
103 | /* sqrt(128^2 + 160^2) / 1.8 = 113.8 */ | ||
104 | #define LCD_DPI 114 | ||
105 | #define LCD_DEPTH 16 /* 65536 colours */ | ||
106 | #define LCD_PIXELFORMAT RGB565 /* rgb565 */ | ||
107 | |||
108 | /* Define this if you have a software controlled poweroff */ | ||
109 | #define HAVE_SW_POWEROFF | ||
110 | |||
111 | /* Some devices seem to be FAT16 formatted */ | ||
112 | #define HAVE_FAT16SUPPORT | ||
113 | |||
114 | /* The number of bytes reserved for loadable codecs */ | ||
115 | #define CODEC_SIZE 0x100000 | ||
116 | |||
117 | /* The number of bytes reserved for loadable plugins */ | ||
118 | #define PLUGIN_BUFFER_SIZE 0x80000 | ||
119 | |||
120 | #define AB_REPEAT_ENABLE | ||
121 | |||
122 | /* Define this for LCD backlight available */ | ||
123 | #define HAVE_BACKLIGHT | ||
124 | #define HAVE_BACKLIGHT_BRIGHTNESS | ||
125 | |||
126 | /* Main LCD backlight brightness range and defaults */ | ||
127 | #define MIN_BRIGHTNESS_SETTING 1 | ||
128 | #define MAX_BRIGHTNESS_SETTING 18 | ||
129 | #define DEFAULT_BRIGHTNESS_SETTING 5 | ||
130 | |||
131 | /* Which backlight fading type? */ | ||
132 | #define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_SETTING | ||
133 | |||
134 | /* define this if you have a flash memory storage */ | ||
135 | //#define HAVE_FLASH_STORAGE | ||
136 | |||
137 | #define CONFIG_STORAGE (STORAGE_RAMDISK) | ||
138 | //#define CONFIG_NAND NAND_IMX233 | ||
139 | //#define NUM_DRIVES 0 | ||
140 | |||
141 | /* Extra threads: touchpad and rds */ | ||
142 | //#define TARGET_EXTRA_THREADS 2 | ||
143 | |||
144 | /* todo */ | ||
145 | #define BATTERY_CAPACITY_DEFAULT 550 /* default battery capacity */ | ||
146 | #define BATTERY_CAPACITY_MIN 550 /* min. capacity selectable */ | ||
147 | #define BATTERY_CAPACITY_MAX 550 /* max. capacity selectable */ | ||
148 | #define BATTERY_CAPACITY_INC 0 /* capacity increment */ | ||
149 | #define BATTERY_TYPES_COUNT 1 /* only one type */ | ||
150 | |||
151 | #define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE | ||
152 | |||
153 | /* Charging implemented in a target-specific algorithm */ | ||
154 | #define CONFIG_CHARGING CHARGING_TARGET | ||
155 | |||
156 | /* define this if the unit can be powered or charged via USB */ | ||
157 | #define HAVE_USB_POWER | ||
158 | |||
159 | /* Define this if you have an IMX233*/ | ||
160 | #define CONFIG_CPU IMX233 | ||
161 | |||
162 | /* Define this if you want to use the IMX233 i2c interface */ | ||
163 | #define CONFIG_I2C I2C_IMX233 | ||
164 | |||
165 | /* define current usage levels (based on battery bench) */ | ||
166 | #define CURRENT_NORMAL 35 | ||
167 | #define CURRENT_BACKLIGHT 30 | ||
168 | #define CURRENT_RECORD CURRENT_NORMAL | ||
169 | |||
170 | /* maximum charging current */ | ||
171 | #define CURRENT_MAX_CHG 200 | ||
172 | |||
173 | /* Define this to the CPU frequency */ | ||
174 | #define CPU_FREQ 454000000 | ||
175 | |||
176 | /* Type of LCD */ | ||
177 | #define CONFIG_LCD LCD_SAMSUNGYPZ5 | ||
178 | |||
179 | /* Offset ( in the firmware file's header ) to the file CRC and data. These are | ||
180 | only used when loading the old format rockbox.e200 file */ | ||
181 | #define FIRMWARE_OFFSET_FILE_CRC 0x0 | ||
182 | #define FIRMWARE_OFFSET_FILE_DATA 0x8 | ||
183 | |||
184 | /* USB On-the-go */ | ||
185 | #define CONFIG_USBOTG USBOTG_ARC | ||
186 | |||
187 | /* enable these for the experimental usb stack */ | ||
188 | #define HAVE_USBSTACK | ||
189 | #define USB_VENDOR_ID 0x04e8 | ||
190 | #define USB_PRODUCT_ID 0x5041 | ||
191 | #define HAVE_USB_HID_MOUSE | ||
192 | #define HAVE_BOOTLOADER_USB_MODE | ||
193 | |||
194 | /* Define this if you have adjustable CPU frequency */ | ||
195 | //#define HAVE_ADJUSTABLE_CPU_FREQ | ||
196 | |||
197 | /* Virtual LED (icon) */ | ||
198 | #define CONFIG_LED LED_VIRTUAL | ||
199 | |||
200 | #define BOOTFILE_EXT "samsung" | ||
201 | #define BOOTFILE "rockbox." BOOTFILE_EXT | ||
202 | #define BOOTDIR "/.rockbox" | ||
203 | |||
204 | #define INCLUDE_TIMEOUT_API | ||