summaryrefslogtreecommitdiff
path: root/firmware/export/config-ondavx747p.h
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2008-12-19 11:13:58 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2008-12-19 11:13:58 +0000
commit40ec54305250e9a4a5e54a293abb974121d4a110 (patch)
tree7b96a79ea493ea18432eb73efa3c1954e6699b5f /firmware/export/config-ondavx747p.h
parent9bf93ba0075adf2b9e3291497e06918634d39880 (diff)
downloadrockbox-40ec54305250e9a4a5e54a293abb974121d4a110.tar.gz
rockbox-40ec54305250e9a4a5e54a293abb974121d4a110.zip
* Add support for Onda VX747+ (FS#9674 by Olivier Barbut)
* Fix Onda VX767 support * Small cleanup git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19481 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-ondavx747p.h')
-rwxr-xr-xfirmware/export/config-ondavx747p.h164
1 files changed, 164 insertions, 0 deletions
diff --git a/firmware/export/config-ondavx747p.h b/firmware/export/config-ondavx747p.h
new file mode 100755
index 0000000000..5c4d3e7aea
--- /dev/null
+++ b/firmware/export/config-ondavx747p.h
@@ -0,0 +1,164 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2008 by Olivier Barbut
11 *
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.
16 *
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
19 *
20 ****************************************************************************/
21
22/*
23 * This config file is for the Onda VX747+
24 */
25#define TARGET_TREE /* this target is using the target tree system */
26
27#define CONFIG_SDRAM_START 0x80004000
28
29#define ONDA_VX747P 1
30
31#define MODEL_NAME "Onda VX747+"
32
33/* For Rolo and boot loader */
34#define MODEL_NUMBER 44
35
36//#define HAVE_ATA_SD
37//#define HAVE_HOTSWAP
38
39//#define CONFIG_STORAGE (STORAGE_NAND | STORAGE_SD)
40#define CONFIG_STORAGE STORAGE_RAMDISK /* Multivolume currently handled at firmware/target/ level */
41
42#define CONFIG_NAND NAND_CC
43
44#define HAVE_MULTIVOLUME
45
46/* define this if you have a bitmap LCD display */
47#define HAVE_LCD_BITMAP
48
49/* define this if you have a colour LCD */
50#define HAVE_LCD_COLOR
51
52/* define this if you have access to the quickscreen */
53#define HAVE_QUICKSCREEN
54
55/* define this if you have access to the pitchscreen */
56#define HAVE_PITCHSCREEN
57
58/* define this if you would like tagcache to build on this target */
59#define HAVE_TAGCACHE
60
61/* define this if the target has volume keys which can be used in the lists */
62#define HAVE_VOLUME_IN_LIST
63
64/* LCD dimensions */
65#define CONFIG_LCD LCD_ONDAVX747
66
67#define LCD_WIDTH 240
68#define LCD_HEIGHT 400
69
70#define LCD_DEPTH 16 /* 16bit colours */
71#define LCD_PIXELFORMAT RGB565 /* rgb565 */
72
73/* Define this if your LCD can be enabled/disabled */
74#define HAVE_LCD_ENABLE
75
76#define CONFIG_KEYPAD ONDAVX747_PAD
77#define HAVE_TOUCHSCREEN
78#define HAVE_BUTTON_DATA
79
80/* Define this if you do software codec */
81#define CONFIG_CODEC SWCODEC
82
83/* define this if you have a real-time clock */
84#define CONFIG_RTC RTC_JZ47XX
85
86/* Define this for LCD backlight available */
87#define HAVE_BACKLIGHT
88
89#define HAVE_BACKLIGHT_BRIGHTNESS
90
91/* Main LCD backlight brightness range and defaults */
92#define MIN_BRIGHTNESS_SETTING 100
93#define MAX_BRIGHTNESS_SETTING 300
94#define DEFAULT_BRIGHTNESS_SETTING 300 /* "full brightness" */
95#define DEFAULT_DIMNESS_SETTING 100 /* "most dim" */
96
97/* Define this if you have a software controlled poweroff */
98//#define HAVE_SW_POWEROFF
99
100/* The number of bytes reserved for loadable codecs */
101#define CODEC_SIZE 0x100000
102
103/* The number of bytes reserved for loadable plugins */
104#define PLUGIN_BUFFER_SIZE 0x100000
105
106/* Define this if you have the */
107//#define HAVE_INGENIC_CODEC
108
109#define CONFIG_I2C I2C_JZ47XX
110
111/* TLV320 has no tone controls, so we use the software ones */
112//#define HAVE_SW_TONE_CONTROLS
113
114/*#define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | \
115 SAMPR_CAP_11)*/
116
117#define BATTERY_CAPACITY_DEFAULT 1250 /* default battery capacity */
118#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
119#define BATTERY_CAPACITY_MAX 2500 /* max. capacity selectable */
120#define BATTERY_CAPACITY_INC 100 /* capacity increment */
121#define BATTERY_TYPES_COUNT 1 /* only one type */
122
123/* Hardware controlled charging with monitoring */
124//#define CONFIG_CHARGING CHARGING_MONITOR
125
126#ifndef SIMULATOR
127
128/* Define this if you have a Ingenic JZ4732 */
129#define CONFIG_CPU JZ4732
130
131/* define this if the hardware can be powered off while charging */
132#define HAVE_POWEROFF_WHILE_CHARGING
133
134/* Define this to the CPU frequency */
135#define CPU_FREQ 3686400
136
137/* define this if you have a flash memory storage */
138#define HAVE_FLASH_STORAGE
139
140/* Virtual LED (icon) */
141#define CONFIG_LED LED_VIRTUAL
142
143/* define this if the backlight can be set to a brightness */
144#define __BACKLIGHT_INIT
145
146/* Offset ( in the firmware file's header ) to the file CRC */
147#define FIRMWARE_OFFSET_FILE_CRC 0
148
149/* Offset ( in the firmware file's header ) to the real data */
150#define FIRMWARE_OFFSET_FILE_DATA 8
151
152/* Define this if you have adjustable CPU frequency */
153/* #define HAVE_ADJUSTABLE_CPU_FREQ */
154
155#define BOOTFILE_EXT "vx747p"
156#define BOOTFILE "rockbox." BOOTFILE_EXT
157#define BOOTDIR "/.rockbox"
158
159#define CONFIG_USBOTG USBOTG_JZ4740
160#define HAVE_USBSTACK
161#define USB_VENDOR_ID 0x041e
162#define USB_PRODUCT_ID 0x4133
163
164#endif