summaryrefslogtreecommitdiff
path: root/firmware/export/config-iaudiom5.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config-iaudiom5.h')
-rw-r--r--firmware/export/config-iaudiom5.h27
1 files changed, 13 insertions, 14 deletions
diff --git a/firmware/export/config-iaudiom5.h b/firmware/export/config-iaudiom5.h
index d4e09dd0ad..4ab8e2c0dc 100644
--- a/firmware/export/config-iaudiom5.h
+++ b/firmware/export/config-iaudiom5.h
@@ -79,13 +79,24 @@
79/* The number of bytes reserved for loadable plugins */ 79/* The number of bytes reserved for loadable plugins */
80#define PLUGIN_BUFFER_SIZE 0x80000 80#define PLUGIN_BUFFER_SIZE 0x80000
81 81
82#define BATTERY_CAPACITY_DEFAULT 950 /* default battery capacity */
83
84#define HAVE_TLV320 82#define HAVE_TLV320
85 83
86/* TLV320 has no tone controls, so we use the software ones */ 84/* TLV320 has no tone controls, so we use the software ones */
87#define HAVE_SW_TONE_CONTROLS 85#define HAVE_SW_TONE_CONTROLS
88 86
87/* Type of mobile power */
88#define X5_BATT_CONFIG 2
89#define CONFIG_BATTERY BATT_IAUDIO_X5M5
90#define BATTERY_CAPACITY_DEFAULT 950 /* default battery capacity */
91#define BATTERY_CAPACITY_MIN 950 /* min. capacity selectable */
92#define BATTERY_CAPACITY_MAX 2250 /* max. capacity selectable */
93#define BATTERY_CAPACITY_INC 50 /* capacity increment */
94#define BATTERY_TYPES_COUNT 1 /* only one type */
95#define BATTERY_SCALE_FACTOR 5859 /* (420703125 + 35900) / 71800 */
96
97/* Hardware controlled charging? FIXME */
98#define CONFIG_CHARGING CHARGING_SIMPLE
99
89#ifndef SIMULATOR 100#ifndef SIMULATOR
90 101
91/* Define this if your LCD can set contrast */ 102/* Define this if your LCD can set contrast */
@@ -97,9 +108,6 @@
97/* Define this if you want to use coldfire's i2c interface */ 108/* Define this if you want to use coldfire's i2c interface */
98#define CONFIG_I2C I2C_COLDFIRE 109#define CONFIG_I2C I2C_COLDFIRE
99 110
100/* Hardware controlled charging? FIXME */
101#define CONFIG_CHARGING CHARGING_SIMPLE
102
103/* define this if the hardware can be powered off while charging */ 111/* define this if the hardware can be powered off while charging */
104#define HAVE_POWEROFF_WHILE_CHARGING 112#define HAVE_POWEROFF_WHILE_CHARGING
105 113
@@ -109,15 +117,6 @@
109/* Define this to the CPU frequency */ 117/* Define this to the CPU frequency */
110#define CPU_FREQ 11289600 118#define CPU_FREQ 11289600
111 119
112/* Type of mobile power */
113#define X5_BATT_CONFIG 2
114#define CONFIG_BATTERY BATT_IAUDIO_X5M5
115#define BATTERY_CAPACITY_MIN 950 /* min. capacity selectable */
116#define BATTERY_CAPACITY_MAX 2250 /* max. capacity selectable */
117#define BATTERY_CAPACITY_INC 50 /* capacity increment */
118#define BATTERY_TYPES_COUNT 1 /* only one type */
119#define BATTERY_SCALE_FACTOR 5859 /* (420703125 + 35900) / 71800 */
120
121/* Define this if you have ATA power-off control */ 120/* Define this if you have ATA power-off control */
122#define HAVE_ATA_POWER_OFF 121#define HAVE_ATA_POWER_OFF
123 122