diff options
Diffstat (limited to 'firmware/export/config-iaudiox5.h')
-rw-r--r-- | firmware/export/config-iaudiox5.h | 42 |
1 files changed, 20 insertions, 22 deletions
diff --git a/firmware/export/config-iaudiox5.h b/firmware/export/config-iaudiox5.h index fbcb69aa61..c02b2a78f4 100644 --- a/firmware/export/config-iaudiox5.h +++ b/firmware/export/config-iaudiox5.h | |||
@@ -53,6 +53,13 @@ | |||
53 | 53 | ||
54 | #define LCD_REMOTE_PIXELFORMAT VERTICAL_INTERLEAVED | 54 | #define LCD_REMOTE_PIXELFORMAT VERTICAL_INTERLEAVED |
55 | 55 | ||
56 | /* Define this if your LCD can be enabled/disabled */ | ||
57 | #define HAVE_LCD_ENABLE | ||
58 | |||
59 | /* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE | ||
60 | should be defined as well. */ | ||
61 | #define HAVE_LCD_SLEEP | ||
62 | |||
56 | #define CONFIG_KEYPAD IAUDIO_X5M5_PAD | 63 | #define CONFIG_KEYPAD IAUDIO_X5M5_PAD |
57 | 64 | ||
58 | #define AB_REPEAT_ENABLE 1 | 65 | #define AB_REPEAT_ENABLE 1 |
@@ -86,35 +93,35 @@ | |||
86 | #define CONFIG_TUNER TEA5767 | 93 | #define CONFIG_TUNER TEA5767 |
87 | #define CONFIG_TUNER_XTAL 32768 | 94 | #define CONFIG_TUNER_XTAL 32768 |
88 | 95 | ||
89 | |||
90 | #define BATTERY_CAPACITY_DEFAULT 950 /* default battery capacity */ | ||
91 | |||
92 | #define HAVE_TLV320 | 96 | #define HAVE_TLV320 |
93 | 97 | ||
94 | /* TLV320 has no tone controls, so we use the software ones */ | 98 | /* TLV320 has no tone controls, so we use the software ones */ |
95 | #define HAVE_SW_TONE_CONTROLS | 99 | #define HAVE_SW_TONE_CONTROLS |
96 | 100 | ||
101 | /* Type of mobile power */ | ||
102 | #define X5_BATT_CONFIG 2 | ||
103 | #define CONFIG_BATTERY BATT_IAUDIO_X5M5 | ||
104 | #define BATTERY_CAPACITY_DEFAULT 950 /* default battery capacity */ | ||
105 | #define BATTERY_CAPACITY_MIN 950 /* min. capacity selectable */ | ||
106 | #define BATTERY_CAPACITY_MAX 2250 /* max. capacity selectable */ | ||
107 | #define BATTERY_CAPACITY_INC 50 /* capacity increment */ | ||
108 | #define BATTERY_TYPES_COUNT 1 /* only one type */ | ||
109 | #define BATTERY_SCALE_FACTOR 5859 /* (420703125 + 35900) / 71800 */ | ||
110 | |||
111 | /* Hardware controlled charging? FIXME */ | ||
112 | #define CONFIG_CHARGING CHARGING_SIMPLE | ||
113 | |||
97 | #ifndef SIMULATOR | 114 | #ifndef SIMULATOR |
98 | 115 | ||
99 | /* Define this if your LCD can set contrast */ | 116 | /* Define this if your LCD can set contrast */ |
100 | #define HAVE_LCD_CONTRAST | 117 | #define HAVE_LCD_CONTRAST |
101 | 118 | ||
102 | /* Define this if your LCD can be enabled/disabled */ | ||
103 | #define HAVE_LCD_ENABLE | ||
104 | |||
105 | /* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE | ||
106 | should be defined as well. */ | ||
107 | #define HAVE_LCD_SLEEP | ||
108 | |||
109 | /* Define this if you have a Motorola SCF5250 */ | 119 | /* Define this if you have a Motorola SCF5250 */ |
110 | #define CONFIG_CPU MCF5250 | 120 | #define CONFIG_CPU MCF5250 |
111 | 121 | ||
112 | /* Define this if you want to use coldfire's i2c interface */ | 122 | /* Define this if you want to use coldfire's i2c interface */ |
113 | #define CONFIG_I2C I2C_COLDFIRE | 123 | #define CONFIG_I2C I2C_COLDFIRE |
114 | 124 | ||
115 | /* Hardware controlled charging? FIXME */ | ||
116 | #define CONFIG_CHARGING CHARGING_SIMPLE | ||
117 | |||
118 | /* define this if the hardware can be powered off while charging */ | 125 | /* define this if the hardware can be powered off while charging */ |
119 | #define HAVE_POWEROFF_WHILE_CHARGING | 126 | #define HAVE_POWEROFF_WHILE_CHARGING |
120 | 127 | ||
@@ -124,15 +131,6 @@ | |||
124 | /* Define this to the CPU frequency */ | 131 | /* Define this to the CPU frequency */ |
125 | #define CPU_FREQ 11289600 | 132 | #define CPU_FREQ 11289600 |
126 | 133 | ||
127 | /* Type of mobile power */ | ||
128 | #define X5_BATT_CONFIG 2 | ||
129 | #define CONFIG_BATTERY BATT_IAUDIO_X5M5 | ||
130 | #define BATTERY_CAPACITY_MIN 950 /* min. capacity selectable */ | ||
131 | #define BATTERY_CAPACITY_MAX 2250 /* max. capacity selectable */ | ||
132 | #define BATTERY_CAPACITY_INC 50 /* capacity increment */ | ||
133 | #define BATTERY_TYPES_COUNT 1 /* only one type */ | ||
134 | #define BATTERY_SCALE_FACTOR 5859 /* (420703125 + 35900) / 71800 */ | ||
135 | |||
136 | /* Define this if you have ATA power-off control */ | 134 | /* Define this if you have ATA power-off control */ |
137 | #define HAVE_ATA_POWER_OFF | 135 | #define HAVE_ATA_POWER_OFF |
138 | 136 | ||